ClaudeMods
☰
EN
● 0 online · Views 0 times
SponsorsSubmit a project
GitHub repositories · by mary-ext

bash-guard

A Claude Code plugin that hooks Bash tool calls to block destructive commands, such as those that truncate output, detach processes, or mass-kill by name.

mary-ext@mary-ext

mary-ext/claude-skills/tree/trunk/plugins/bash-guard

Translated

About this mod

bash-guard is a personal Claude Code plugin (from the mary-skills collection) that registers a hook on the Bash tool call. Through its hooks modules (register.ts and guard.ts), it intercepts Bash commands and blocks ones it deems destructive, including commands that truncate output, detach processes, or mass-kill by process name. The repository includes a verified .claude-plugin/plugin.json manifest.

Installation

Check the author's README for the marketplace and plugin name first. Commands may change as the repository evolves.

claude plugin marketplace add mary-ext/claude-skills
claude plugin install bash-guard
Original text / README

mary-skills

personal Claude Code skills.

Similar projects