jaklimoff/claude-grammar

28 stars · Last commit 2026-11-05

Checks the English of each prompt you send to Claude Code, shows the fixes under it, and keeps them so /grammar stats and /grammar review show the mistakes you make most

README preview

# grammar

[![test](https://github.com/jaklimoff/claude-grammar/actions/workflows/test.yml/badge.svg)](https://github.com/jaklimoff/claude-grammar/actions/workflows/test.yml)

A Claude Code plugin that checks the English of each prompt you send and shows the fixes right under it.

<picture>
  <source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/jaklimoff/claude-grammar/media/tour-dark.gif">
  <img alt="A tour in six scenes. A prompt's mistakes are struck through in red under it, with the fixes in green and why. A second line says how a native speaker would put it. /grammar stats lists mistakes by kind and the fixes you repeat. /grammar review draws a summary card with bars, then habits to work on with your own fixes as examples. /grammar ignore add keeps your jargon unflagged and /grammar help shows the settings. tools/import-history.ts fills the history from past prompts." src="https://raw.githubusercontent.com/jaklimoff/claude-grammar/media/tour-light.gif">
</picture>

If English is not your first language, you write a lot of it in your prompts, and nobody tells you where it goes wrong. Claude understands you anyway, so the same mistakes stay. With this plugin, Haiku proofreads each prompt after you send it, and a dim line under that prompt shows what to fix: the wrong words struck through in red, the fixes in green, and a few words on why. When a sentence still sounds off once the grammar is fixed, a second line shows how a native speaker would say it.

Over time it keeps your fixes, so `/grammar stats` shows the mistakes you make most and `/grammar review` turns them into a few rules written for you, with your own mistakes as the examples.

<picture>
  <source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/jaklimoff/claude-grammar/media/cost-brand-dark.png">
  <img alt="What the grammar check costs: a 50-prompt session is $0.004 to $0.02. Per check: a clean prompt $0.00007 (602 tokens in, 21 out); 3 mistakes $0.0003 to $0.0005 (613 in, 425 to 799 out); 5+ mistakes $0.0002 to $0.0003 (638 in, 239 to 541 out). Claude Haiku 5.5 at low effort, API prices, measured 2026-10-30 on version 1.2.0." src="https://raw.githubusercontent.com/jaklimoff/claude-grammar/media/cost-brand-light.png">
</picture>

View full repository on GitHub →