← 返回 Skills 市场
martianzenmonk

espeak-ng

作者 MartianZenMonk · GitHub ↗ · v1.0.2
cross-platform ✓ 安全检测通过
667
总下载
0
收藏
1
当前安装
3
版本数
在 OpenClaw 中安装
/install espeak-ng
功能描述
TTS with espeak-ng
使用说明 (SKILL.md)

Espeak-ng

This skill allows you to use espeak-ng to generate speech.

For Smart Agent

Command: python espeak_skill.py \x3Ctext> Example: python espeak_skill.py "Hello world"

For Not Smart Agent

Command: python ./skills/espeak-ng/espeak_skill.py \x3Ctext> Example: python ./skills/espeak-ng/espeak_skill.py "Hello world"

Tools exec

Command: espeak-ng \x3Ctext> Example: espeak-ng "Hello world"

Requirements

  • espeak-ng must be installed on the system
  • On Linux/macOS, ensure you have espeak-ng installed:
  • Ubuntu/Debian: sudo apt-get install espeak-ng
  • CentOS/RHEL: sudo yum install espeak-ng
  • macOS: brew install espeak-ng
  • windows 11 : espeak-ng.msi from https://github.com/espeak-ng/espeak-ng/releases
安全使用建议
This skill is a thin wrapper that calls the local espeak-ng program. Before installing, ensure you have espeak-ng from your OS package manager or the official GitHub releases (avoid untrusted binaries). The Python script sanitizes input by stripping punctuation, so some text may be altered. The skill will execute a local binary with the provided text (expected for TTS); it does not access network endpoints or credentials. If you only want safe, offline TTS, this is appropriate. If you need punctuation, different voices or rates exposed to users, review/modify the script before use.
功能分析
Type: OpenClaw Skill Name: espeak-ng Version: 1.0.2 The skill bundle is designed for text-to-speech using `espeak-ng`. The `espeak_skill.py` script securely executes the `espeak-ng` command via `subprocess.Popen` with a list of arguments, preventing shell injection. Crucially, it sanitizes user input (`sys.argv[1]`) by removing all non-alphanumeric and non-whitespace characters using `re.sub`, effectively mitigating command injection risks. The `SKILL.md` provides clear, benign instructions for the agent and does not contain any prompt injection attempts or instructions for unauthorized actions. All components align with the stated purpose without exhibiting malicious intent or significant vulnerabilities.
能力评估
Purpose & Capability
Name/description (TTS with espeak-ng) match the code and instructions: the skill runs the local espeak-ng binary to produce speech. There are no unrelated requirements or credentials.
Instruction Scope
SKILL.md only instructs running the included Python wrapper or the espeak-ng binary and documents how to install espeak-ng. The runtime script reads only the provided CLI argument (sanitizes it) and calls espeak-ng; it does not reference files, network endpoints, or extra environment variables.
Install Mechanism
There is no install spec (instruction-only skill plus a small local script). No downloads or archive extraction are present.
Credentials
The skill declares no required environment variables or credentials and the code does not access any environment secrets or unrelated config paths.
Persistence & Privilege
The skill does not request always:true and does not attempt to modify other skills or system-wide settings. It simply executes a local binary when invoked.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install espeak-ng
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /espeak-ng 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.2
- Updated formatting in SKILL.md for improved readability. - Added YAML front matter section separator in SKILL.md. - No functional or code changes; documentation only.
v1.0.1
- Added separate usage instructions for "Smart Agent" and "Not Smart Agent" environments. - Clarified and formatted command usage examples for each environment. - Included a "Tools exec" section with direct espeak-ng command usage. - No functional changes to code or files.
v1.0.0
Initial release of espeak-ng skill. - Provides text-to-speech (TTS) capability using espeak-ng. - Simple command to generate speech: espeak_skill.py <text>. - Platform support: Linux, macOS, Windows 11. - Requires espeak-ng to be installed separately.
元数据
Slug espeak-ng
版本 1.0.2
许可证
累计安装 1
当前安装数 1
历史版本数 3
常见问题

espeak-ng 是什么?

TTS with espeak-ng. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 667 次。

如何安装 espeak-ng?

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

espeak-ng 是免费的吗?

是的,espeak-ng 完全免费(开源免费),可自由下载、安装和使用。

espeak-ng 支持哪些平台?

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

谁开发了 espeak-ng?

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

💬 留言讨论