zyx1121/hint-mod
この mod について
Claude Code のモッドです。単一の ui.render function hook でエンジンの PromptHint コンポーネントを空文字列に書き換え、プロンプト下の薄いヒント行(? for shortcuts、esc to interrupt、(shift+tab to cycle)、← for agents)とその横のピルを隠します。インストールには CLAUDE_CODE_ENABLE_FUNCTION_HOOKS=1 が必要です。その後 /plugin marketplace add zyx1121/hint-mod と /plugin install hint-mod@hint-mod を実行するか、claude --plugin-dir /path/to/hint-mod で 1 セッションだけ読み込めます。権限モードのバッジは PromptHint の外側に描画されるため削除できず、bypass/plan モードでは末尾に · が残ります。
インストール
まず作者の README で marketplace とプラグイン名を確認してください。コマンドはリポジトリの構成によって変わる場合があります。
claude plugin marketplace add zyx1121/hint-mod claude plugin install hint-mod
原文 / README
hint-mod
A quieter Claude Code footer: the dim hint line under the prompt, gone.
claude-code · mod · function-hooks · footer
before ⏵⏵ bypass permissions on (shift+tab to cycle) · ← for agents
after ⏵⏵ bypass permissions on ·
Once the shortcuts are in your fingers, the hint line under the prompt is only noise. This mod empties it: ? for shortcuts, esc to interrupt, (shift+tab to cycle), ← for agents and the pills beside them.
It is a Claude Code mod: a plugin whose behaviour lives in a TypeScript hooks module. It rewrites the engine's PromptHint component to an empty string, nothing else.
Install
Function hooks are early access, so the engine loads a mod only with the flag on. Put it in your shell profile:
export CLAUDE_CODE_ENABLE_FUNCTION_HOOKS=1
Then install it as a plugin, from GitHub or from a local clone:
/plugin marketplace add zyx1121/hint-mod
/plugin install hint-mod@hint-mod
Or try it for one session without installing:
claude --plugin-dir /path/to/hint-mod
Limits
The permission mode badge (⏵⏵ bypass permissions on, ⏸ plan mode on) is drawn by the engine outside PromptHint, so no hook can remove it, and a trailing · stays beside it. In the default (Manual) mode there is no badge and the line disappears.
How it is built
| File | Role |
|------|------|
| hooks/register.ts | One ui.render hook on PromptHint that passes the line on with hint: '' |
| tests/register.test.ts | The engine receives an empty hint; draft and working flags pass through |
| types/claude-code.d.ts | The engine contract, written by /plugin-types |
Typecheck with bunx -p typescript tsc -p tsconfig.json and test with CLAUDE_CODE_ENABLE_FUNCTION_HOOKS=1 claude plugin test .. CI runs both.
Contributing
Issues and pull requests are welcome. Keep the mod to one hook; run the typecheck and tests before opening a PR.
License
MIT
