ClaudeCodeMod

All shelves / Mods / Review

grammar-fix

By kakha13

grammar-fix is a Claude Code review mod by kakha13.

Fixes the grammar of an English prompt before Claude reads it, and shows each change under the message.

Draws

Install

The marketplace name is kakha13.

In Claude Code
/plugin install grammar-fix --marketplace kakha13/claude
Open the repo

It runs inside the Claude Code process. The side panel is only what the author's README names. Read the repo before you install, or run claude plugin validate on the plugin folder.

Version
0.3.1
Repo stars
13
Last change
2026-10-06

What it can reach

  • Draws in the session

Needs Claude Code v2.1.275 or later, in an interactive session. It skips claude -p and Agent SDK runs. It fixes the grammar and spelling of an English prompt, sends Claude the corrected version, and shows what changed. Under your message, dim lines show each change. It replaces the prompt, and Claude gets only the corrected prompt. /grammar-fix turns it off or back on. While it is off, the status line shows grammar-fix: off. The setting is remembered across sessions. The README does not name the settings file. It sends the prompt to Haiku with proofreading instructions: fix grammar, spelling, and punctuation, and never touch code, paths, URLs, or commands. Pasted text, fenced code, and inline code are swapped for placeholders first, so Haiku never sees them. It also skips a prompt that contains Georgian. It skips slash commands, lines starting with ! or #, prompts longer than 4,000 characters, and messages you did not type. If Haiku fails, takes longer than 10 seconds, or answers the prompt instead of fixing it, the prompt goes to Claude as typed. A broken mod never blocks a prompt. One small Haiku call per prompt it handles, about 1 to 3 seconds. Function hooks are described as early access, and the README does not name an enable flag. A checkout can load the folder for one session with claude --plugin-dir. The shell marketplace add is a different route, not this install line.

The plugin folder has no README. These lines are the repository README. The skills folder keeps an older spelling-and-grammar skill. Use the mod. The install line has no @suffix. The marketplace name is kakha13. The same marketplace also lists georgian-bridge. Source calls $.model.complete on the session with model haiku, so the call is the session's Claude, not a separate host. Source stores the toggle under the key enabled. After the prompt is replaced, source logs the changes with $.ui.log. hal-grammar-check draws corrections above the prompt while you type, on Haiku through the Claude account or local Ollama. Echo, installed as language-coach, keeps the original prompt and shows cleaner wording. This one replaces the prompt and shows the diff under the message.

Demo

The grammar-fix section on the author's GitHub page
Screenshot of the author's GitHub page.

What it hooks into

  • session.startWhen a session starts
  • command.runWhen you run its slash command/grammar-fix
  • prompt.submitWhen you send a prompt

Read from the on() calls in its hook modules. Open its source under Files to check what each one does.

Slash commands 1

  • /grammar-fixTurn automatic prompt grammar fixing on or off

Files

The author's source, 3 files. They load when you open them.

Facts

Author
kakha13
Category
Review
Marketplace
kakha13
Repo
kakha13/claude
Folder
mods/grammar-fix
Version
0.3.1
Repo stars
13
Last change
2026-10-06
Language
TypeScript
Files
6

Other mods in Review

ink-figurejongwonyDraws Mermaid diagrams, line charts, and math in the transcript as box art and images, with an output style that writes them.loom-mermaidYassimbaDraws Mermaid in Claude Code replies as colored character art, and a band above the prompt while a reply streams.cc-previewandrew54068Draws hover cards and thumbnails for images in the conversation, and a side pane that previews markdown.paf-tasksfreibergergarciaDraws phone-a-friend reviews, where Claude asks another model for a second opinion, in the conversation and a panel: the question, progress, and findings.prompt-polishVedantAndhaleRewrites the draft in the prompt box when you press Improve, with one model call, and does not send the rewrite.sermo-translatejhao0413By default rewrites each prompt into English before sending it, and draws the reply's translation under the English text.fanyiJrCx7scCBy default translates a prompt that is not already English into English before Claude reads it, and draws a translation under each reply.serpiffserpiffFor serpiff, a local code-review app, draws how far this worktree's review has come and opens that review in the app.coa-deskdavebreamFor Claude of Alexandria, biblical study skills, draws a grounding line under each answer. Passage text comes from coa.davebream.com.receipthoobnnDraws a one-line receipt of the files, lines, and commands from the turn that just ended.figuresnatsukiumDraws diagrams and LaTeX math from Claude's replies, and images from tool results, as pictures in the transcript, in kitty or Ghostty.screen-guarddanyuchnDraws black bars over names, organisations, secrets, and contact details in the transcript while you share your screen.
All 145 in Review