magpie-agent-guard プラグイン
Apache Magpie — deterministic pre-execution command guard: a PreToolUse hook that denies shell commands which would break a hard framework rule. Runs from the installed plugin, so no repository or worktree needs a local copy.
magpie-agent-guard プラグインのインストール方法
両方のコマンドを Claude Code 内で実行してください。最初のコマンドで marketplace を一度追加し、2 番目のコマンドでプラグインをインストールします。
Claude Code
/plugin marketplace add apache/magpie
/plugin install magpie-agent-guard@apache-magpiemagpie-agent-guard の内容
プラグイン自身のファイルから読み込まれた 1 個のパーツ です。
Hook 1
以下のイベントで実行されます- PreToolUsecommand
Bash
更新、オフ、または削除
- プラグインを更新 (shell)
- claude plugin update magpie-agent-guard@apache-magpie
- marketplace を更新
- /plugin marketplace update apache-magpie
- 一時的にオフにする
- /plugin disable magpie-agent-guard@apache-magpie
- 削除する
- /plugin uninstall magpie-agent-guard@apache-magpie
magpie-agent-guard プラグインに関する質問
magpie-agent-guard プラグインをインストールするにはどうすればよいですか。
Claude Code で /plugin marketplace add apache/magpie を実行し、続いて /plugin install magpie-agent-guard@apache-magpie を実行します。
magpie-agent-guard プラグインには何が含まれていますか。
magpie-agent-guard には フック が含まれています。
magpie-agent-guard プラグインを更新または削除するにはどうすればよいですか?
shell で claude plugin update magpie-agent-guard@apache-magpie を使用して更新するか、/plugin の Installed タブから行ってください。削除するには /plugin uninstall magpie-agent-guard@apache-magpie を使用してください。
magpie-agent-guard プラグインのライセンスは何ですか?
プラグインのマニフェストに記載されている Apache-2.0 です。