edge-tts
Skill39 starsChanged 9 months agoMITView on GitHub
Text-to-speech using Microsoft Edge's neural TTS service (free, no API key). Supports multiple voices, languages, speed/pitch/volume adjustment, and subtitle generation. Use when user requests audio/voice output, or mentions "tts" keyword.
- Installs packages
1 other project uses a version of this.
Adopted by
Most recently taken up by
- aahl/skillstheir own version, first seen Sep 15, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- aahl/skills★ 161same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository9 other files it gives its agents.
- templates/AGENTS.mdAGENTS.md
- clawhubSkill
- cronSkill
- githubSkill
- memorySkill
- skill-creatorSkill
- summarizeSkill
- tmuxSkill
- weatherSkill
The file
We split this skill into the rules it gives an agent
4 rules. About 0 are common, 1 is distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 16
When user requests TTS conversion, use shell_exec to run the converter script:
- Very specific: line 128
Run tts-converter.js via shell_exec
- Very specific: line 129
Use the message tool with the media parameter to send the audio file, e.g.
- Distinctive: line 149
Test voices at: https://tts.travisvn.com/
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Edge-TTS Skill
Generate high-quality text-to-speech audio using Microsoft Edge's neural TTS service via node-edge-tts. Free, no API key required.
Quick Start
When user requests TTS conversion, use shell_exec to run the converter script:
# First time: install dependencies
cd <SKILL_DIR>/scripts && npm install --production
# Convert text to speech
node <SKILL_DIR>/scripts/tts-converter.js "Your text here" --voice zh-CN-XiaoxiaoNeural --output /tmp/output.mp3Replace <SKILL_DIR> with the actual skill directory path (use pwd or the skill's location).
Trigger Detection
Recognize these as TTS requests:
- "tts", "text to speech", "text-to-speech"
- User explicitly asks to convert text to audio/voice/speech
- User wants content read aloud
Usage
Basic Conversion
node scripts/tts-converter.js "Hello world" --output hello.mp3With Voice and Rate
node scripts/tts-converter.js "Hello world" \
--voice en-US-AriaNeural \
--rate +10% \
--output hello.mp3List Available Voices
node scripts/tts-converter.js --list-voicesConfiguration Manager
# Set default voice
node scripts/config-manager.js --set-voice zh-CN-XiaoxiaoNeural
# Set default rate
node scripts/config-manager.js --set-rate +10%
# View current settings
node scripts/config-manager.js --get
# Reset to defaults
node scripts/config-manager.js --resetCLI Options
| Option | Short | Description | Default |
--voice | -v | Voice name | en-US-MichelleNeural |
--lang | -l | Language code | en-US |
--format | -o | Audio format | audio-24khz-48kbitrate-mono-mp3 |
--pitch | Pitch adjustment | default | |
--rate | -r | Speed adjustment | default |
--volume | Volume adjustment | default | |
--save-subtitles | -s | Save subtitles JSON | false |
--output | -f | Output file path | temp file |
--proxy | -p | Proxy URL | - |
--timeout | Timeout in ms | 10000 | |
--list-voices | -L | List voices | - |
Common Voices
Chinese:
zh-CN-XiaoxiaoNeural- female, natural (recommended for Chinese)zh-CN-YunyangNeural- male, natural
English:
en-US-MichelleNeural- female, natural (default)en-US-AriaNeural- female, naturalen-US-GuyNeural- male, naturalen-GB-SoniaNeural- female, Britishen-GB-RyanNeural- male, British
Other:
ja-JP-NanamiNeural- Japanese femaleko-KR-SunHiNeural- Korean femalefr-FR-DeniseNeural- French femalede-DE-KatjaNeural- German femalees-ES-ElviraNeural- Spanish female
Rate Guidelines
| Value | Effect | Scenario |
-20% ~ -10% | Slow | Tutorials, stories, accessibility |
default | Normal | General use |
+10% ~ +20% | Slightly fast | Summaries |
+30% ~ +50% | Fast | News, efficiency |
Output Formats
| Format | Quality | Use Case |
audio-24khz-48kbitrate-mono-mp3 | Standard | Voice notes, messages |
audio-24khz-96kbitrate-mono-mp3 | High | Presentations |
audio-48khz-96kbitrate-stereo-mp3 | Highest | Professional audio |
Workflow
- Detect TTS intent from user message
- Extract text to convert (filter out "tts" keywords)
- Determine voice based on text language (auto-detect or user preference)
- Run
tts-converter.jsviashell_exec - Use the
messagetool with themediaparameter to send the audio file, e.g.message(content="Here is your audio", media=["/tmp/output.mp3"])
Installation
Dependencies are installed automatically on first use, or manually:
cd skills/edge-tts/scripts
npm install --productionRequires: Node.js >= 14, npm, internet connection.
Notes
- Free service, no API key needed
- Neural voices (ending in
Neural) provide the best quality - Requires internet connection (Microsoft Edge online service)
- Output is MP3 by default
- Supports subtitle generation (JSON with word-level timing)
- Test voices at: https://tts.travisvn.com/
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

