← Browse
block-destructive-commands
JinhaoFang ★ 0
This Claude Code plugin hooks into tool calls to deny Bash commands matching destructive patterns (recursive deletions, force pushes, hard resets, destructive SQL, disk formatting) before execution. It returns a deny response without proceeding to the actual command, preventing accidental data loss in shell operations.
Install
> /plugin marketplace add JinhaoFang/claude-mods/tree/HEAD/mods/block-destructive-commands
> /plugin install block-destructive-commands
Source: https://github.com/JinhaoFang/claude-mods/tree/HEAD/mods/block-destructive-commands
What it's made of
no extra components
- Commands
- 0
- Agents
- 0
- Skills
- 0
- MCP servers
- 0
- Hooks
- 0
What it needs & plugs into
- API keys
- none
- Paid services
- none detected
- External tools
- none
- Talks to
- nothing external detected
Analyzed . Facts extracted from the plugin's files. Prose generated by claude-haiku-4-5-20251001.
Is this your plugin?
Claim it to keep the card accurate and enter the weekly contest. Requires signing in as the GitHub owner (JinhaoFang).