pronounce
CLAUDE.md41 starsChanged 7 months agoMITView on GitHub
The core runtime is one Bash CLI with no npm runtime, paired with an agent skill: The CLI is the engine; the skill is the AI-side trigger. Both are installed by install.sh (CLI → $PREFIX/bin, skill → $CLAUDE_SKILLS_DIR/pronounce-word/; skill step is skipped if the skills dir doesn't exist). Release guards are dependency-light:
In this repository3 other files it gives its agents.
- docs/llms-full.txtllms.txt
- docs/llms.txtllms.txt
- pronounce-wordSkill
The file
We split this CLAUDE.md into the rules it gives an agent
1 rule. About 0 are common, 0 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 41
No CLI runtime deps: Keep the CLI in Bash and route audio through the existing backend helpers.
≈ “Common” is an estimate: at least 1 in 5 of the 12,729 CLAUDE.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
CLAUDE.md
This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
What this repo ships
The core runtime is one Bash CLI with no npm runtime, paired with an agent skill:
bin/say-it— Bash CLI with no npm runtime. It detects macOSsay, Linuxespeak-ng/espeak, or Windows PowerShellSystem.Speech, then speaks a word N times (default 3). File output is available on backends that can render it.skills/pronounce-word/SKILL.md— Claude Code skill that auto-triggers on "X 怎么读" / "how to pronounce X" / etc. and shells out tosay-itso the user actually hears the audio instead of just reading IPA.
The CLI is the engine; the skill is the AI-side trigger. Both are installed by install.sh (CLI → $PREFIX/bin, skill → $CLAUDE_SKILLS_DIR/pronounce-word/; skill step is skipped if the skills dir doesn't exist).
Common commands
./install.sh # install CLI + skill
PREFIX=/custom ./install.sh # override install prefix
CLAUDE_SKILLS_DIR=/path ./install.sh # override skill target
./bin/say-it simile # smoke-test without installing
./bin/say-it -v Daniel -n 1 -r 130 word # voice / repetitions / rate
./bin/say-it --list # list every macOS voiceRelease guards are dependency-light:
node --test tools/test-v2-audio.mjs
python3 -m unittest tools/test_build_v2_data.py tools/test_make_og_all.py tools/test_chrome_dictionary.py
bash tools/lint-dict.sh
bash tools/smoke-test.shConventions when editing
- Cross-platform as of v0.3 (CLI and VS Code extension). macOS →
say, Linux →espeak-ng(preferred) orespeak, Windows → PowerShellSystem.Speech.Synthesis. macOS quality stays the gold standard; the rest are functional best-effort. All TTS goes through thetts_speak/tts_save/audio_playhelpers inbin/say-it— don't reintroduce directsay/afplaycalls or platform gates. - Opinionated defaults are load-bearing. 3 repetitions, voice
Samantha, rate 130 wpm (RATE=130inbin/say-it; keep the CLI, its--help, andskills/pronounce-word/SKILL.mdall stating 130). The VS Code extension'spronounce.ratedefault inintegrations/vscode/package.jsonis kept in lockstep (also 130). Note the(rate-175)/25PowerShell mapping inbin/say-itandspeak.tsis a wpm→SAPI-scale anchor, NOT the default — leave it at 175. README §Contributing calls these out explicitly — change with care. - Voice presets (
Samantha/Daniel/Karen/Moira/Tessa) are documented in README and SKILL.md. If you add/rename one, update both. - CLI ↔ skill drift is the main hazard. Flag changes in
bin/say-itmust be mirrored inskills/pronounce-word/SKILL.md(the skill callssay-it <word>,say-it -o,say-it -r). - No CLI runtime deps. Keep the CLI in Bash and route audio through the existing backend helpers. Website build dependencies are separate; do not introduce an npm runtime requirement for
say-it.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

