skills/openclaw/skills/windows-tts

windows-tts

SKILL.md

Windows TTS (WSL2)

Use Windows built-in TTS via powershell.exe so audio plays through the Windows 默认输出设备(无需 WSLg/PulseAudio)。

什么时候用这个 skill(触发提示)

当用户出现以下表达时,优先用本 skill,而不是 OpenClaw 内置 tts(后者可能生成空 mp3 或在某些环境无声):

  • "说出来 / 读出来 / 念一下 / 语音播报 / 用 TTS"
  • "还没声音 / 没声音 / 播不出来"
  • "中文语音"且希望直接从电脑扬声器播放

注意:本 skill 是"直接播放",不会返回音频文件路径。

Quick start(直接说出来)

Run from WSL:

bash {baseDir}/scripts/say.sh "你好,我是你的助手。"

List installed voices

bash {baseDir}/scripts/list_voices.sh

Speak with a specific voice

bash {baseDir}/scripts/say.sh --voice "VOICE_NAME" "你好,我以后会用这个声音说话。"

Notes

  • If you embed PowerShell directly in bash, remember: escape $ or use outer single quotes; otherwise bash expands $s and breaks the command.
  • If the user reports errors like =New-Object or TypeName: prompts, prefer the provided scripts instead of ad-hoc quoting.
Weekly Installs
5
Repository
openclaw/skills
GitHub Stars
3.8K
First Seen
Feb 16, 2026
Installed on
amp5
opencode5
kimi-cli5
codex5
github-copilot5
gemini-cli5