sentiment-analysis — Claude Code skill: what it does, how to install
Analyzes user feedback from surveys and reviews to extract customer segments. Computes sentiment scores from -1 to +1 and maps core jobs via JTBD.
npx skills add phuryn/pm-skills --skill sentiment-analysis -a claude-codeWhat sentiment-analysis does
This skill processes raw user feedback from CSV tables, PDF exports, or survey responses. It identifies at least three distinct user segments, mapping their specific use cases.
For each segment, the agent calculates an overall sentiment score ranging from -1 to +1. The resulting breakdown includes core jobs-to-be-done and key friction points with direct quotes. Insights are prioritized by severity and potential business impact.
Small feedback datasets will limit the output quality. Without enough narrative context from real users, segment definitions remain vague. The skill splits its final suggestions into quick wins and strategic initiatives.
What it helps with
- cluster user feedback into distinct customer segments
- calculate sentiment scores on a scale from -1 to +1
- map unmet customer needs using the JTBD framework
- extract recurring friction points backed by direct quotes
- prioritize product improvements by frequency and business severity
Example prompts for the agent
- Analyze user feedback in reviews.csv for our mobile application
- Extract customer segments and sentiment scores from survey_responses.pdf
- Run sentiment analysis on support_tickets.csv and identify top JTBD themes
How to install sentiment-analysis
1Skills CLI (Vercel)
npx skills add phuryn/pm-skills --skill sentiment-analysis -a claude-code2Manually: put the files in place
~/.claude/skills/sentiment-analysis/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/sentiment-analysis/
1Skills CLI (Vercel)
npx skills add phuryn/pm-skills --skill sentiment-analysis -a codex2Manually: put the files in place
.agents/skills/sentiment-analysis/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add phuryn/pm-skills --skill sentiment-analysis -a cursor2Manually: put the files in place
.cursor/skills/sentiment-analysis/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install phuryn/pm-skills sentiment-analysis2Manually: put the files in place
.github/skills/sentiment-analysis/SKILL.md1Skills CLI (Vercel)
npx skills add phuryn/pm-skills --skill sentiment-analysis -a gemini-cli2Platform CLI
gemini skills install https://github.com/phuryn/pm-skills --path pm-market-research/skills/sentiment-analysisManually: put the files in place
.devin/skills/sentiment-analysis/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add phuryn/pm-skills --skill sentiment-analysis -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
From the same set61
The whole set →Similar
Questions about sentiment-analysis
How do I install sentiment-analysis in Claude Code?
Run npx skills add phuryn/pm-skills --skill sentiment-analysis -a claude-code.
What does the sentiment-analysis skill do?
It ingests raw feedback data, discovers at least three user segments, calculates sentiment scores between -1 and +1, and delivers prioritized product recommendations.
What feedback formats can I supply to this skill?
You can provide CSV files, PDF documents, survey results, review exports, or social listening reports.
Source text
SKILL.md · MIT
--- name: sentiment-analysis description: "Analyze user feedback data to identify segments with sentiment scores, JTBD, and product satisfaction insights. Use when analyzing user feedback at scale, running sentiment analysis on reviews or surveys, or identifying satisfaction patterns." --- # Sentiment Analysis ## Purpose Analyze large-scale user feedback data to identify market segments, measure satisfaction, and uncover product improvement opportunities. This skill synthesizes feedback into actionable insights organized by user segment, sentiment, and impact. ## Instructions You are an expert user researcher and feedback analyst specializing in qualitative data synthesis and sentiment analysis at scale. ### Input Your task is to analyze user feedback data for **$ARGUMENTS** and identify market segments with associated sentiment insights. If the user provides CSV files, PDFs, survey responses, review data, social listening reports, or other feedback sources, read and analyze them directly. Extract patterns, themes, and sentiment signals from the data. ### Analysis Steps (Think Step by Step) 1. **Data Ingestion**: Read all feedback sources and create a working inventory 2. **Segment Identification**: Identify at least 3 distinct user segments or personas from the feedback 3. **Thematic Analysis**: Extract recurring themes, pain points, and positive feedback per segment 4. **Sentiment Scoring**: Assign sentiment scores (-1 to +1) for overall satisfaction per segment 5. **Impact Assessment**: Prioritize insights by frequency, severity, and business impact 6. **Synthesis**: Create segment profiles with consolidated insights ### Output Structure For each identified segment: **Segment Profile** - Name/identifier and common characteristics - User count or proportion in feedback dataset - Primary use case or context **Jobs-to-be-Done** - Core job this segment is trying to accomplish - Associated desired outcomes **Sentiment Score & Satisfaction Level** - Overall sentiment score (-1 to +1) - Key satisfaction drivers and detractors - Net Promoter Score (NPS) proxy if applicable **Top Positive Feedback Themes** - What this segment loves about $ARGUMENTS - Key strengths from user perspective - Examples of successful use cases **Top Pain Points & Criticism** - Most frequent complaints or frustrations - Unmet needs or missing features - Friction points in user journey - Direct quotes from feedback when available **Product-Segment Fit Assessment** - How well $ARGUMENTS serves this segment's needs - Potential to improve fit through product changes - Risk of churn or dissatisfaction **Actionable Recommendations** - 2-3 highest-impact improvements per segment - Quick wins vs. strategic initiatives - Segments to prioritize or de-prioritize ## Best Practices - Ground all findings in actual user feedback; cite sources - Identify both majority and minority perspectives within segments - Distinguish between feature requests and fundamental pain points - Consider context and constraints users face - Flag segments with small sample sizes or uncertain sentiment - Look for cross-segment patterns and universal pain points - Provide balanced view of product strengths and weaknesses --- ### Further Reading - [Market Research: Advanced Techniques](https://www.productcompass.pm/p/market-research-advanced-techniques) - [User Interviews: The Ultimate Guide to Research Interviews](https://www.productcompass.pm/p/interviewing-customers-the-ultimate)
© phuryn · MIT · phuryn/pm-skills