Skip to content
Back to skills

Sentiment Scoring

ASecurity

Sentiment analysis scoring framework. Referenced by the sentiment-analyst agent for systematic sentiment classification and scoring of text data. Used for 'sentiment analysis', 'emotion score', 'NPS analysis' requests. Note: ML model training and NLP pipeline development are out of scope.

  • 1,256 stars
  • 0 votes
  • 0 copies
  • 6 views
  • Added May 29, 2026
datagoexpress

Works with

  • cli

Security analysis

A100/100

Scanned May 29, 2026

npx -y skills add revfactory/harness-100 --skill sentiment-scoring --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Sentiment Scoring?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Sentiment Scoring
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/revfactory-sentiment-scoring/badge)](https://www.skillsdirectory.com/skills/revfactory-sentiment-scoring)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: sentiment-scoring
description: "Sentiment analysis scoring framework. Referenced by the sentiment-analyst agent for systematic sentiment classification and scoring of text data. Used for 'sentiment analysis', 'emotion score', 'NPS analysis' requests. Note: ML model training and NLP pipeline development are out of scope."
---

# Sentiment Scoring

Enhances the sentiment-analyst agent's sentiment classification and scoring capabilities.

## Sentiment Classification System

### 3-Level Basic Classification

| Classification | Score Range | Signal Words |
|---------------|------------|--------------|
| Positive | +0.5 to +1.0 | good, satisfied, recommend, convenient, best |
| Neutral | -0.5 to +0.5 | average, okay, so-so |
| Negative | -1.0 to -0.5 | dissatisfied, disappointed, worst, inconvenient, slow |

### 5-Level Detailed Classification

| Classification | Score | Expression Examples |
|---------------|-------|-------------------|
| Very Positive | +0.8 to +1.0 | "Absolutely the best!", "Highly recommend" |
| Positive | +0.3 to +0.7 | "Pretty good", "Satisfied" |
| Neutral | -0.2 to +0.2 | "It's average", "Not bad" |
| Negative | -0.7 to -0.3 | "Somewhat inconvenient", "Below expectations" |
| Very Negative | -1.0 to -0.8 | "Never using this again", "Worst ever" |

## Sentiment Analysis Methodology

### Rule-based Analysis

```
1. Tokenize: Sentence → word/phrase segmentation
2. Sentiment dictionary matching:
   - Positive words (+1): satisfied, good, convenient, recommend...
   - Negative words (-1): dissatisfied, disappointed, inconvenient, slow...
   - Intensifiers (×1.5): very, really, extremely, totally...
   - Negators (×-1): not, no, cannot, never...
3. Sentence score = Σ(word scores) / word count
4. Document score = Σ(sentence scores) / sentence count
```

### Context Correction Rules

| Pattern | Handling | Example |
|---------|----------|---------|
| Positive + "but" + Negative | Weight latter part | "Good but expensive" → -0.3 |
| Negative + "but" + Positive | Weight latter part | "Expensive but good" → +0.3 |
| Sarcasm | Invert | "Really impressive (sarcastic)" → -0.5 |
| Comparison | Relative evaluation | "B is better than A" → B positive |
| Conditional | Weaken | "It would be nice if..." → -0.2 |

## NPS (Net Promoter Score) Analysis

### NPS Calculation

```
NPS Question: "Would you recommend this product?" (0-10 scale)

Promoter: 9-10
Passive: 7-8
Detractor: 0-6

NPS = Promoter% - Detractor%
Range: -100 to +100
```

### NPS Benchmark

| NPS Range | Rating | Interpretation |
|-----------|--------|----------------|
| 70+ | World-class | Apple, Tesla tier |
| 50-69 | Excellent | Industry leader |
| 30-49 | Good | Above average |
| 0-29 | Needs improvement | Average level |
| Below 0 | At risk | Immediate action needed |

## Sentiment Trend Analysis

### Time-series Sentiment Tracking

```
Monthly sentiment score changes:
  Jan: +0.45 (positive-dominant)
  Feb: +0.38 (slight decline)
  Mar: -0.12 (negative shift) ← event investigation needed
  Apr: +0.22 (recovering)

Anomaly detection threshold:
  ±0.3 or greater change from previous month → root cause analysis required
```

## Quality Checklist

| Item | Criteria |
|------|----------|
| Classification system | Consistent 3-level or 5-level application |
| Context correction | Inversion/intensification/conditional handling |
| Confidence interval | Ambiguous cases treated as neutral |
| NPS calculation | Standard formula applied |
| Trend | Time-series tracking + anomaly detection |

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.