agentleFS
yangkun19921001yangkun19921001/PP-Claw/skills/edge-tts/SKILL.md

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

  • Other versions1 project uses a version of this.

    Word for word · 0

    None found.

    Edited · 0

    None found.

    Wrote their own version · 1

    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.

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
  1. Very specific:

    When user requests TTS conversion, use shell_exec to run the converter script:

    line 16
  2. Very specific:

    Run tts-converter.js via shell_exec

    line 128
  3. Very specific:

    Use the message tool with the media parameter to send the audio file, e.g.

    line 129
  4. Distinctive:

    Test voices at: https://tts.travisvn.com/

    line 149

≈ “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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

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.mp3

Replace <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.mp3

With Voice and Rate

node scripts/tts-converter.js "Hello world" \
  --voice en-US-AriaNeural \
  --rate +10% \
  --output hello.mp3

List Available Voices

node scripts/tts-converter.js --list-voices

Configuration 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 --reset

CLI Options

OptionShortDescriptionDefault
--voice-vVoice nameen-US-MichelleNeural
--lang-lLanguage codeen-US
--format-oAudio formataudio-24khz-48kbitrate-mono-mp3
--pitchPitch adjustmentdefault
--rate-rSpeed adjustmentdefault
--volumeVolume adjustmentdefault
--save-subtitles-sSave subtitles JSONfalse
--output-fOutput file pathtemp file
--proxy-pProxy URL-
--timeoutTimeout in ms10000
--list-voices-LList 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, natural
  • en-US-GuyNeural - male, natural
  • en-GB-SoniaNeural - female, British
  • en-GB-RyanNeural - male, British

Other:

  • ja-JP-NanamiNeural - Japanese female
  • ko-KR-SunHiNeural - Korean female
  • fr-FR-DeniseNeural - French female
  • de-DE-KatjaNeural - German female
  • es-ES-ElviraNeural - Spanish female

Rate Guidelines

ValueEffectScenario
-20% ~ -10%SlowTutorials, stories, accessibility
defaultNormalGeneral use
+10% ~ +20%Slightly fastSummaries
+30% ~ +50%FastNews, efficiency

Output Formats

FormatQualityUse Case
audio-24khz-48kbitrate-mono-mp3StandardVoice notes, messages
audio-24khz-96kbitrate-mono-mp3HighPresentations
audio-48khz-96kbitrate-stereo-mp3HighestProfessional audio

Workflow

  1. Detect TTS intent from user message
  2. Extract text to convert (filter out "tts" keywords)
  3. Determine voice based on text language (auto-detect or user preference)
  4. Run tts-converter.js via shell_exec
  5. Use the message tool with the media parameter 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 --production

Requires: 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/

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.