← 返回 Skills 市场
enihsago

voice2feishu

作者 enihsago · GitHub ↗ · v1.0.2 · MIT-0
cross-platform ⚠ suspicious
174
总下载
0
收藏
0
当前安装
3
版本数
在 OpenClaw 中安装
/install voice2feishu
功能描述
文字转语音并发送到飞书。支持两种模式:API 模式(智谱/OpenAI 等)和本地模式(ChatTTS)。
安全使用建议
This skill appears to do exactly what it says: generate TTS (via a 3rd‑party API or a local ChatTTS service) and upload audio to Feishu. Before installing, consider: 1) Only provide FEISHU_APP_ID and FEISHU_APP_SECRET if you trust the skill — these allow sending messages from the app. 2) API mode sends text to whatever TTS_API_URL you configure (e.g., OpenAI or Zhipu); sensitive text will be transmitted to that provider. 3) Local mode may auto-download ~2GB model files (Hugging Face/ModelScope) and runs an unauthenticated Flask server bound to 0.0.0.0 by default — if you run it, consider binding to localhost or using a firewall to restrict access. 4) The scripts write temporary files and logs to /tmp; inspect logs at /tmp/chattts-server.log if you run the service. 5) Ensure required binaries (ffmpeg, ffprobe, jq, curl) and optional Python dependencies are installed from trusted sources. If you want more assurance, review the scripts (they are present in the package) and test in a safe environment first.
功能分析
Type: OpenClaw Skill Name: voice2feishu Version: 1.0.2 The skill bundle provides functionality to convert text to speech and send it to Feishu, but it contains several significant security vulnerabilities. The scripts `api-tts.sh` and `local-tts.sh` perform unsafe string interpolation of user-provided text into JSON payloads for curl commands, which is susceptible to injection. Additionally, `chattts-server.sh` generates and executes a Python Flask server that binds to all network interfaces (0.0.0.0) without any authentication, potentially exposing the host to unauthorized remote access or resource exhaustion. While the behavior aligns with the stated purpose, these architectural flaws represent a high risk for exploitation.
能力评估
Purpose & Capability
Name/description (text→TTS→Feishu) align with the code and required env vars. The only required env vars declared (FEISHU_APP_ID, FEISHU_APP_SECRET) are needed to upload/send messages to Feishu. Optional TTS-related env vars (TTS_API_KEY, TTS_API_URL, CHATTTS_*) are relevant for the two supported modes.
Instruction Scope
SKILL.md and scripts confine actions to expected operations: call a TTS API or local ChatTTS, convert audio, then upload to Feishu. The chattts-server script writes /tmp/chattts_server.py and launches a local Flask service bound to 0.0.0.0, and temporary files/PID/logs are stored under /tmp; this is functional but means the service is network-exposed and unauthenticated by default and the model download instructions will fetch large model files from Hugging Face / ModelScope. No instructions read unrelated system config or request unrelated credentials.
Install Mechanism
This is instruction-only (no package downloads during install). The code relies on common system tools (ffmpeg, ffprobe, jq, curl) and optional Python packages. Model downloads (if using ChatTTS) are from Hugging Face / ModelScope as documented — no obscure or shortener URLs or arbitrary binary downloads in install spec.
Credentials
Requested environment variables are proportional: FEISHU_APP_ID/FEISHU_APP_SECRET are required to obtain Feishu tenant token and send messages. TTS_API_KEY/TTS_API_URL are optional and used only for API mode. No unrelated secrets or broad credential lists are requested.
Persistence & Privilege
always is false and the skill does not request persistent platform privileges. It does create PID/log/temp files under /tmp and can run a background local server (ChatTTS) when asked; it does not modify other skills or system-wide agent settings.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install voice2feishu
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /voice2feishu 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.2
移除示例中的真实用户ID,使用虚拟占位符
v1.0.1
添加 ChatTTS 模型手动下载说明
v1.0.0
Initial release of voice2feishu. - Converts text to voice and sends it to Feishu. - Supports two modes: API (Zhipu/OpenAI TTS) and local (ChatTTS). - Includes commands to start/stop local ChatTTS service. - Flexible recipient options: individuals or group chats via Feishu open_id or chat_id. - Various options for voice style, seed, and integration with multiple TTS APIs. - Requires certain environment variables (Feishu credentials, TTS API details) and dependencies (ffmpeg, ffprobe, jq, curl).
元数据
Slug voice2feishu
版本 1.0.2
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 3
常见问题

voice2feishu 是什么?

文字转语音并发送到飞书。支持两种模式:API 模式(智谱/OpenAI 等)和本地模式(ChatTTS)。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 174 次。

如何安装 voice2feishu?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install voice2feishu」即可一键安装,无需额外配置。

voice2feishu 是免费的吗?

是的,voice2feishu 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

voice2feishu 支持哪些平台?

voice2feishu 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 voice2feishu?

由 enihsago(@enihsago)开发并维护,当前版本 v1.0.2。

💬 留言讨论