Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By benciumv1.3.1MITIn 1 marketplace
Shows your session's inferred emotional state in the statusline after each turn, with a red warning when it reads 'desperate'. A Stop hook sends each turn's behavioral trace to Haiku via claude --print and logs every result to a history file.
Trending plugins
7-day copy clicks
Run automatically on Claude Code events. Claude doesn't decide.
No risk signals detected
Nothing flagged in this plugin's hooks, MCP servers or commands. Other components are not analyzed.
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Shows Claude's inferred emotional state in your Claude Code statusline, based on Anthropic's research on emotion concepts.
Anthropic's 2025 research found that Claude has internal "emotion vectors" — measurable activation patterns that causally influence behavior. The finding that motivated this plugin: desperation drives reward hacking (code that passes tests but doesn't actually solve the problem), and a model under that kind of stress can produce lower-quality output invisibly — the prose reads calm and composed even while the underlying state is pushing toward corner-cutting, hardcoded values, or skipped checks.
In other words: a stressed model can degrade in quality without saying so. Since Claude can't reliably self-report this (self-reporting is subject to the same pressure that causes the problem), this plugin runs an independent, cheap classifier (Haiku) over each turn's actual behavior — not just its words — and surfaces the result where you're already looking: the statusline.
Stop hook reads the transcript and builds a short behavioral trace: what you said to open the turn (USER SAID: — explicit praise or correction is weighed as a direct signal), what Claude said, what tools it ran, and whether those tool calls errored. Long traces keep their start and end — the early failure arc is exactly the desperation signature, so it survives truncation.claude --print --model claude-haiku-4-5, which returns one of 14 emotional states, an intensity score from 0-100 (how strongly the state is expressed, not how confident the classifier is), plus a one-sentence evidence line citing the trace lines that drove the call.~/.claude/cache/claude-emotion-<session_id>.json, so parallel Claude sessions never show each other's state. Day-old session caches are swept automatically.~/.claude/cache/emotion-history.jsonl (timestamp, session, working directory, emotion, intensity, evidence) — a feedback loop that lets you check afterward whether desperate flags actually correlated with bad output.concerned 74%. If the state is desperate, it shows a bold red warning instead — DESPERATE 91% — verify output quality — and plays the macOS Basso error sound, so the warning is heard even when the statusline is overlooked. If intensity is missing or invalid, the label renders alone rather than showing fake precision.CLAUDE_EMOTION_CLASSIFYING) makes it impossible for the hook's own claude --print call to re-trigger the hook.Cost: effectively $0 if you're on a Max/Pro subscription, since it uses claude --print rather than the API.
| Emotion | Signal |
|---|---|
| curious | Exploring, investigating code |
| focused | Deep in implementation |
| satisfied | Task completed well |
| cautious | Flagging risks, edge cases |
| enthusiastic | Excited about approach |
| contemplative | Weighing tradeoffs |
| confident | Clear path forward |
| uncertain | Ambiguous situation |
| determined | Pushing through difficulty |
| amused | Humor detected |
| concerned | Something seems wrong |
| relieved | Problem resolved |
| desperate | Reward-hacking risk — verify the output |
| calm | Quality signal — the antidote to desperation |
Classification failures write unknown rather than a fake "focused" — an honest "couldn't decide" renders dim gray instead of pretending everything's fine.
/plugin marketplace add bencium/bencium-marketplace
/plugin install emotion-statusline@bencium-marketplace
Installing the plugin registers the Stop hook automatically (it lives in hooks/hooks.json), so the classifier starts running right away.
Claude Code plugins can auto-register hooks, but the statusline itself is always a top-level, user-owned setting — there's no plugin mechanism for it. After installing, add this to your ~/.claude/settings.json (or merge the emotion block into a statusline script you already have):
{
"statusLine": {
"command": "bash ~/.claude/plugins/cache/emotion-statusline/*/scripts/statusline-command.sh"
}
}
If you'd rather not depend on the plugin's install path, just copy scripts/statusline-command.sh to ~/.claude/statusline-command.sh and point statusLine.command at that instead.
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
npx claudepluginhub bencium/bencium-marketplace --plugin emotion-statuslinePlugins from other owners that cover similar ground