mary-ext/claude-skills/tree/trunk/plugins/bash-guard
mary-ext@mary-ext
关于这个 mod
bash-guard 是一个个人 Claude Code 插件(来自 mary-skills 集合),会在 Bash 工具调用上注册 hook。它通过自己的 hook 模块(register.ts 和 guard.ts)拦截 Bash 命令,并阻止它认定为具有破坏性的命令,包括截断输出、分离进程或按进程名称批量终止进程的命令。仓库包含一个经过验证的 .claude-plugin/plugin.json 清单。
安装
请先查看作者 README 确认 marketplace 和插件名称;命令可能随仓库结构改变。
claude plugin marketplace add mary-ext/claude-skills claude plugin install bash-guard
原文 / README
mary-skills
personal Claude Code skills.
