skills$openclaw/kokoro-tts
edkief6.7k

by edkief

kokoro-tts – OpenClaw Skill

kokoro-tts is an OpenClaw Skills integration for coding workflows. Generate spoken audio from text using the local Kokoro TTS engine. Use when the user asks to "say" something, requests a voice message, or wants text converted to speech.

6.7k stars2.8k forksSecurity L1
Updated Feb 7, 2026Created Feb 7, 2026coding

Skill Snapshot

namekokoro-tts
descriptionGenerate spoken audio from text using the local Kokoro TTS engine. Use when the user asks to "say" something, requests a voice message, or wants text converted to speech. OpenClaw Skills integration.
owneredkief
repositoryedkief/kokoro-tts
languageMarkdown
licenseMIT
topics
securityL1
installopenclaw add @edkief/kokoro-tts
last updatedFeb 7, 2026

Maintainer

edkief

edkief

Maintains kokoro-tts in the OpenClaw Skills directory.

View GitHub profile
File Explorer
6 files
.
references
voices.md
488 B
scripts
tts.js
1.6 KB
_meta.json
272 B
SKILL.md
1.5 KB
SKILL.md

name: kokoro-tts description: Generate spoken audio from text using the local Kokoro TTS engine. Use when the user asks to "say" something, requests a voice message, or wants text converted to speech.

Kokoro TTS

This skill allows you to generate high-quality AI speech using a local or remote Kokoro-TTS instance.

Configuration

The skill uses the KOKORO_API_URL environment variable to locate the API.

  • Default: http://localhost:8880/v1/audio/speech
  • To Configure: Add KOKORO_API_URL=http://your-server:port/v1/audio/speech to your .env file or environment.

Usage

To generate speech, run the included Node.js script.

Command

node skills/kokoro-tts/scripts/tts.js "<text>" [voice] [speed]
  • text: The text to speak. Wrap in quotes.
  • voice: (Optional) The voice ID. Defaults to af_heart.
  • speed: (Optional) Speech speed (0.25 to 4.0). Defaults to 1.0.

Example

node skills/kokoro-tts/scripts/tts.js "Hello Ed, this is Theosaurus speaking." af_nova

Output

The script will output a single line starting with MEDIA: followed by the path to the generated MP3 file. OpenClaw will automatically pick this up and send it as an audio attachment.

Example Output: MEDIA: media/tts_1706745000000.mp3

Available Voices

Common choices:

  • af_heart (Default, Female, Warm)
  • af_nova (Female, Professional)
  • am_adam (Male, Deep)
  • bf_alice (British Female)

For a full list, see references/voices.md or query the API.

README.md

No README available.

Permissions & Security

Security level L1: Low-risk skills with minimal permissions. Review inputs and outputs before running in production.

Requirements

  • OpenClaw CLI installed and configured.
  • Language: Markdown
  • License: MIT
  • Topics:

Configuration

The skill uses the `KOKORO_API_URL` environment variable to locate the API. - **Default:** `http://localhost:8880/v1/audio/speech` - **To Configure:** Add `KOKORO_API_URL=http://your-server:port/v1/audio/speech` to your `.env` file or environment.

FAQ

How do I install kokoro-tts?

Run openclaw add @edkief/kokoro-tts in your terminal. This installs kokoro-tts into your OpenClaw Skills catalog.

Does this skill run locally or in the cloud?

OpenClaw Skills execute locally by default. Review the SKILL.md and permissions before running any skill.

Where can I verify the source code?

The source repository is available at https://github.com/openclaw/skills/tree/main/skills/edkief/kokoro-tts. Review commits and README documentation before installing.