{
  "schemaVersion": "1.0",
  "item": {
    "slug": "emotion-state",
    "name": "Emotion State",
    "source": "tencent",
    "type": "skill",
    "category": "其他",
    "sourceUrl": "https://clawhub.ai/tashfeenahmed/emotion-state",
    "canonicalUrl": "https://clawhub.ai/tashfeenahmed/emotion-state",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/emotion-state",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=emotion-state",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "SKILL.md",
      "hooks/emotion-state/HOOK.md",
      "hooks/emotion-state/handler.ts"
    ],
    "primaryDoc": "SKILL.md",
    "quickSetup": [
      "Download the package from Yavira.",
      "Extract the archive and review SKILL.md first.",
      "Import or place the package into your OpenClaw setup."
    ],
    "agentAssist": {
      "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
      "steps": [
        "Download the package from Yavira.",
        "Extract it into a folder your agent can access.",
        "Paste one of the prompts below and point your agent at the extracted folder."
      ],
      "prompts": [
        {
          "label": "New install",
          "body": "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."
        },
        {
          "label": "Upgrade existing",
          "body": "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."
        }
      ]
    },
    "sourceHealth": {
      "source": "tencent",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-23T16:43:11.935Z",
      "expiresAt": "2026-04-30T16:43:11.935Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=4claw-imageboard",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=4claw-imageboard",
        "contentDisposition": "attachment; filename=\"4claw-imageboard-1.0.1.zip\"",
        "redirectLocation": null,
        "bodySnippet": null
      },
      "scope": "source",
      "summary": "Source download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this source.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/emotion-state"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    },
    "downloadPageUrl": "https://openagent3.xyz/downloads/emotion-state",
    "agentPageUrl": "https://openagent3.xyz/skills/emotion-state/agent",
    "manifestUrl": "https://openagent3.xyz/skills/emotion-state/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/emotion-state/agent.md"
  },
  "agentAssist": {
    "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
    "steps": [
      "Download the package from Yavira.",
      "Extract it into a folder your agent can access.",
      "Paste one of the prompts below and point your agent at the extracted folder."
    ],
    "prompts": [
      {
        "label": "New install",
        "body": "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."
      },
      {
        "label": "Upgrade existing",
        "body": "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."
      }
    ]
  },
  "documentation": {
    "source": "clawhub",
    "primaryDoc": "SKILL.md",
    "sections": [
      {
        "title": "Emotion State (NL) Skill",
        "body": "This skill describes how to install and configure the Emotion State hook, which\nadds a compact emotion_state block to the system prompt."
      },
      {
        "title": "What it does",
        "body": "Evaluates user and agent emotions as short natural-language phrases.\nStores per-user emotion state across sessions in the agent state directory.\nInjects the latest entries plus a decayed trend line into the system prompt."
      },
      {
        "title": "Install & enable (workspace hook)",
        "body": "After installing the skill, copy the bundled hook into your workspace:\n\ncp -R ./skills/emotion-state/hooks/emotion-state ./hooks/\n\nEnable the hook in OpenClaw:\n\nopenclaw hooks enable emotion-state\n\nRestart the OpenClaw gateway."
      },
      {
        "title": "Configuration",
        "body": "Set environment variables for the hook via OpenClaw config, e.g. in\n~/.openclaw/openclaw.json:\n\n{\n  \"hooks\": {\n    \"internal\": {\n      \"enabled\": true,\n      \"entries\": {\n        \"emotion-state\": {\n          \"enabled\": true,\n          \"env\": {\n            \"EMOTION_CLASSIFIER_URL\": \"\",\n            \"OPENAI_API_KEY\": \"YOUR_KEY\",\n            \"OPENAI_BASE_URL\": \"https://api.openai.com/v1\",\n            \"EMOTION_MODEL\": \"gpt-4o-mini\",\n            \"EMOTION_CONFIDENCE_MIN\": \"0.35\",\n            \"EMOTION_HISTORY_SIZE\": \"100\",\n            \"EMOTION_HALF_LIFE_HOURS\": \"12\",\n            \"EMOTION_TREND_WINDOW_HOURS\": \"24\",\n            \"EMOTION_MAX_USER_ENTRIES\": \"3\",\n            \"EMOTION_MAX_AGENT_ENTRIES\": \"2\",\n            \"EMOTION_MAX_OTHER_AGENTS\": \"3\",\n            \"EMOTION_TIMEZONE\": \"America/Los_Angeles\"\n          }\n        }\n      }\n    }\n  }\n}"
      },
      {
        "title": "Notes",
        "body": "The hook stores state at ~/.openclaw/agents/<agentId>/agent/emotion-state.json.\nIt does not store raw user text; only model-inferred reasons.\nIf the classifier fails, entries fall back to neutral/low/unsure."
      }
    ],
    "body": "Emotion State (NL) Skill\n\nThis skill describes how to install and configure the Emotion State hook, which adds a compact emotion_state block to the system prompt.\n\nWhat it does\nEvaluates user and agent emotions as short natural-language phrases.\nStores per-user emotion state across sessions in the agent state directory.\nInjects the latest entries plus a decayed trend line into the system prompt.\nInstall & enable (workspace hook)\nAfter installing the skill, copy the bundled hook into your workspace:\ncp -R ./skills/emotion-state/hooks/emotion-state ./hooks/\n\nEnable the hook in OpenClaw:\nopenclaw hooks enable emotion-state\n\nRestart the OpenClaw gateway.\nConfiguration\n\nSet environment variables for the hook via OpenClaw config, e.g. in ~/.openclaw/openclaw.json:\n\n{\n  \"hooks\": {\n    \"internal\": {\n      \"enabled\": true,\n      \"entries\": {\n        \"emotion-state\": {\n          \"enabled\": true,\n          \"env\": {\n            \"EMOTION_CLASSIFIER_URL\": \"\",\n            \"OPENAI_API_KEY\": \"YOUR_KEY\",\n            \"OPENAI_BASE_URL\": \"https://api.openai.com/v1\",\n            \"EMOTION_MODEL\": \"gpt-4o-mini\",\n            \"EMOTION_CONFIDENCE_MIN\": \"0.35\",\n            \"EMOTION_HISTORY_SIZE\": \"100\",\n            \"EMOTION_HALF_LIFE_HOURS\": \"12\",\n            \"EMOTION_TREND_WINDOW_HOURS\": \"24\",\n            \"EMOTION_MAX_USER_ENTRIES\": \"3\",\n            \"EMOTION_MAX_AGENT_ENTRIES\": \"2\",\n            \"EMOTION_MAX_OTHER_AGENTS\": \"3\",\n            \"EMOTION_TIMEZONE\": \"America/Los_Angeles\"\n          }\n        }\n      }\n    }\n  }\n}\n\nNotes\nThe hook stores state at ~/.openclaw/agents/<agentId>/agent/emotion-state.json.\nIt does not store raw user text; only model-inferred reasons.\nIf the classifier fails, entries fall back to neutral/low/unsure."
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/tashfeenahmed/emotion-state",
    "publisherUrl": "https://clawhub.ai/tashfeenahmed/emotion-state",
    "owner": "tashfeenahmed",
    "version": "1.2.0",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/emotion-state",
    "downloadUrl": "https://openagent3.xyz/downloads/emotion-state",
    "agentUrl": "https://openagent3.xyz/skills/emotion-state/agent",
    "manifestUrl": "https://openagent3.xyz/skills/emotion-state/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/emotion-state/agent.md"
  }
}