petershk/explain-permission
explain-permission
承認する前に各権限リクエストを WHAT、WHY、RISK とともに平易な英語で説明するサイドペインを開く Claude Code mod。
この mod について
explain-permission は Claude Code の mod だ。Claude が操作を実行する前に「これでよいですか?」と確認して止まると、会話の横にペインを開き、リクエストを平易な英語で説明する。WHAT(シアン)はコンピューターやネットワーク上で実際に行うこと、WHY(マゼンタ)は会話の内容からその操作が必要な理由、RISK(緑/黄/赤)は低・中・高のリスクと、送信・削除・公開・課金される内容を示す。吹き出しはすぐ表示され、説明は数秒後に追加される。
使い方:claude --plugin-dir /path/to/explain-permission で起動するか、/explain-permission と入力してペインを手動で開く。全画面モードでは右側にドッキングし、それ以外ではプロンプトの上に表示される。幅が少なくとも 144 列あるターミナルでは自動的に開く。
注意:mods(function hooks、early access 機能)に対応する新しい Claude Code が必要だ。説明ごとにアカウント上で追加のモデル呼び出しが発生し、現在の会話を Claude に送る。失敗時は会話を付けずに Haiku を使う。説明だけを行い、リクエストの承認や拒否を代わりに行うことはない。
インストール(GitHub):このディレクトリはプラグインマーケットプレイスでもある。claude plugin marketplace add petershk/explain-permission と claude plugin install explain-permission@hermann-mods を実行するか、Claude Code 内で /plugin を使う。Claude Code 2.1.287 以降が必要だ。
インストール
まず作者の README で marketplace とプラグイン名を確認してください。コマンドはリポジトリの構成によって変わる場合があります。
claude plugin marketplace add petershk/explain-permission claude plugin install explain-permission
原文 / README
explain-permission
A Claude Code mod. When Claude stops to ask "is this ok?" before running something, a pane opens beside the conversation and explains the request in plain English:
- WHAT (cyan): what it will actually do on your computer or online
- WHY (magenta): why it's needed for what you asked, based on the conversation
- RISK (green / yellow / red): low, medium or high, and anything that gets sent, deleted, published or paid for
The dialog appears right away; the explanation fills in a few seconds later. Read the pane before you answer.
Use it
claude --plugin-dir /path/to/explain-permission
Type /explain-permission to open the pane yourself. It docks on the right in fullscreen mode, and otherwise sits
above the prompt. It opens by itself on terminals at least 144 columns wide.
Good to know
- Needs a recent Claude Code with mods (function hooks), an early-access feature.
- Each explanation is one extra model call on your own account. It asks Claude, with the conversation so far, and falls back to Haiku without the conversation if that fails.
- It only explains. It never approves or denies anything for you.
Made by Hermann Peterscheck · https://hermann.fyi
Install from GitHub
This folder is also a plugin marketplace. Once it's in a GitHub repo:
claude plugin marketplace add petershk/explain-permission
claude plugin install explain-permission@hermann-mods
or the same with /plugin inside Claude Code. Needs Claude Code 2.1.287 or later.
