TopRank Skills

Home / Claw Skills / Autres / emotion-detector
Official OpenClaw rules 15%

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.

Stars

0

Installs

0

Status

ACTIVE

Visibility

PUBLIC

安装方式

直接复制以下提示词,发送给你的 AI 助手即可完成安装。

请先检查是否已安装 SkillHub 商店,若未安装,请根据 https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/skillhub.md 安装 SkillHub 商店,然后安装 emotion-detector 技能。 若已安装,则直接安装 emotion-detector 技能。

Overview

Skill Key
daisuke134/emotion-detector
Author
daisuke134
Source Repo
openclaw/skills
Version
1.0.0
Source Path
skills/daisuke134/emotion-detector
Latest Commit SHA
713c32e3f468735c3046c918680acf53cb9bfc11

Extracted Content

SKILL.md excerpt

# emotion-detector

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

## エンドポイント情報

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

## awal コマンド

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

## 入力スキーマ

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

## 出力スキーマ

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

## 使用例

```json
// 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

Related Claw Skills