Convert text to speech using Microsoft Edge's TTS engine with customizable voices, direct playback, and automatic temporary file cleanup.
数据来源:ClawHub。 在 ClawSkills 查看
选择你使用的 Agent
方法一:命令行安装(推荐)
推荐(无需提前安装 clawhub)
npx clawhub@latest --dir ~/.claude/skills install voice或使用 clawhub CLI(需提前安装)
clawhub --dir ~/.claude/skills install voice⚠️ 需要 Node.js 18+,没有 Node?请使用下方方法二直接下载 ZIP。 安装 Node.js →
方法二:手动下载安装(无需 Node)
下载 ZIP,解压后将文件夹放到以下路径,重启 Agent 即可:
安装路径
~/.claude/skills/voice/💡解压后将文件夹放到上方路径,重启 Agent 即可生效
The Voice skill provides enhanced text-to-speech functionality using edge-tts, allowing you to convert text to spoken audio with multiple playback options.
Before using this skill, you need to install the required dependency:
pip3 install edge-tts
Or use the skill's install action:
await skill.execute({ action: 'install' });
Speak text directly without storing to file:
const result = await skill.execute({
action: 'speak', // New improved action
text: 'Hello, how are you today?'
});
// Audio is played directly and temporary file is cleaned up automatically
Convert text to speech with default settings:
const result = await skill.execute({
action: 'tts',
text: 'Hello, how are you today?'
});
// Returns a MEDIA link to the audio file
With direct playback:
const result = await skill.execute({
action: 'tts',
text: 'Hello, how are you today?',
playImmediately: true // Plays the audio immediately after generation
});
With custom options:
const result = await skill.execute({
action: 'tts',
text: 'This is a sample of voice customization.',
options: {
voice: 'zh-CN-XiaoxiaoNeural',
rate: '+10%',
volume: '-5%',
pitch: '+10Hz'
}
});
Play an existing audio file:
const result = await skill.execute({
action: 'play',
filePath: '/path/to/audio/file.mp3'
});
Get a list of available voices:
const result = await skill.execute({
action: 'voices'
});
Clean up temporary audio files older than 1 hour (default):
const result = await skill.execute({
action: 'cleanup'
});
Or specify a custom age threshold:
const result = await skill.execute({
action: 'cleanup',
options: {
hoursOld: 2 // Clean files older than 2 hours
}
});
The following options are available for text-to-speech:
voice: The voice to use (default: 'zh-CN-XiaoxiaoNeural')rate: Speech rate adjustment (default: '+0%')volume: Volume adjustment (default: '+0%')pitch: Pitch adjustment (default: '+0Hz')Edge-TTS supports many voices in different languages:
temp directorypip3 install edge-tts)安装 Voice 后,可以对 AI 说这些话来触发它
Help me get started with Voice
Explains what Voice does, walks through the setup, and runs a quick demo based on your current project
Use Voice to convert text to speech using Microsoft Edge's TTS engine with custo...
Invokes Voice with the right parameters and returns the result directly in the conversation
What can I do with Voice in my design & creative workflow?
Lists the top use cases for Voice, with example commands for each scenario
将技能文件夹放到 ~/.claude/skills/voice/ 目录(个人级,所有项目可用),或 .claude/skills/voice/(项目级)。重启 AI 客户端后,用 /voice 主动调用,或让 AI 根据上下文自动发现并使用。
Voice 支持 Claude、Cursor、OpenClaw,可与这些 AI 平台无缝集成,扩展其能力。
Voice 可免费安装使用。请查阅仓库了解许可证信息。
Convert text to speech using Microsoft Edge's TTS engine with customizable voices, direct playback, and automatic temporary file cleanup.
Voice 属于「Design & Creative」分类,该分类的技能帮助 AI 智能体在此领域执行专业任务。
Automate my design & creative tasks using Voice
Identifies repetitive steps in your workflow and sets up Voice to handle them automatically