Edge Tts Global

v1.0.0

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

0· 76·0 current·0 all-time
by刘岗强@mrliugangqiang

Install

OpenClaw Prompt Flow

Install with OpenClaw

Best for remote or guided setup. Copy the exact prompt, then paste it into OpenClaw for mrliugangqiang/edge-tts-global.

Previewing Install & Setup.
Prompt PreviewInstall & Setup
Install the skill "Edge Tts Global" (mrliugangqiang/edge-tts-global) from ClawHub.
Skill page: https://clawhub.ai/mrliugangqiang/edge-tts-global
Keep the work scoped to this skill only.
After install, inspect the skill metadata and help me finish setup.
Use only the metadata you can verify from ClawHub; do not invent missing requirements.
Ask before making any broader environment changes.

Command Line

CLI Commands

Use the direct CLI path if you want to install manually and keep every step visible.

OpenClaw CLI

Bare skill slug

openclaw skills install edge-tts-global

ClawHub CLI

Package manager switcher

npx clawhub@latest install edge-tts-global
Security Scan
VirusTotalVirusTotal
Benign
View report →
OpenClawOpenClaw
Benign
high confidence
Purpose & Capability
Name/description match the included files and instructions: the script and SKILL.md invoke the global edge-tts binary to produce TTS output. The only minor mismatch is that the script honors an environment variable EDGE_TTS_VOICE (for a default voice) that is not documented in SKILL.md or listed in requires.env.
Instruction Scope
SKILL.md limits actions to generating audio in the current caller workspace temp/ directory, optionally listing voices, and deleting temporary files after sending. The included script only runs the edge-tts subprocess, creates/removes files under the workspace, and does not read other system files or send data externally.
Install Mechanism
There is no install spec and no remote downloads; the skill is instruction-only plus a small helper script. It requires a preinstalled edge-tts binary (as stated) — this is proportional and low-risk for an instruction-only skill.
Credentials
No credentials or sensitive env vars are requested. The script does read EDGE_TTS_VOICE for a default voice (non-sensitive) but that env var is undocumented in the SKILL.md; otherwise environment access is minimal and proportionate.
Persistence & Privilege
The skill is not always-enabled, does not request persistent elevated privileges, and does not modify other skills or global agent configuration.
Assessment
This skill is coherent and appears safe in purpose: it simply runs the local edge-tts binary via a small Python wrapper and manages temporary files in the caller workspace. Before installing, confirm that you trust the system-level edge-tts binary that will be invoked (the skill executes it as a subprocess), ensure the agent's workspace temp/ directory is appropriate for generated audio, and be aware the helper script will read an undocumented EDGE_TTS_VOICE env var if present. If you plan to run in a different environment, note the SKILL.md examples use an absolute path (/data/claw/shared/...), which may need adjusting.

Like a lobster shell, security has layers — review code before you run it.

latestvk977rdmvnc3kn46heam2rqvjfd84vc8h
76downloads
0stars
1versions
Updated 1w ago
v1.0.0
MIT-0

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-tts
  • edge-playback

Bundled helper script:

  • scripts/tts_edge.py

Preferred Chinese test voice:

  • zh-CN-XiaoxiaoNeural

Fast workflow

  1. Put output files in the current caller workspace temp/ directory.
  2. Prefer the bundled Python script scripts/tts_edge.py for standard generation.
  3. If needed, call edge-tts directly.
  4. If sending back to Telegram and the user wants a voice bubble, send the audio with message and set asVoice=true.
  5. If the user wants a normal file/audio attachment, send it normally.
  6. 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 <file> [subtitle] for deterministic cleanup
  • Do not remove the global edge-tts install unless the user explicitly asks

Comments

Loading comments...