user-emotion-detection

user-emotion-detection is a skill for Claude Code, Codex from autonomous-ai/autonomous-os. It costs 77 tokens per session (3,310 once invoked), scanned A, original, Apache-2.0.

A routing tool that interprets detected user emotion from facial expressions or speech, records it through the mood tool, and chooses one response path.

In plain words
What is it for?
Use it when the camera or microphone reports an emotion, so the system can log it and choose music, a check-in, or another action.
Why use it?
It gives different emotion-related events one consistent process and prevents unrelated sensor events from being treated as emotions.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it when the camera or microphone reports an emotion, so the system can log it and choose music, a check-in, or another action.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/autonomous-ai/autonomous-os/user-emotion-detection
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add autonomous-ai/autonomous-os --skill user-emotion-detection
Clone the repo
git clone --depth 1 https://github.com/autonomous-ai/autonomous-os

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for user-emotion-detection

README.md
[![agentmods](https://agentmods.dev/badge/skills/autonomous-ai/autonomous-os/user-emotion-detection/github.svg)](https://agentmods.dev/skills/autonomous-ai/autonomous-os/user-emotion-detection)
Your own site
<a href="https://agentmods.dev/skills/autonomous-ai/autonomous-os/user-emotion-detection"><img src="https://agentmods.dev/badge/skills/autonomous-ai/autonomous-os/user-emotion-detection/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for user-emotion-detection

Your own site · 80×15
<a href="https://agentmods.dev/skills/autonomous-ai/autonomous-os/user-emotion-detection"><img src="https://agentmods.dev/badge/skills/autonomous-ai/autonomous-os/user-emotion-detection.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 77 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,310 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00077 $0.03310
Opus 5.5 $0.00031 $0.01324
Sonnet 5.5 $0.00015 $0.00662
Haiku 4.5 $0.00008 $0.00331

Measured 2mo ago against content hash 2e45d0a5a3f8, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

user-emotion-detection scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

> **EXECUTE, don't plan.** Before any reply (including `NO_REPLY`) you MUST embed a `[HW:/mood/log:{...}]` marker in the reply for this event (it fires the POST async via the runtime — see "What this skill produces" belo
skills/user-emotion-detection/SKILL.md · 181 lines

How it starts

The opening of the file, as written. The whole thing — 181 lines — stays where its author put it; the contents beside it link to each section on GitHub.

User Emotion Detection

Strict Trigger

Runs only when this turn's input has one of:

  • [emotion] Emotion detected: <EmotionName> — facial expression from camera.
  • [speech_emotion] Speech emotion detected: <EmotionName> — vocal expression from microphone.

Both are first-class triggers and route through the same logic below. The only differences are:

  1. The mood signal source field — "camera" for [emotion], "voice" for [speech_emotion].
  2. The label vocabulary — face uses Fear/Surprise/Disgust, voice uses Fearful/Surprised/Disgusted. The mapping table below covers both; they bucket identically.

For any other event ([sensing:presence.*], [activity], [sensing:sound], [sensing:light.*], …) → STOP. No tool calls. Don't infer emotion from older turns — every signal must come from a real [emotion] or [speech_emotion] event in THIS turn.

EXECUTE, don't plan. Before any reply (including NO_REPLY) you MUST embed a [HW:/mood/log:{...}] marker in the reply for this event (it fires the POST async via the runtime — see "What this skill produces" below). Writing "I will post a mood signal" in thinking is not enough — if no [HW:/mood/log:...] marker appears in the reply text this turn, the skill failed. Every emotion.detected / speech_emotion.detected event = at least one mood signal log. No exceptions, no skips, no "already logged recently" reasoning. (curl POST is the documented fallback only when the HW marker would break the body regex; do not use it as the default.)

Logging has no spoken narration. Only the selected response route supplies speech or NO_REPLY. Never narrate mood logging, mapping, skill selection or workflow steps. Keep analysis in a separate reasoning channel; if none is available, omit analysis entirely.

When thinking is enabled, keep channels separate. Use only the provider's native thinking/reasoning channel for route comparisons, cooldown checks, uncertainty, style selection, and marker construction. Enabling thinking does not permit a reasoning summary in assistant text. Every ordinary text/content block can be spoken, including text before a tool call and text in the final response. Do not put <think> tags or a heading such as Thinking: into text as a substitute for the native channel. If that channel is unavailable, omit the analysis. Call required tools directly with no text introduction; after their results, emit only the required markers and the user-facing sentence.

Read the full file on GitHub · 181 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago Changed · +27 lines 2e45d0a5a3f8
  2. 2mo ago Changed a146479bf956
  3. 3mo ago First seen · 154 lines · 77 tokens per session scan A 3a135d811c79

Subscribe to this mod's changes

user-emotion-detection is a skill published in the GitHub repository autonomous-ai/autonomous-os (378 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 77 tokens to every session and 3,310 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

user-emotion-detection compared with skills from other repositories

user-emotion-detection next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
user-emotion-detectionautonomous-ai/autonomous-osSkill3781mo agoApache-2.0A77Claude Code, Codex
rosclaw-embodiedros-claw/rosclawSkill24124d agoMITA54Claude Code, Codex
defaultros-claw/rosclawSkill24124d agoMITA0Claude Code, Codex
add-resendnanocoai/nanoclawSkill31ktodayMITA16Claude Code
graphifyGraphify-Labs/graphifySkill155kyesterdayApache-2.0B76Claude Code
add-macos-statusbarnanocoai/nanoclawSkill31ktodayMITA49Claude Code
sandbaseiflytek/skillhubSkill5.5ktodayApache-2.0A67Claude Code