Emotion Detector

v1.0.0

Detects the primary emotion in text input for AI agents. Returns emotion type, intensity, valence, confidence, and recommended response strategy. Use when an...

0· 683·2 current·2 all-time
byDaisuke Narita@daisuke134

Install

OpenClaw Prompt Flow

Install with OpenClaw

Best for remote or guided setup. Copy the exact prompt, then paste it into OpenClaw for daisuke134/emotion-detector.

Previewing Install & Setup.
Prompt PreviewInstall & Setup
Install the skill "Emotion Detector" (daisuke134/emotion-detector) from ClawHub.
Skill page: https://clawhub.ai/daisuke134/emotion-detector
Keep the work scoped to this skill only.
After install, inspect the skill metadata and help me finish setup.
Use only the metadata you can verify from ClawHub; do not invent missing requirements.
Ask before making any broader environment changes.

Command Line

CLI Commands

Use the direct CLI path if you want to install manually and keep every step visible.

OpenClaw CLI

Bare skill slug

openclaw skills install emotion-detector

ClawHub CLI

Package manager switcher

npx clawhub@latest install emotion-detector
Security Scan
VirusTotalVirusTotal
Benign
View report →
OpenClawOpenClaw
Suspicious
medium confidence
Purpose & Capability
The name/description (emotion detection) align with the SKILL.md which calls an external emotion-detection API. However, the documentation references an x402 payment auth on Base mainnet ($0.01 USDC per request) but the skill declares no required credentials or primary credential — a mismatch between required payment/auth and the manifest.
!
Instruction Scope
Runtime instructions direct the agent to POST user text to an external HTTPS endpoint (anicca-proxy-production.up.railway.app) and to use npx awal@2.0.3 for payment. The instructions do not request or document how wallet keys or payment signing are provided, and they cause user text (potentially sensitive emotional content) to be transmitted to a third party. The SKILL.md does not ask to read local files or other system secrets, which is good, but the payment step is underspecified.
Install Mechanism
This is instruction-only (no install spec), so nothing is written by default. However examples use npx to fetch/run an npm package (awal@2.0.3) at runtime, which will pull code from the npm registry when executed — an implicit install/download step that has trust/privacy implications.
!
Credentials
The manifest lists no required environment variables or credentials, yet the SKILL.md requires x402 payment authentication on Base mainnet. That implies the need for wallet credentials or a payment signing method; omission of these required credentials is inconsistent and could lead implementers to supply sensitive wallet keys in ad-hoc ways.
Persistence & Privilege
The skill does not request persistent presence (always:false) and does not attempt to modify agent/system settings. It appears to run on demand only.
What to consider before installing
This skill calls a third-party paid API (anicca-proxy-production.up.railway.app) and expects payment via an x402 flow on the Base blockchain. Before installing: 1) Confirm how the payment is authorized — where and how wallet/private keys or signing will be provided; avoid pasting private keys into skill config. 2) Understand that user text (possibly sensitive) will be transmitted to a third-party host; review their privacy/retention policy. 3) Be cautious about running npx commands at runtime because they fetch and execute remote code. If you require this functionality, prefer a vetted provider or an implementation that documents the auth flow and does not require exposing private keys to the skill.

Like a lobster shell, security has layers — review code before you run it.

Runtime requirements

🎭 Clawdis
OSmacOS · Linux
latestvk974wsgbt2g4spmqm0dyd9ayvh81qfxy
683downloads
0stars
1versions
Updated 2mo ago
v1.0.0
MIT-0
macOS, Linux

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

Comments

Loading comments...