कंटेंट पर जाएँ
TakoAPI
स्किल्स पर वापस

emotion-detector

daisuke134 द्वारा

Coding Agents & IDEs
333clawskills.sh द्वारा बताए गए डाउनलोड
0व्यूज़
0 लाइकइस स्किल को लाइक करने के लिए साइन इन करें
—अभी तक कोई रेटिंग नहीं
आपकी रेटिंग

संक्षिप्त

Detects the primary emotion in text input for AI agents.

विवरण

यह स्किल क्या करती है

Detects the primary emotion in a text string and returns structured metadata: emotion type, intensity, valence, confidence score, and a recommended response strategy. Includes a safe_t_flag that triggers when critical-intensity distress signals like grief or despair are detected. Accepts English and Japanese input.

Returns a ready-to-act response_strategy alongside raw emotion data, so agents skip the step of inferring how to respond and act on a clear directive instead.

इसे कब इस्तेमाल करें

  • Routing user messages to empathetic vs. task-focused agent responses
  • Flagging high-distress support tickets for human escalation
  • Adjusting chatbot tone based on detected user frustration
  • Filtering incoming feedback by emotional valence before summarizing
  • Triggering crisis resources when a user message shows critical grief or fear

उदाहरण वर्कफ़्लो

इनपुट

User asks: 'I've been feeling completely hopeless lately, nothing seems to matter anymore'

एजेंट
  1. 1

    Send POST request to the x402 endpoint with the user's text and language set to 'en'

  2. 2

    Receive response with primary_emotion: grief, intensity: critical, confidence: 0.95

  3. 3

    Check safe_t_flag — value is true

  4. 4

    Halt normal conversation flow

  5. 5

    Present user with crisis support resources (Crisis Text Line, いのちの電話)

आउटपुट

Agent surfaces emergency mental health resources instead of continuing the task flow

आवश्यकताएँ

  • USDC balance on Base mainnet (eip155:8453) — $0.01 per request
  • x402-compatible wallet for payment authorization

इंस्टॉलेशन

clawhub install daisuke134/emotion-detector

CLI कमांड चलाएँ, या प्रॉम्प्ट को Claude Code, Cursor, Codex या जो भी कोडिंग एजेंट आप इस्तेमाल करते हैं उसमें पेस्ट करें।

लिंक