tts:config

tts:config is a command for Claude Code from chendrizzy/claude-tts. It costs 26 tokens per session (917 once invoked), scanned A, original, MIT.

A command for viewing or changing claude-tts settings, where TTS means text-to-speech.

In plain words
What is it for?
It is for managing settings such as voice, filtering, summarising, routing, audio, performance, logging, and feature flags in the claude-tts configuration.
Why use it?
It provides one place to inspect settings or change a specific option, then restarts the speech daemon so the change takes effect.

Command for Claude Code

Written for Claude Code: $ARGUMENTS substitution.

Part of the claude-tts plugin — 1 skill, 8 commands, 5 hooks shipped together

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.

agentmods
npx agentmods add commands/chendrizzy/claude-tts/config
Clone the repo
git clone --depth 1 https://github.com/chendrizzy/claude-tts

Made for: Claude Code.

Or install claude-tts, the plugin that ships this one along with the rest of its 1 skill, 8 commands, 5 hooks.

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 tts:config

README.md
[![agentmods](https://agentmods.dev/badge/commands/chendrizzy/claude-tts/config.svg)](https://agentmods.dev/commands/chendrizzy/claude-tts/config)
Your own site
<a href="https://agentmods.dev/commands/chendrizzy/claude-tts/config"><img src="https://agentmods.dev/badge/commands/chendrizzy/claude-tts/config.svg" alt="Measured on agentmods" height="20"></a>
Per session 26 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 917 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00026 $0.00917
Opus 5 $0.00013 $0.00458
Sonnet 5 $0.00005 $0.00183
Haiku 4.5 $0.00003 $0.00092

Measured 5d ago against content hash a34c71aef7ec, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

tts:config scanned grade A with 0 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 5d 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

commands/config.md · 67 lines

What it actually says

View or change claude-tts settings. This edits the same config /tts:setup writes and /tts:voice edits — it just covers every block, not only voice. The annotated schema (every key + what it does) lives in config.example.json.

Config file: ~/.config/claude-tts/config.json. Argument (optional): $ARGUMENTS — a dotted key, optionally followed by a value.

Steps:

  1. Read ~/.config/claude-tts/config.json. If it does not exist, tell the user to run /tts:setup first and stop. Keys beginning with _ are documentation (comments, option lists, ranges) — never show them as settings, but do read them as hints (below).

  2. No argument → print the current settings grouped by block (voice, filtering, summarizer, routing, statusline, audio, performance, logging, feature_flags, and any others present). Show each real key's value; suppress the _-prefixed meta keys. After the listing, note that the annotated reference is config.example.json, and that /tts:voice is the friendlier path for voice.engine/voice.name.

  3. A dotted key, no value (e.g. summarizer.soft_tokens) → show that key's current value and, if a sibling hint exists, its meaning: look for _<key>_desc, _<key>_options, _<key>_range, or a block _comment.

  4. A dotted key and a value (e.g. voice.rate 1.1, feature_flags.legacy_speak_enabled false) → set it:

    • Delegate voice — if the key is voice.engine or voice.name, stop and run /tts:voice instead; it knows engine↔voice compatibility and speaks a confirmation. Don't edit those here.
    • Validate against the key's own hints, in this order: an _<key>_options / _levels list → the value must be one of them; an _<key>_range → within it; otherwise the value must match the JSON type of the current value (bool stays bool, number stays number, string stays string). Reject with the allowed set/range/type if it doesn't fit — do not write an invalid value.
    • Back up the current file to config.json.bak (same dir), then write the change. Preserve every other key exactly, including all _-prefixed documentation keys, and emit valid JSON (2-space indent, like the original).
    • If the key does not exist in the file, say so and point to config.example.json rather than inventing a new key — only offer to add it if the example documents it.
  5. Apply. The daemon reads config at start, except the feature_flags block, which is re-read per request. So:

    • If the only change was under feature_flags, it takes effect immediately — no restart.
    • Otherwise restart the daemon so the change applies, and confirm the socket is bound afterward at ${CLAUDE_TTS_SOCKET:-${XDG_RUNTIME_DIR:-/tmp}/claude-tts.sock}.
  6. If you changed a summarizer budget key (soft_tokens, slack_tokens, inner_timeout_s), suggest /tts:doctor — its budget-vs-timeout check verifies a full-budget summary still completes before the inner timeout.

  7. Speak a one-line confirmation of what changed (or, for a read, keep it silent — a view changes nothing).

Do not hardcode absolute personal paths; read locations from ~/.config/claude-tts and the XDG socket expression above. If the daemon is not installed, say so and suggest /tts:setup.

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. 5d ago First seen · 67 lines · 26 tokens per session scan A a34c71aef7ec

Subscribe to this mod's changes

tts:config is a command published in the GitHub repository chendrizzy/claude-tts (1 stars, last pushed 19d ago), licensed MIT. It adds 26 tokens to every session and 917 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.