voice

📁 naohainezha/skill 📅 13 days ago
2
总安装量
2
周安装量
#72871
全站排名
安装命令
npx skills add https://github.com/naohainezha/skill --skill voice

Agent 安装分布

openclaw 2
claude-code 2
replit 2
codex 2
opencode 2
mcpjam 1

Skill 文档

Voice Skill

Send a voice message (text-to-speech) to the user.

Send a Voice Message

# Normal context (active Telegram chat)
curl -s -X POST http://localhost:23001/api/voice/send \
  -H 'Content-Type: application/json' \
  -d '{"text": "Hello! How are you today?"}'

# From cron job or background task (specify chatId)
curl -s -X POST http://localhost:23001/api/voice/send \
  -H 'Content-Type: application/json' \
  -d '{"text": "Hello!", "chatId": "TELEGRAM_CHAT_ID"}'

Response: {"success": true} or {"success": false, "error": "..."}

When to Use

  • User sent you a voice message and you want to reply with voice
  • Short, casual replies that feel natural as speech
  • Storytelling or narration moments

When NOT to Use

  • Long technical explanations (better as text)
  • Code snippets or structured data
  • When the user explicitly prefers text

Tips

  • Keep voice messages concise — under 2-3 sentences works best
  • Use natural, conversational language
  • Only works when there’s an active Telegram chat context