← 返回 Skills 市场
Feishu Edge TTS Voice
作者
dadaniya99
· GitHub ↗
· v1.0.0
1539
总下载
2
收藏
10
当前安装
1
版本数
在 OpenClaw 中安装
/install feishu-edge-tts-voice
功能描述
飞书语音消息发送技能。使用 Edge TTS(微软,免费无限次)生成语音并以飞书语音气泡形式发送。当用户要求用语音回复、发语音消息、TTS 朗读内容时触发。默认音色:云希(zh-CN-YunxiNeural,活泼阳光男声)。
使用说明 (SKILL.md)
飞书语音消息发送
快速使用
python3 ~/.openclaw/workspace/skills/feishu-voice/scripts/send_voice.py \
"要说的内容" \
\x3Copen_id>
工作流程
- edge-tts 生成 mp3
- ffmpeg 转换为 opus(飞书语音格式)
- 飞书 API 上传文件获取 file_key(file_type=opus)
- 发送 msg_type=audio 消息
关键:必须用 msg_type: audio + file_key,不能用普通文件上传,否则显示为文件而非语音气泡。
音色选择
# 查看所有中文音色
edge-tts --list-voices | grep zh-CN
# 常用中文男声
zh-CN-YunxiNeural # 云希 - 活泼阳光(默认,小龙虾专用)
zh-CN-YunjianNeural # 云间 - 激情澎湃
zh-CN-YunxiaNeural # 云夏 - 可爱萌
zh-CN-YunyangNeural # 云扬 - 专业严肃
# 常用中文女声
zh-CN-XiaoxiaoNeural # 小小 - 温柔
zh-CN-XiaoyiNeural # 小艺 - 活泼
# 指定音色发送
python3 ~/.openclaw/workspace/skills/feishu-voice/scripts/send_voice.py \
"内容" \x3Copen_id> --voice zh-CN-YunyangNeural
依赖安装
pip install edge-tts # 一次性安装,永久免费
# ffmpeg 通常已预装,如没有:yum install ffmpeg / apt install ffmpeg
飞书配置
需要 openclaw.json 中的 feishu appId / appSecret,脚本自动读取。
安全使用建议
Before installing or running this skill: (1) Inspect ~/.openclaw/openclaw.json and confirm it contains only the Feishu appId/appSecret you intend to use — don't point the script at a file containing broad secrets. (2) Prefer creating a Feishu app with minimal permissions for this purpose. (3) Because the registry metadata does not declare the required config/credentials, treat that omission as a red flag: either ask the publisher to update the metadata or avoid installing until it's fixed. (4) Review the included scripts/send_voice.py yourself (it is small and readable); if you run it, do so in an environment where executing curl/ffmpeg/edge-tts is acceptable (or sandboxed). (5) If you want stronger guarantees, request the skill be updated to accept credentials via a clearly-declared config path or dedicated environment variables (and update registry metadata accordingly). Additional info that would raise confidence to 'high': metadata that explicitly declares the required config path and primary credential, or an updated script that only reads a minimal, well-documented credentials file.
功能分析
Type: OpenClaw Skill
Name: feishu-edge-tts-voice
Version: 1.0.0
The skill bundle is designed to send voice messages via Feishu using Edge TTS and FFmpeg. All network calls are directed to the legitimate Feishu API (`open.feishu.cn`). While the script `scripts/send_voice.py` uses `subprocess.run` for `ffmpeg` and `curl`, the inputs to these commands (temporary file paths, API tokens from JSON responses, hardcoded parameters) appear to be controlled and do not present clear shell injection vulnerabilities. The `SKILL.md` instructions are straightforward and do not contain any prompt injection attempts against the agent. The script accesses Feishu credentials (`appId`, `appSecret`) from `~/.openclaw/openclaw.json`, but this is necessary for its stated purpose and there is no evidence of exfiltration or misuse of these credentials.
能力评估
Purpose & Capability
The skill's functionality (Edge TTS -> convert -> upload to Feishu) matches the code and instructions. However, the package metadata declares no required credentials or config paths while the runtime script expects a ~/.openclaw/openclaw.json containing feishu appId/appSecret. That omission is an inconsistency: the skill does need Feishu credentials (in a config file) even though the registry metadata lists none.
Instruction Scope
SKILL.md and the script keep to a narrow scope: generate audio with edge-tts, convert with ffmpeg, obtain a Feishu tenant token, upload the opus file, and send an audio message. Network calls go only to open.feishu.cn and no other external endpoints. One scope note: the script loads the entire openclaw.json and then accesses cfg['channels']['feishu'] — it only uses feishu fields, but because it reads the whole config file it could access other secrets if modified.
Install Mechanism
There is no automated install spec (instruction-only plus a script). The README tells users to pip install edge-tts and to ensure ffmpeg is present. This is low-risk compared with arbitrary download-and-extract installs. Users should still install edge-tts/ffmpeg from trusted sources.
Credentials
The skill requires Feishu app credentials (appId/appSecret) but does not declare them in requires.env or required config paths in the registry metadata; instead it expects them inside ~/.openclaw/openclaw.json. That mismatch is a proportionality/visibility problem. Also, because the script opens the entire JSON file, if you keep other sensitive credentials there they could be read into memory — the script currently only uses the Feishu fields, but the practice means sensitive data is being accessed without being declared.
Persistence & Privilege
The skill is not always-included and is user-invocable. It does not modify other skills or system configuration. No elevated persistence privileges are requested.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install feishu-edge-tts-voice - 安装完成后,直接呼叫该 Skill 的名称或使用
/feishu-edge-tts-voice触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
用微软 Edge TTS 发送飞书语音气泡。免费无限次,支持中文男/女声,默认云希音色。
元数据
常见问题
Feishu Edge TTS Voice 是什么?
飞书语音消息发送技能。使用 Edge TTS(微软,免费无限次)生成语音并以飞书语音气泡形式发送。当用户要求用语音回复、发语音消息、TTS 朗读内容时触发。默认音色:云希(zh-CN-YunxiNeural,活泼阳光男声)。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 1539 次。
如何安装 Feishu Edge TTS Voice?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install feishu-edge-tts-voice」即可一键安装,无需额外配置。
Feishu Edge TTS Voice 是免费的吗?
是的,Feishu Edge TTS Voice 完全免费(开源免费),可自由下载、安装和使用。
Feishu Edge TTS Voice 支持哪些平台?
Feishu Edge TTS Voice 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Feishu Edge TTS Voice?
由 dadaniya99(@dadaniya99)开发并维护,当前版本 v1.0.0。
推荐 Skills