Commands¶
/keryx¶
| Command | What it does |
|---|---|
/keryx off |
Stops speech, shuts the daemon down and unloads the summarizer, freeing about 4.4 GB of VRAM |
/keryx on |
Turns speech back on; the next prompt starts the daemon |
/keryx status |
Shows the settings, whether the daemon is running, and one line per setup check |
/keryx again |
Says this terminal's last line again |
/keryx:pronounce |
Teaches keryx how to say a word |
/keryx is a mod command, available
from Claude Code 2.1.287. It runs at once, without a Claude turn, even while Claude is working.
On an older Claude Code it is an unknown command. Run keryx on, off, again or status in
a shell instead.
To silence one session only, start it with KERYX_ENABLED=false in its environment; its hook
then exits at once. speak_only (see Configuration) does the same for every
session but the ones it names, and applies to running sessions too.
on and off write only the enabled key to config.json. If KERYX_ENABLED is set in the
environment, it overrides the file, and keryx prints a note saying so.
Shell commands¶
The same keryx binary runs from a shell:
| Command | What it does |
|---|---|
keryx on, keryx off |
Turn speech on or off |
keryx speak-only [ID\|FILE ...] |
Let only these sessions speak. An argument with a /, or naming something that exists here, is stored as an absolute path (a folder is refused; a note if it is not a file yet); anything else is a session id. --everyone lets every session speak again; no argument shows the list |
keryx reserve [VOICE ...] |
Hand these voices (a name, such as michael, or am_michael) to a session only when it asks with KERYX_VOICE: never from the rotation or a repo's home voice. --none clears the list; no argument shows it. The daemon reads it when it starts |
keryx status |
Show settings, whether the daemon is up, and one line per setup check (exit 1 if one is missing) |
keryx say [--out FILE] [--voice NAME] [TEXT] |
Speak TEXT as given, or write it to FILE without playing (-: read from stdin) |
keryx again |
Say this terminal's last line again |
keryx pronounce [WORD [SAYING]] |
List, forget or set how to say WORD |
keryx voice [NAME] |
Preview the voices and pick one by ear, or set the one named (name or number) |
keryx voices [N] |
Play a line in each of the first N voices in the catalogue (default 8) |
keryx stop |
Cut off current speech |
keryx daemon |
Run the speech daemon in the foreground |
Say that again¶
Typing or dictating "say that again" replays the last line without sending the prompt to Claude. The phrases the code matches include "say that again", "say it once more", "come again", "what did you say" and "I didn't catch that". The whole prompt must be the request: "say that again in Spanish" goes to Claude, and so does any prompt over 60 characters.
A replay says only what was heard. The line to replay is the one whose first sentence has started to play. If nothing has been spoken yet, or no daemon runs, the prompt goes to Claude as usual.
Voices¶
Each terminal speaks in its own voice, through /clear and resume too. A repo keeps its voice
across restarts. A second terminal open in the same repo borrows another voice. Every single
voice is handed out before any blend, even one an idle repo calls home; once all are held, new
terminals get blends of two, and a terminal on a blend moves to a single voice once one
frees up, its repo's own voice first. Set distinct_voices to false to
speak every terminal in voice.
To change a voice, run keryx voice in a terminal (with ! inside Claude Code): it plays a
sample line in each voice, then asks you to pick one by number or name. keryx voice bella sets
one straight away. The terminal you ran it in switches to the pick at once; it also becomes the
voice that leads new terminals, which takes effect once the daemon restarts (keryx off, then
on, or its idle exit). Other terminals keep theirs.
The picker offers the rotation pool plus a few specialty voices, such as the nicole headphone
voice, which come next in rotation after the pool voices. The voice setting itself accepts any Kokoro voice, even one
outside the picker.
A line starts with the repo's name when it comes from a different repo than the last one.
Pronunciations¶
Kokoro gets some words wrong, repo names especially. keryx pronounce teaches it.
# set, then keryx says the word once
keryx pronounce ajsoftworks AJ soft works
# list
keryx pronounce
# forget
keryx pronounce ajsoftworks
Pronunciations live in ~/.config/keryx/pronounce.json (under $XDG_CONFIG_HOME when set) as
a JSON object of word to saying. A word matches as a whole word, without regard to case,
longest first. The replacement happens in each sentence just before synthesis, so repo names in
announcements are covered. The daemon rereads the file when it changes.
The keryx:pronounce skill¶
Claude can run /keryx:pronounce itself. When you say "ajsoftworks should sound like AJ soft
works", it runs keryx pronounce and reports what changed in one line. It also lists and
forgets pronunciations on request.
Plain words and phonemes¶
Write how a word should sound as plain words or spelled-out letters: AJ, F L.
When no spelling can reach a sound, write phonemes between slashes, in espeak's IPA, with the stress mark before the stressed vowel:
espeak reads techne as /tˈɛkn/, and no respelling yields the Greek χ. A saying between
slashes keeps the phonemes: the sentence is phonemized around the word and handed to Kokoro as
phonemes. Kokoro's phoneme set has the Greek x, θ, ð, ɣ and ʝ.
Two conveniences apply inside slashes. An ASCII g is read as IPA's script g, and an ASCII
' as the stress mark, since Kokoro has no token for either look-alike. Commas and colons are
Kokoro's pauses and stay as written.
keryx refuses a symbol Kokoro cannot voice and names it, for example
Kokoro has no sound for ...; not saved. A pronounce.json that cannot be read as a JSON
object stops keryx pronounce with an error rather than overwriting it.