Emotion State
NL emotion tracking + prompt injection via OpenClaw hook
New
Join 0+ developers using this skill
skill
AI & Machine Learning
intermediate
NL emotion tracking + prompt injection via OpenClaw hook
Real data. Real impact.
Emerging
Developers
Per week
Open source
Skills give you superpowers. Install in 30 seconds.
This skill describes how to install and configure the Emotion State hook, which adds a compact
emotion_state block to the system prompt.
cp -R ./skills/emotion-state/hooks/emotion-state ./hooks/
openclaw hooks enable emotion-state
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" } } } } } }
~/.openclaw/agents/<agentId>/agent/emotion-state.json.neutral/low/unsure.No automatic installation available. Please visit the source repository for installation instructions.
View Installation Instructions1,500+ AI skills, agents & workflows. Install in 30 seconds. Part of the Torly.ai family.
© 2026 Torly.ai. All rights reserved.