Sentiment Analysis
Sentiment classification pipeline combining lexicon scoring, TF-IDF with Naive Bayes, and visual reporting.
- CCM score
- 35 of 100
- skills.sh installs
- 484
- GitHub stars
- 396
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers lexicon-based scoring with VADER and TextBlob, plus a TF-IDF and Naive Bayes classifier trained on labeled reviews
- Includes sentiment distribution plots, VADER score histograms, a confusion matrix, and top-word frequency charts for positive and negative text
- Labels text as Positive, Negative, Neutral, or Mixed, with thresholds of ±0.05 for VADER compound scores and ±0.1 for TextBlob polarity
- Designed for opinion mining, brand monitoring, and customer feedback analysis on short review-style text
Install
$ npx -y skills add aj-geddes/useful-ai-prompts --skill 'Sentiment Analysis' -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
Sentiment Analysis
Overview
Sentiment analysis determines emotional tone and opinions in text, enabling understanding of customer satisfaction, brand perception, and feedback analysis.
Approaches
- Lexicon-based: Using sentiment dictionaries
- Machine Learning: Training classifiers on labeled data
- Deep Learning: Neural networks for complex patterns
- Aspect-based: Sentiment about specific features
- Multilingual: Non-English text analysis
Sentiment Types
- Positive: Favorable, satisfied
- Negative: Unfavorable, dissatisfied
- Neutral: Factual, no clear sentiment
- Mixed: Combination of sentiments
Implementation with Python
import pandas as pd
import numpy as np
import matplotlib.pyplot as plt
import seaborn as sns
from sklearn.feature_extraction.text import TfidfVectorizer
from sklearn.naive_bayes import MultinomialNB
from sklearn.pipeline import Pipeline
from sklearn.model_selection import train_test_split
from sklearn.metrics import classification_report, confusion_matrix, accuracy_score
import re
from collections import Counter
Details
- Repository
- github.com/aj-geddes/useful-ai-prompts
- Categories
- Data Science & Analytics, AI Agents & LLM Apps, Python
- First seen
- Jun 3, 2026
Questions
What does the Sentiment Analysis skill do?
It classifies text sentiment using lexicon-based analysis, machine learning and deep learning, for opinion mining, brand monitoring and customer feedback analysis. The SKILL.md walks through VADER and TextBlob scoring plus a TF-IDF and Naive Bayes classifier in Python, with plots of sentiment distribution and trends over time.
How do I install the Sentiment Analysis skill?
Run npx -y skills add aj-geddes/useful-ai-prompts --skill 'Sentiment Analysis' -y in your project. Once installed, the agent can build Python sentiment pipelines for review or feedback text.
Which Claude Marketplaces category is the Sentiment Analysis skill in, and what else is there?
It sits in Data Science & Analytics, alongside skills such as azure-kusto and analyze-project. What sets this one apart is its focus on NLP sentiment classification of customer text rather than general data querying.
What does the Sentiment Analysis skill need to run?
The Python examples use pandas, numpy, scikit-learn, matplotlib, seaborn, NLTK with its VADER lexicon, and TextBlob. Libraries that are not installed are skipped with a message in the sample code.
More from aj-geddes/useful-ai-prompts
All 258- Dependency Management483
- Batch Processing Jobs482
- Circuit Breaker Pattern482
- Aws Cloudfront Cdn481
- Mutation Testing481
- Csrf Protection480
- Developer Onboarding480
- Api Changelog Versioning479
- Concurrency Patterns479
- Deployment Automation479
- Django Application479
- Regression Modeling479
- Gcp Cloud Functions477
- Cloud Security Configuration476
- Aws Ec2 Setup475
- Api Versioning Strategy474
- Email Service Integration473
- Infrastructure Monitoring473
- Angular Module Design472
- Pull Request Automation472
- Database Monitoring471
- Session Management470
- Idempotency Handling469
- Network Analysis468
Similar to Sentiment Analysis
More Data Science & Analyticssentiment-analyzerguia-matthieu/clawfu-skills228 installsAnalyzes sentiment in bulk text with ML models, categorizing reviews, NPS responses, and tickets at scale.
Natural Language Processingaj-geddes/useful-ai-prompts461 installsBroad NLP toolkit covering classification, entity extraction, and transformer pipelines with runnable Python examples.
product-review-analysisnexscope-ai/ecommerce-skills1.6K installsTurns customer reviews into prioritized pain points, praise themes, feature requests, and competitive sentiment comparisons.
amazon-review-analyzernexscope-ai/amazon-skills1.5K installsTurns Amazon customer reviews into sentiment, complaint, and feature-request findings for product and marketing decisions.
readabilityhumanizerai/agent-skills613 installsScores text readability with Flesch, Gunning Fog, and SMOG indexes plus targeted rewrite recommendations.
customer-review-aggregatoronewave-ai/claude-skills378 installsMulti-platform review analysis that scores sentiment, ranks pain points, and compares competitors with evidence.