ClaudeMods
☰
EN
● 0 online · Views 0 times
SponsorsSubmit a project
GitHub repositories · by vinta

hal-grammar-check

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

vinta@vinta

vinta/hal-9000/tree/main/plugins/hal-grammar-check

Original post image1
Translated

About this mod

Claude Code Grammar Check

<img src="icon.svg" width="128" alt="vinta/hal-9000 icon">

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

Installation

This plugin needs a local Ollama with the gemma4:31b-mlx model:

ollama pull gemma4:31b-mlx

It's a mod, so it also needs Claude Code 2.1.287 or later.

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

Then restart Claude Code.

Usage

Just type. About 250ms after you stop, the draft goes to Ollama and the result shows up above the prompt box. A result for an older draft is dropped.

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

Privacy

It sends the first 500 characters of your draft to your local Ollama at localhost:11434. Fully offline, nothing leaves your machine.

Screenshots

Claude Code Grammar Check example

Installation

Check the author's README for the marketplace and plugin name first. Commands may change as the repository evolves.

claude plugin marketplace add vinta/hal-9000
claude plugin install hal-grammar-check
Original text / README

Claude Code Grammar Check

<img src="icon.svg" width="128" alt="vinta/hal-9000 icon">

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

Installation

This plugin needs a local Ollama with the gemma4:31b-mlx model:

ollama pull gemma4:31b-mlx

It's a mod, so it also needs Claude Code 2.1.287 or later.

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

Then restart Claude Code.

Usage

Just type. About 250ms after you stop, the draft goes to Ollama and the result shows up above the prompt box. A result for an older draft is dropped.

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

Privacy

It sends the first 500 characters of your draft to your local Ollama at localhost:11434. Fully offline, nothing leaves your machine.

Screenshots

Claude Code Grammar Check example

Similar projects