← Back to Skills Marketplace
martianzenmonk

espeak-ng

by MartianZenMonk · GitHub ↗ · v1.0.2
cross-platform ✓ Security Clean
667
Downloads
0
Stars
1
Active Installs
3
Versions
Install in OpenClaw
/install espeak-ng
Description
TTS with espeak-ng
README (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
Usage Guidance
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.
Capability Analysis
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.
Capability Assessment
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.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install espeak-ng
  3. After installation, invoke the skill by name or use /espeak-ng
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
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.
Metadata
Slug espeak-ng
Version 1.0.2
License
All-time Installs 1
Active Installs 1
Total Versions 3
Frequently Asked Questions

What is espeak-ng?

TTS with espeak-ng. It is an AI Agent Skill for Claude Code / OpenClaw, with 667 downloads so far.

How do I install espeak-ng?

Run "/install espeak-ng" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is espeak-ng free?

Yes, espeak-ng is completely free (open-source). You can download, install and use it at no cost.

Which platforms does espeak-ng support?

espeak-ng is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created espeak-ng?

It is built and maintained by MartianZenMonk (@martianzenmonk); the current version is v1.0.2.

💬 Comments