mod-claude

hal-grammar-check

Grammar-check your prompt as you type, shown above the prompt box

Install

Paste into a Claude Code session in your terminal, one line at a time.

/plugin marketplace add vinta/hal-9000
/plugin install hal-grammar-check@hal-9000

Claude Code Grammar Check

A grammar check on your prompt while you type, with explanations in your language. The corrections show up above the prompt box, before you hit Enter.

Installation

claude plugin install hal-grammar-check --marketplace vinta/hal-9000

Then restart Claude Code.

Usage

Just type. The grammar-check result of your prompt shows up above the prompt box after you stop typing.

hal-statusline also checks each prompt after you submit it. If you use both, turn that one off with HAL_STATUSLINE_GRAMMAR_CHECK_DISABLED=1 in your environment variables.

Options

Set them in /config:

  • model: which of the two models below checks your draft, default claude/haiku.
    • claude/haiku runs on your Claude account. It bills one call every time you pause typing.
    • ollama/gemma4:31b-mlx runs on your local Ollama at localhost:11434. It's the free, offline choice.
  • language: which language the explanations are in, default English. One of English, Traditional Chinese, Simplified Chinese, Japanese, or Korean.

Pick ollama/gemma4:31b-mlx to keep everything on your machine. That needs a local Ollama with the model pulled:

ollama pull gemma4:31b-mlx

Privacy

It sends the first 500 characters of your draft to the model. With claude/haiku, it goes to Anthropic through your Claude account, like any other prompt. With an ollama/ model, that's your local Ollama at localhost:11434: fully offline, nothing leaves your machine.

Screenshots

Claude Code Grammar Check example