tonitangpotato/agent-voice-skill/agent-voice-skill

Claude Code and agent skill by tonitangpotato/agent-voice-skill

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Add voice interaction to your AI agent. Convert text replies to speech (TTS) and send as Telegram voice messages. Use when a user asks for voice replies, audio responses, TTS setup, or wants their agent to "speak". Supports 100+ voices across 40+ languages via edge-tts (free, no API key). Zero-cost voice I/O for any OpenClaw agent.

Install

npx vskill@latest install tonitangpotato/agent-voice-skill/agent-voice-skill

SKILL.md

Agent Voice

Send voice replies from your agent via Telegram (or any channel that supports audio).

Setup (one-time)

Run the setup script to install edge-tts:

bash
bash scripts/setup.sh

This creates a Python venv at ~/.openclaw/tts-env and installs edge-tts. Also needs ffmpeg (brew/apt).

Generate voice

bash
bash scripts/tts.sh "你好,这是语音测试" /tmp/voice.ogg
bash scripts/tts.sh "Hello world" /tmp/voice.ogg en-US-BrianMultilingualNeural

Arguments: tts.sh "text" [output_path] [voice_name]

Default voice: en-US-EmmaMultilingualNeural (neutral, clear, multilingual).

Send as Telegram voice message

Use the message tool:

json
{ "action": "send", "channel": "telegram", "to": "<chat_id>", "media": "/tmp/voice.ogg", "asVoice": true }

Key: asVoice: true sends as voice bubble, not file attachment.

Recommended voices

VoiceGenderStyleBest for
en-US-EmmaMultilingualNeuralFClear, calmNeutral default, multilingual
en-US-BrianMultilingualNeuralMCasualNeutral male, multilingual
en-US-AndrewMultilingualNeuralMWarm, confidentProfessional multilingual
zh-CN-XiaoxiaoNeuralFWarmChinese female
zh-CN-YunyangNeuralMProfessionalChinese news/formal
zh-CN-YunxiNeuralMLivelyChinese casual

List all voices: ~/.openclaw/tts-env/bin/edge-tts --list-voices

Record preference in TOOLS.md

After choosing a voice, add to your TOOLS.md:

markdown
### TTS
-Voice: en-US-EmmaMultilingualNeural

Pipeline

Agent text → edge-tts (MP3) → ffmpeg (Opus/OGG) → Telegram voice note

Total latency: ~1-2s. Cost: $0 (edge-tts uses Microsoft's free TTS API).

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

  • SKILL.md in the repositoryCheckingSKILL.md

Popularity

7-day trend score
5

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/tonitangpotato/agent-voice-skill/agent-voice-skill/badge)](https://verified-skill.com/skills/tonitangpotato/agent-voice-skill/agent-voice-skill)

Something wrong with this skill or its page? Tell us.