expanso-sentiment-score
by aronchick
CLI UtilitiesBrief
"Score text sentiment from -1 (negative) to +1 (positive)".
Description
What This Skill Does
Scores the sentiment of any text on a scale from -1 (negative) to +1 (positive). Runs as a standalone CLI pipeline or as an MCP server via the Expanso Edge runtime. Can also be deployed to Expanso Cloud for remote job execution.
Runs locally via Expanso Edge, so text is never sent to a third-party NLP API.
When to Use It
- Scoring customer support tickets by emotional tone
- Flagging negative product reviews automatically
- Analyzing social media comments for brand sentiment
- Routing escalations based on message negativity
- Monitoring chat logs for shifts in user mood
Example Workflow
User asks: Score the sentiment of this message: 'The product broke after two days and support never responded.'
- 1
Receives the text input via CLI pipe or MCP server request
- 2
Passes the text to the Expanso Edge pipeline defined in pipeline-cli.yaml or pipeline-mcp.yaml
- 3
Pipeline processes the input through the sentiment scoring model
- 4
Returns a numeric score between -1 and +1
Sentiment score: -0.85 (strongly negative)
Requirements
- Expanso Edge binary installed and in PATH (install via `clawhub install expanso-edge`)
Installation
clawhub install aronchick/expanso-sentiment-scoreRun the CLI command, or paste the prompt into Claude Code, Cursor, Codex or whichever coding agent you use.