본문으로 건너뛰기
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 등 사용하는 코딩 에이전트에 붙여넣으세요.

링크