Back to Skills

sentiment-analyzer

guia-matthieu
Updated 2 days ago
3 views
111
20
111
View on GitHub
Otherai

About

The sentiment-analyzer skill uses ML models to classify text sentiment, ideal for processing customer reviews, NPS feedback, and support tickets. It helps developers analyze brand mentions and campaign responses at scale by identifying patterns in unstructured feedback. This provides actionable insights from customer data through structured sentiment analysis.

Quick Install

Claude Code

Recommended
Primary
npx skills add guia-matthieu/clawfu-skills -a claude-code
Plugin CommandAlternative
/plugin add https://github.com/guia-matthieu/clawfu-skills
Git CloneAlternative
git clone https://github.com/guia-matthieu/clawfu-skills.git ~/.claude/skills/sentiment-analyzer

Copy and paste this command in Claude Code to install this skill

Documentation

Sentiment Analyzer

Analyze sentiment in customer feedback using transformer models - understand what your customers really feel at scale.

When to Use This Skill

  • Review analysis - Process hundreds of product reviews
  • NPS feedback - Categorize open-ended survey responses
  • Social listening - Monitor brand sentiment on social media
  • Campaign feedback - Evaluate response to marketing campaigns
  • Support insights - Categorize support ticket sentiment

What Claude Does vs What You Decide

Claude DoesYou Decide
Structures analysis frameworksMetric definitions
Identifies patterns in dataBusiness interpretation
Creates visualization templatesDashboard design
Suggests optimization areasAction priorities
Calculates statistical measuresDecision thresholds

Dependencies

pip install transformers torch pandas click
# Or for lighter CPU-only version:
pip install textblob vaderSentiment pandas click

Commands

Analyze Text

python scripts/main.py analyze "This product exceeded my expectations!"
python scripts/main.py analyze "The service was terrible and slow."

Batch Analysis

python scripts/main.py batch reviews.csv --column text
python scripts/main.py batch feedback.csv --column comment --output results.csv

Generate Report

python scripts/main.py report reviews.csv --column text --output sentiment-report.html

Examples

Example 1: Analyze Product Reviews

# Process CSV of reviews
python scripts/main.py batch amazon-reviews.csv --column review_text

# Output: amazon-reviews_sentiment.csv
# review_text                    | sentiment | score  | label
# "Absolutely love this!"        | positive  | 0.95   | Very Positive
# "It's okay, nothing special"   | neutral   | 0.52   | Neutral
# "Worst purchase ever"          | negative  | 0.12   | Very Negative

Example 2: NPS Feedback Categorization

# Analyze NPS survey responses
python scripts/main.py report nps-responses.csv --column feedback

# Output: sentiment-report.html
# Summary:
# - Positive: 62% (mainly: product quality, support)
# - Neutral: 23% (mainly: pricing concerns)
# - Negative: 15% (mainly: shipping delays)

Sentiment Categories

Score RangeLabelInterpretation
0.8 - 1.0Very PositiveEnthusiastic, recommend
0.6 - 0.8PositiveSatisfied, happy
0.4 - 0.6NeutralMixed or indifferent
0.2 - 0.4NegativeDisappointed, frustrated
0.0 - 0.2Very NegativeAngry, will churn

Skill Boundaries

What This Skill Does Well

  • Structuring data analysis
  • Identifying patterns and trends
  • Creating visualization frameworks
  • Calculating statistical measures

What This Skill Cannot Do

  • Access your actual data
  • Replace statistical expertise
  • Make business decisions
  • Guarantee prediction accuracy

Related Skills

Skill Metadata

  • Mode: centaur
category: analytics
subcategory: nlp
dependencies: [transformers, torch, pandas]
difficulty: intermediate
time_saved: 6+ hours/week

GitHub Repository

guia-matthieu/clawfu-skills
Path: skills/analytics/sentiment-analyzer
0
ai-skillsanthropicclaude-codeclaude-skillsmarketingmcp-server

Related Skills

llamaguard

Other

LlamaGuard is Meta's 7-8B parameter model for moderating LLM inputs and outputs across six safety categories like violence and hate speech. It offers 94-95% accuracy and can be deployed using vLLM, Hugging Face, or Amazon SageMaker. Use this skill to easily integrate content filtering and safety guardrails into your AI applications.

View skill

cost-optimization

Other

This Claude Skill helps developers optimize cloud costs through resource rightsizing, tagging strategies, and spending analysis. It provides a framework for reducing cloud expenses and implementing cost governance across AWS, Azure, and GCP. Use it when you need to analyze infrastructure costs, right-size resources, or meet budget constraints.

View skill

quantizing-models-bitsandbytes

Other

This skill quantizes LLMs to 8-bit or 4-bit precision using bitsandbytes, achieving 50-75% memory reduction with minimal accuracy loss. It's ideal for running larger models on limited GPU memory or accelerating inference, supporting formats like INT8, NF4, and FP4. The skill integrates with HuggingFace Transformers and enables QLoRA training and 8-bit optimizers.

View skill

dispatching-parallel-agents

Other

This Claude Skill dispatches multiple agents to investigate and fix 3+ independent problems concurrently. It is designed for scenarios involving unrelated failures that can be resolved without shared state or dependencies. The core capability is parallel problem-solving, assigning one agent per independent problem domain to maximize efficiency.

View skill