server

server is a skill for Claude Code from terrylica/cc-skills. It costs 35 tokens per session (837 once invoked), scanned C, original, MIT.

A skill for starting, stopping, and checking a local Kokoro text-to-speech server. Text-to-speech converts written text into spoken audio, and the server provides an HTTP interface for requesting that audio.

In plain words
What is it for?
Use it when developing or testing software that sends speech requests to the local Kokoro server, or when checking whether that server is running.
Why use it?
It removes the need to remember the commands for running the server in the foreground or as a macOS background service.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: names the AskUserQuestion tool.

Part of the kokoro-tts plugin — 5 skills shipped together , and of cc-skills

Good fit Use it when developing or testing software that sends speech requests to the local Kokoro server, or when checking whether that server is running.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/terrylica/cc-skills/server
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add terrylica/cc-skills --skill server
Clone the repo
git clone --depth 1 https://github.com/terrylica/cc-skills

Made for: Claude Code.

Or install kokoro-tts, the plugin that ships this one along with the rest of its 5 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for server

README.md
[![agentmods](https://agentmods.dev/badge/skills/terrylica/cc-skills/server.svg)](https://agentmods.dev/skills/terrylica/cc-skills/server)
Your own site
<a href="https://agentmods.dev/skills/terrylica/cc-skills/server"><img src="https://agentmods.dev/badge/skills/terrylica/cc-skills/server.svg" alt="Measured on agentmods" height="20"></a>
Per session 35 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 837 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 2 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00035 $0.00837
Opus 5 $0.00017 $0.00418
Sonnet 5 $0.00007 $0.00167
Haiku 4.5 $0.00003 $0.00084

Measured 2d ago against content hash 59ef4f2e4a61, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade C, and why

server scanned grade C with 2 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Downloads and executes remote codehighSupply chain

curl | sh runs whatever the server returns today, which is not necessarily what it returned when this was reviewed.

curl -s http://127.0.0.1:8779/health | python3 -m json.tool

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -s http://127.0.0.1:8779/health | python3 -m json.tool
plugins/kokoro-tts/skills/server/SKILL.md · 80 lines

How it starts

The opening of the file, as written. The whole thing — 80 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Kokoro TTS Server

Manage the Kokoro TTS HTTP server — an OpenAI-compatible /v1/audio/speech endpoint on localhost:8779.

Self-Evolving Skill: This skill improves through use. If instructions are wrong, parameters drifted, or a workaround was needed — fix this file immediately, don't defer. Only update for real, reproducible issues.

Server Overview

The server provides:

  • GET /health — Health status JSON
  • GET /v1/models — List available models
  • POST /v1/audio/speech — Synthesize text to audio (WAV, MP3, Opus, PCM)

Quick Start

Start (foreground, for testing)

~/.local/share/kokoro/.venv/bin/python ~/.local/share/kokoro/tts_server.py

Start (launchd, for production)

Per the macOS launchd policy, the launchd plist must launch a compiled Swift binary (not a bash script). Guide the user through:

  1. Compile Swift launcher binary
  2. Create launchd plist at ~/Library/LaunchAgents/com.terryli.kokoro-tts-server.plist
  3. Bootstrap: launchctl bootstrap gui/$(id -u) ~/Library/LaunchAgents/com.terryli.kokoro-tts-server.plist

Stop

launchctl bootout gui/$(id -u) ~/Library/LaunchAgents/com.terryli.kokoro-tts-server.plist

Verify

curl -s http://127.0.0.1:8779/health | python3 -m json.tool

Expected: {"status": "ok", "provider": "kokoro-tts-mlx", "model": "mlx-community/Kokoro-82M-bf16", "device": "mlx-metal"}

Environment Variables

Variable Default Purpose
KOKORO_SERVER_PORT 8779 Listen port
KOKORO_SERVER_HOST 127.0.0.1 Bind address
KOKORO_DEFAULT_VOICE af_heart Default voice
KOKORO_DEFAULT_LANG en-us Default language
KOKORO_DEFAULT_SPEED 1.0 Speech speed (0.1–5.0)
KOKORO_PLAY_LOCAL 0 Play via afplay

Troubleshooting

Issue Cause Solution
Port already in use Another server running lsof -i :8779 to find, kill it
Model load fails Not installed Run /kokoro-tts:install first
Slow first request Warmup synthesis Normal — first request triggers model load

Read the full file on GitHub · 80 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago First seen · 80 lines · 35 tokens per session scan C 59ef4f2e4a61

Subscribe to this mod's changes

server is a skill published in the GitHub repository terrylica/cc-skills (62 stars, last pushed today), licensed MIT. It adds 35 tokens to every session and 837 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it C with 2 findings (downloads and executes remote code, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-05.