/install edge-tts-global
Edge TTS Global
Use this skill when the user wants fast text-to-speech with the globally installed edge-tts command.
What is available
Global commands:
edge-ttsedge-playback
Bundled helper script:
scripts/tts_edge.py
Preferred Chinese test voice:
zh-CN-XiaoxiaoNeural
Fast workflow
- Put output files in the current caller workspace
temp/directory. - Prefer the bundled Python script
scripts/tts_edge.pyfor standard generation. - If needed, call
edge-ttsdirectly. - If sending back to Telegram and the user wants a voice bubble, send the audio with
messageand setasVoice=true. - If the user wants a normal file/audio attachment, send it normally.
- After successful sending, immediately delete the generated temporary file.
Preferred script usage
Generate audio to the current caller workspace temp/ directory automatically:
python3 /data/claw/shared/skills/edge-tts-global/scripts/tts_edge.py -t "老板,你好,我是你的小助理。"
Generate audio with explicit relative path under the current caller workspace:
python3 /data/claw/shared/skills/edge-tts-global/scripts/tts_edge.py -t "老板,你好,我是你的小助理。" -o ./temp/out.mp3
Delete temporary file after successful sending:
python3 /data/claw/shared/skills/edge-tts-global/scripts/tts_edge.py cleanup ./temp/out.mp3
Delete both audio and subtitles:
python3 /data/claw/shared/skills/edge-tts-global/scripts/tts_edge.py cleanup ./temp/out.mp3 ./temp/out.vtt
Change voice explicitly:
python3 /data/claw/shared/skills/edge-tts-global/scripts/tts_edge.py -t "你好" -v zh-CN-XiaoxiaoNeural -o ./temp/out.mp3
Generate subtitles too:
python3 /data/claw/shared/skills/edge-tts-global/scripts/tts_edge.py -t "你好" -o ./temp/out.mp3 --subs ./temp/out.vtt
Direct command patterns
Generate MP3
mkdir -p ./temp
edge-tts --voice zh-CN-XiaoxiaoNeural --text "老板,你好,我是你的小助理。" --write-media ./temp/out.mp3
List voices
edge-tts --list-voices
Telegram sending rule
If the user asks for “气泡语音”, “语音条”, or a voice-message style result:
- generate the file first
- send with
message - set
asVoice=true - after successful sending, delete the temporary file immediately
If the user asks for a normal audio file:
- send as a regular attachment
- do not set
asVoice=true - after successful sending, delete the temporary file immediately
Cleanup guidance
- Temporary outputs belong in the current caller workspace
temp/directory - Sending succeeds → delete the generated temporary files immediately
- Prefer
python3 scripts/tts_edge.py cleanup \x3Cfile> [subtitle]for deterministic cleanup - Do not remove the global
edge-ttsinstall unless the user explicitly asks
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install edge-tts-global - 安装完成后,直接呼叫该 Skill 的名称或使用
/edge-tts-global触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
Edge Tts Global 是什么?
Use the globally installed edge-tts command to generate Chinese or multilingual text-to-speech audio on this machine. Use when the user wants text converted... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 85 次。
如何安装 Edge Tts Global?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install edge-tts-global」即可一键安装,无需额外配置。
Edge Tts Global 是免费的吗?
是的,Edge Tts Global 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Edge Tts Global 支持哪些平台?
Edge Tts Global 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Edge Tts Global?
由 刘岗强(@mrliugangqiang)开发并维护,当前版本 v1.0.0。