Requirements
- Target platform
- OpenClaw
- Install method
- Manual import
- Extraction
- Extract archive
- Prerequisites
- OpenClaw
- Primary doc
- SKILL.md
NL emotion tracking + prompt injection via OpenClaw hook
NL emotion tracking + prompt injection via OpenClaw hook
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.
This skill describes how to install and configure the Emotion State hook, which adds a compact emotion_state block to the system prompt.
Evaluates user and agent emotions as short natural-language phrases. Stores per-user emotion state across sessions in the agent state directory. Injects the latest entries plus a decayed trend line into the system prompt.
After installing the skill, copy the bundled hook into your workspace: cp -R ./skills/emotion-state/hooks/emotion-state ./hooks/ Enable the hook in OpenClaw: openclaw hooks enable emotion-state Restart the OpenClaw gateway.
Set environment variables for the hook via OpenClaw config, e.g. in ~/.openclaw/openclaw.json: { "hooks": { "internal": { "enabled": true, "entries": { "emotion-state": { "enabled": true, "env": { "EMOTION_CLASSIFIER_URL": "", "OPENAI_API_KEY": "YOUR_KEY", "OPENAI_BASE_URL": "https://api.openai.com/v1", "EMOTION_MODEL": "gpt-4o-mini", "EMOTION_CONFIDENCE_MIN": "0.35", "EMOTION_HISTORY_SIZE": "100", "EMOTION_HALF_LIFE_HOURS": "12", "EMOTION_TREND_WINDOW_HOURS": "24", "EMOTION_MAX_USER_ENTRIES": "3", "EMOTION_MAX_AGENT_ENTRIES": "2", "EMOTION_MAX_OTHER_AGENTS": "3", "EMOTION_TIMEZONE": "America/Los_Angeles" } } } } } }
The hook stores state at ~/.openclaw/agents/<agentId>/agent/emotion-state.json. It does not store raw user text; only model-inferred reasons. If the classifier fails, entries fall back to neutral/low/unsure.
Long-tail utilities that do not fit the current primary taxonomy cleanly.
Largest current source with strong distribution and engagement signals.