Плагин 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. Первая один раз добавляет маркетплейс; вторая устанавливает плагин.
/plugin marketplace add apache/magpie
/plugin install magpie-agent-guard@apache-magpieЧто внутри magpie-agent-guard
1 часть прочитано из файлов самого плагина.
Хуки 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?
Обновите его с помощью claude plugin update magpie-agent-guard@apache-magpie в вашем shell или на вкладке Installed в /plugin. Удалите его с помощью /plugin uninstall magpie-agent-guard@apache-magpie.
Под какой лицензией распространяется плагин magpie-agent-guard?
Apache-2.0, как указано в манифесте плагина.