Catches grammar and idiom issues in your English. Gives idiomatic English when you write Chinese.
For code, commands, and everything else — silent.
Requires Python 3.9+ · Claude Code installed · one command registers the hook
Demo
✦ Better Phrase · English tip
· "todya" → "today" — typo, letters out of order.
· comma splice — two independent clauses need a period.
✍️ Better phrase: "Hey, how's it going today? Also, tell me a joke."
✦ Better Phrase · English
"I'd like to schedule a meeting with the client next Tuesday to go over the contract details."
Code, commands, or Chinese without translation needed — nothing. Zero tokens, zero noise.
Why not CLAUDE.md
"Polish my English" as a CLAUDE.md rule looks the same, but charges you on every single prompt.
| Rules in CLAUDE.md | Better Phrase | |
|---|---|---|
| Token cost | Every prompt loads ~400 tokens of rules | Only when actually triggered |
| Trigger reliability | LLM judges (might forget or false-positive) | Deterministic, 100% consistent |
| Pure Chinese / code prompts | Still cost tokens | Zero cost, completely silent |
5–10× less token spend over a working day, with more reliable triggering.
Features
Grammar, word choice, and idiom fixes — plus a native-style rewrite.
Idiomatic English version of what you said. Toggleable.
Code, commands, and irrelevant inputs trigger nothing.
Tips explained in Chinese, focused on 中式英语 patterns.
The hook is faster than Claude's own response latency.
No API calls, no telemetry, no data leaves your machine.
Install
$ curl -fsSL https://betterphrase.roseduan.cn/install.sh | bash
$ git clone https://github.com/roseduan/better-phrase.git ~/.claude/skills/better-phrase $ cd ~/.claude/skills/better-phrase $ ./install.sh
What the installer does
~/.claude/ exists and python3 / git are available~/.claude/settings.jsonhooks.UserPromptSubmit✦ Better Phrase · English tip block appear.