emotion-detectorDetects the primary emotion in text input for AI agents. Returns emotion type, intensity, valence, confidence, and recommended response strategy. Use when an...
Install via ClawdBot CLI:
clawdbot install Daisuke134/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 |
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_flag: true を受け取った場合は通常フローを停止し、ユーザーに緊急サポートリソースを提示すること。
Generated Mar 1, 2026
Analyze customer messages in real-time to detect frustration or anxiety, enabling agents to prioritize empathetic responses and escalate critical cases flagged by safe_t_flag. This improves satisfaction and reduces churn by addressing emotional needs proactively.
Integrate into mental health apps to assess user emotional states from journal entries or chat inputs, providing tailored coping strategies and triggering alerts for high-risk emotions like grief or despair via safe_t_flag. This supports early intervention and personalized care.
Scan user-generated content for harmful emotions such as anger or shame, flagging posts for review and offering automated supportive responses to de-escalate situations. This enhances community safety and reduces moderator workload.
Analyze student feedback or discussion forum posts to identify anxiety or confusion, allowing educators to adjust teaching methods and provide targeted emotional support. This fosters a positive learning environment and improves engagement.
Process survey responses or focus group transcripts to gauge emotional reactions to products or campaigns, offering deeper insights beyond basic sentiment. This helps brands refine messaging and predict consumer behavior more accurately.
Charge $0.01 USDC per request via x402 payments on Base mainnet, targeting developers and businesses needing scalable, on-demand emotion detection without subscription commitments. Revenue scales with usage, ideal for sporadic or high-volume integrations.
Offer tiered monthly plans with bulk discounts, priority support, and custom emotion models for large organizations in healthcare or customer service. This provides predictable revenue and encourages long-term partnerships.
License the emotion detection technology to other SaaS platforms or chatbot providers, allowing them to embed it under their brand. Revenue comes from licensing fees and ongoing maintenance contracts, expanding market reach.
💬 Integration Tip
Use the provided awal command for quick testing, and always handle safe_t_flag responses by integrating emergency resource prompts as shown in the SAFE-T section.
Captures learnings, errors, and corrections to enable continuous improvement. Use when: (1) A command or operation fails unexpectedly, (2) User corrects Clau...
Helps users discover and install agent skills when they ask questions like "how do I do X", "find a skill for X", "is there a skill that can...", or express interest in extending capabilities. This skill should be used when the user is looking for functionality that might exist as an installable skill.
Search and analyze your own session logs (older/parent conversations) using jq.
Typed knowledge graph for structured agent memory and composable skills. Use when creating/querying entities (Person, Project, Task, Event, Document), linking related objects, enforcing constraints, planning multi-step actions as graph transformations, or when skills need to share state. Trigger on "remember", "what do I know about", "link X to Y", "show dependencies", entity CRUD, or cross-skill data access.
Ultimate AI agent memory system for Cursor, Claude, ChatGPT & Copilot. WAL protocol + vector search + git-notes + cloud backup. Never lose context again. Vibe-coding ready.
Headless browser automation CLI optimized for AI agents with accessibility tree snapshots and ref-based element selection