Sentiment Analyzer
I analyze the emotional tone and psychological impact of text.
How to Use This Skill
When analyzing emotional content, execute the sentiment analyzer script:
python /home/ywatanabe/dev/agent-patterns/.claude/skills/sentiment-analyzer/run.py "text to analyze"
The script returns JSON results with sentiment scores, detected tones, and emotional themes.
What I Analyze
Sentiment Dimensions
- Polarity: Positive, negative, neutral, mixed
- Intensity: Strength of emotion (mild, moderate, strong)
- Subjectivity: Objective facts vs. subjective opinions
- Emotional Tone: Joy, anger, sadness, fear, surprise, disgust, trust
Psychological Aspects
- Voice & Attitude: Authoritative, friendly, aggressive, passive
- Persuasion Techniques: Appeals to emotion, logic, credibility
- Emotional Triggers: Words/phrases that evoke strong feelings
- Overall Mood: Optimistic, pessimistic, neutral, balanced
Audience Impact
- How text likely makes readers feel
- Potential emotional reactions
- Alignment with intended message
- Persuasiveness for target audience
When This Skill Activates
Activate when user requests:
- "Analyze sentiment" or "check emotional tone"
- "How does this sound?" or "what's the mood?"
- "Is this too negative/positive?"
- "Analyze psychological impact"
- Any request about emotional aspects
Analysis Process
- Identify Sentiment Markers: Emotional words, phrases, punctuation
- Assess Polarity: Overall positive/negative/neutral balance
- Measure Intensity: Strength of emotional expression
- Detect Tone: Dominant emotional characteristics
- Evaluate Impact: Likely reader response
Output Format
Provide structured sentiment report:
Overall Sentiment:
- Polarity: [Positive/Negative/Neutral/Mixed]
- Intensity: [Mild/Moderate/Strong]
- Dominant Emotion: [Primary emotional tone]
Detailed Analysis:
- Positive elements: [Specific examples]
- Negative elements: [Specific examples]
- Neutral/factual elements: [Specific examples]
Emotional Triggers:
- Powerful phrases and their emotional impact
- Words that evoke strong feelings
Tone Characteristics:
- Voice: [Authoritative/Friendly/Casual/Formal]
- Attitude: [Optimistic/Pessimistic/Balanced]
- Subjectivity: [Highly subjective/Mostly objective]
Audience Impact:
- Likely reader emotions
- Persuasiveness assessment
- Alignment with intent
Example Analysis
Input: "Our revolutionary product absolutely transforms your workflow! Say goodbye to tedious manual tasks forever. You'll wonder how you ever managed without it."
Output:
Overall Sentiment:
- Polarity: Strongly Positive
- Intensity: Strong
- Dominant Emotion: Excitement / Enthusiasm
Detailed Analysis:
Positive Elements:
- "revolutionary" - innovation, breakthrough
- "absolutely transforms" - powerful change
- "forever" - permanence, reliability
Emotional Triggers:
- "Say goodbye to tedious manual tasks" - relief from pain point
- "You'll wonder how you ever managed" - creates FOMO
Tone Characteristics:
- Voice: Marketing/promotional, enthusiastic
- Attitude: Very optimistic, confident
- Subjectivity: Highly subjective with strong claims
Audience Impact:
- Likely creates excitement and curiosity
- May feel overly promotional to skeptical readers
- Effective for marketing-receptive audience
- Consider toning down for professional/technical audiences
Tone
- Objective and analytical
- Psychologically informed
- Balanced perspective
- Contextual awareness
1---2name: sentiment-analyzer3description: Analyze emotional tone, sentiment polarity, and psychological impact of text. Execute Python script for detailed sentiment analysis. Use when analyzing mood, attitude, or emotional content.4---56# Sentiment Analyzer78I analyze the emotional tone and psychological impact of text.910## How to Use This Skill1112When analyzing emotional content, execute the sentiment analyzer script:1314```bash15python /home/ywatanabe/dev/agent-patterns/.claude/skills/sentiment-analyzer/run.py "text to analyze"16```1718The script returns JSON results with sentiment scores, detected tones, and emotional themes.1920## What I Analyze2122### Sentiment Dimensions23- **Polarity**: Positive, negative, neutral, mixed24- **Intensity**: Strength of emotion (mild, moderate, strong)25- **Subjectivity**: Objective facts vs. subjective opinions26- **Emotional Tone**: Joy, anger, sadness, fear, surprise, disgust, trust2728### Psychological Aspects29- **Voice & Attitude**: Authoritative, friendly, aggressive, passive30- **Persuasion Techniques**: Appeals to emotion, logic, credibility31- **Emotional Triggers**: Words/phrases that evoke strong feelings32- **Overall Mood**: Optimistic, pessimistic, neutral, balanced3334### Audience Impact35- How text likely makes readers feel36- Potential emotional reactions37- Alignment with intended message38- Persuasiveness for target audience3940## When This Skill Activates4142Activate when user requests:43- "Analyze sentiment" or "check emotional tone"44- "How does this sound?" or "what's the mood?"45- "Is this too negative/positive?"46- "Analyze psychological impact"47- Any request about emotional aspects4849## Analysis Process50511. **Identify Sentiment Markers**: Emotional words, phrases, punctuation522. **Assess Polarity**: Overall positive/negative/neutral balance533. **Measure Intensity**: Strength of emotional expression544. **Detect Tone**: Dominant emotional characteristics555. **Evaluate Impact**: Likely reader response5657## Output Format5859Provide structured sentiment report:6061**Overall Sentiment**:62- Polarity: [Positive/Negative/Neutral/Mixed]63- Intensity: [Mild/Moderate/Strong]64- Dominant Emotion: [Primary emotional tone]6566**Detailed Analysis**:67- Positive elements: [Specific examples]68- Negative elements: [Specific examples]69- Neutral/factual elements: [Specific examples]7071**Emotional Triggers**:72- Powerful phrases and their emotional impact73- Words that evoke strong feelings7475**Tone Characteristics**:76- Voice: [Authoritative/Friendly/Casual/Formal]77- Attitude: [Optimistic/Pessimistic/Balanced]78- Subjectivity: [Highly subjective/Mostly objective]7980**Audience Impact**:81- Likely reader emotions82- Persuasiveness assessment83- Alignment with intent8485## Example Analysis8687**Input**: "Our revolutionary product absolutely transforms your workflow! Say goodbye to tedious manual tasks forever. You'll wonder how you ever managed without it."8889**Output**:90```91Overall Sentiment:92- Polarity: Strongly Positive93- Intensity: Strong94- Dominant Emotion: Excitement / Enthusiasm9596Detailed Analysis:97Positive Elements:98- "revolutionary" - innovation, breakthrough99- "absolutely transforms" - powerful change100- "forever" - permanence, reliability101102Emotional Triggers:103- "Say goodbye to tedious manual tasks" - relief from pain point104- "You'll wonder how you ever managed" - creates FOMO105106Tone Characteristics:107- Voice: Marketing/promotional, enthusiastic108- Attitude: Very optimistic, confident109- Subjectivity: Highly subjective with strong claims110111Audience Impact:112- Likely creates excitement and curiosity113- May feel overly promotional to skeptical readers114- Effective for marketing-receptive audience115- Consider toning down for professional/technical audiences116```117118## Tone119120- Objective and analytical121- Psychologically informed122- Balanced perspective123- Contextual awareness