ClaudeMods
☰
JA
● 0 人がオンライン ・閲覧 0 回
スポンサー作品を投稿
GitHub リポジトリ · 投稿者 vinta

hal-grammar-check

入力中のプロンプトを文法チェックし、繁体字中国語で説明します。Enter を押す前に、修正内容がプロンプトボックスの上に表示されます。

vinta@vinta

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

元の投稿の画像1
翻訳済み

この mod について

Claude Code Grammar Check

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

入力中のプロンプトを文法チェックし、繁体字中国語で説明します。Enter を押す前に、修正内容がプロンプトボックスの上に表示されます。

インストール

このプラグインにはローカルの Ollama と gemma4:31b-mlx モデルが必要です。

ollama pull gemma4:31b-mlx

これは mod なので、Claude Code 2.1.287 以降も必要です。

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

その後 Claude Code を再起動します。

使い方

入力するだけです。入力を止めてから約 250ms 後、下書きが Ollama に送られ、結果がプロンプトボックスの上に表示されます。古い下書きに対する結果は破棄されます。

hal-statusline は送信後の各プロンプトをチェックします。両方の結果を表示したくない場合は、環境変数に HAL_STATUSLINE_GRAMMAR_CHECK_DISABLED=1 を設定して無効にしてください。

プライバシー

下書きの先頭 500 文字をローカル Ollama の localhost:11434 に送ります。完全にオフラインで、データがマシンの外へ出ることはありません。

スクリーンショット

Claude Code Grammar Check の例

インストール

まず作者の README で marketplace とプラグイン名を確認してください。コマンドはリポジトリの構成によって変わる場合があります。

claude plugin marketplace add vinta/hal-9000
claude plugin install hal-grammar-check
原文 / 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

関連作品