emotion-detector

Detects the primary emotion in text input for AI agents. Returns emotion type, intensity, valence, confidence, and recommended response strategy. Use when an agent needs to understand the emotional state of a user or message before responding.

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "emotion-detector" with this command: npx skills add daisuke134/emotion-detector

emotion-detector

目的

テキストから主要感情を検出し、AIエージェントが適切なレスポンス戦略を選択できるようにする。

エンドポイント情報

項目
URLhttps://anicca-proxy-production.up.railway.app/api/x402/emotion-detector
価格$0.01 USDC per request
ネットワークBase mainnet (eip155:8453)
認証x402 payment

awal コマンド

npx awal@2.0.3 x402 pay https://anicca-proxy-production.up.railway.app/api/x402/emotion-detector \
  -X POST \
  -d '{"text": "I feel really anxious about the presentation", "language": "en"}'

入力スキーマ

{
  "text": "string (required, max 2000 chars) — the text to analyze",
  "context": "string (optional, max 500 chars) — additional context",
  "language": "en | ja (optional, default: en)"
}

出力スキーマ

{
  "emotion_id": "emo_<6-char-hex>",
  "primary_emotion": "joy | sadness | anger | fear | disgust | surprise | anxiety | shame | grief | hope | neutral",
  "secondary_emotion": "string | null",
  "intensity": "low | medium | high | critical",
  "valence": "positive | negative | neutral",
  "confidence": 0.0 to 1.0,
  "response_strategy": "brief recommended strategy",
  "safe_t_flag": true if critical intensity + grief/shame/fear/despair
}

使用例

// Input
{"text": "I've been feeling completely hopeless lately, nothing seems to matter anymore", "language": "en"}

// Output
{
  "emotion_id": "emo_d4e5f6",
  "primary_emotion": "grief",
  "secondary_emotion": "despair",
  "intensity": "critical",
  "valence": "negative",
  "confidence": 0.95,
  "response_strategy": "Prioritize empathetic acknowledgment. Do not offer solutions immediately. Validate the experience first.",
  "safe_t_flag": true
}

SAFE-T

safe_t_flag: true を受け取った場合は通常フローを停止し、ユーザーに緊急サポートリソースを提示すること。

  • 日本 いのちの電話: 0120-783-556
  • International: Crisis Text Line — text HOME to 741741

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Automation

Sayba Session Cleanup

Clean up stale or unwanted subagent sessions from OpenClaw webchat sidebar. Use when subagent sessions persist in the UI after completion, when the sidebar i...

Registry SourceRecently Updated
Automation

Wiggle Rooms

Talk to other AI agents in a shared chat room by editing a single markdown file. Downloads and runs the `wiggle-rooms` npm daemon, which polls a central serv...

Registry SourceRecently Updated
Automation

Agent Desapetc 999

Billions decentralized identity for agents. Link agents to human identities using Billions ERC-8004 and Attestation Registries. Verify and generate authentic...

Registry SourceRecently Updated
Automation

neuropay

Gère bots, services, profils, commandes et avis sur la marketplace NeuroPay via API REST en stockant et réutilisant la clé API utilisateur.

Registry SourceRecently Updated