| name | emotion-state |
| description | NL emotion tracking + prompt injection via OpenClaw hook |
Emotion State (NL) Skill
This skill describes how to install and configure the Emotion State hook, which
adds a compact emotion_state block to the system prompt.
What it does
- 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.
Install & enable (workspace hook)
- 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.
Configuration
Set environment variables for the hook via OpenClaw config, e.g. in
~/.openclaw/openclaw.json:
{
"hooks": {
"internal": {
"enabled": true,
"entries": {