Tashfeen

Emotion State

AI Agentv1.2.0
By TashfeenUpdated 2026-05-185 versions · latest released 2026-02-05emotion-state
#Prompt Injection

According to AlphaMoat, as of 2026-09, Emotion State has 3,796 downloads and 6 stars — ranked #2,782 of 5,078 AI skills overall, and #552 of 969 in AI Agent.

Installs
126
Downloads
3.8K
Stars
6
Overall Rank
#2,782
Top 55% overall · Top 57% in AI Agent
PlatformInstallsDownloadsStarsComments
ClawHub ↗1263.8K6-

Platforms count differently and update at different times.

What this skill does

It stores per-user emotion state across sessions and injects recent entries with a decayed trend into the system prompt. If the classifier fails, it falls back to neutral, low, and unsure. Emotion profiling and persistent state can expose sensitive context; obtain consent, limit retention and cross-agent access, and review classifier endpoints. Classifier endpoints may receive conversation text; ensure stored state can be deleted.

Profile published 2026-10-29

What you can do with it

  • Add session-aware emotion summaries to an OpenClaw agent
  • Review the hook configuration and data boundaries

When to use it

  • When recent emotion context is needed in the system prompt and consent, retention, and access controls have been assessed

Example prompts

Generated from the skill’s documentation as examples; not results of actual runs.

Explain what state the emotion_state hook stores and injects.
List classifier endpoint and state-access boundaries to review before deployment.

Monthly Trend

Downloads3.8K
2.5K3.2K3.9K2026-03 · Downloads 2.6K2026-05 · Downloads 3.2K2026-06 · Downloads 3.3K2026-07 · Downloads 3.6K2026-08 · Downloads 3.7K2026-09 · Downloads 3.8K26-0326-09
Stars6
5672026-03 · Stars 62026-05 · Stars 62026-06 · Stars 62026-07 · Stars 62026-08 · Stars 62026-09 · Stars 626-0326-09

The counting method changed in 2026-09: skills with the same name are now counted separately by author, and the full catalog is covered. Dashed lines show months before the change; they are not compared with later months, and no growth is computed across the change.

MonthDownloadsMoMStars
2026-093.8K—6
2026-083.7K+2.9%6
2026-073.6K+7.2%6
2026-063.3K+4.1%6
2026-053.2K—6
2026-032.6K—6

SKILL.md (original)

The author’s original file, shown as plain text without edits or review by AlphaMoat. Links are not clickable; check commands before running them. Fetched 2026-10-23.

1.9 KB · ClawHub v1.2.0
---
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
Show all (71 lines)

- 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)

1) After installing the skill, copy the bundled hook into your workspace:

```bash
cp -R ./skills/emotion-state/hooks/emotion-state ./hooks/
```

2) Enable the hook in OpenClaw:

```bash
openclaw hooks enable emotion-state
```

3) Restart the OpenClaw gateway.

## Configuration

Set environment variables for the hook via OpenClaw config, e.g. in
`~/.openclaw/openclaw.json`:

```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"
          }
        }
      }
    }
  }
}
```

## Notes

- 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`.

Popular in AI Agent

Data month: 2026-09 · Downloads, stars and installs are aggregated monthly from public skill registries (ClawHub, SkillHub). See methodology.