AGENT SKILL

tts

暂无简介

License 许可
MIT
最近更新
2026-11-12
Stars
★ 4.1w
Forks
3.6k

03 SKILL.md 正文

Text to Speech

When to use

Reading text aloud or rendering speech audio files, using only the voices already on the machine.

Setup

No account or API key. Pick the platform command; fail loud when the Linux engine is missing (sudo apt install speech-dispatcher or espeak-ng):

  • macOS: say -v Samantha -o out.aiff "text" (list voices: say -v '?')
  • Linux: spd-say "text" or espeak-ng -w out.wav "text"
  • Windows: PowerShell System.Speech.Synthesis.SpeechSynthesizer

Workflow

  1. Keep utterances short; split long text at paragraph breaks.
  2. Confirm voice and speed when the user cares; otherwise default voice, normal rate.
  3. For files, report the path, format, and duration.

Non-goals

  • Do not clone voices or impersonate a real person.
  • Do not call cloud TTS APIs (different cost and privacy posture — ask first).
  • Do not play audio unprompted in shared environments; render a file instead.

04 同仓库更多 Skills