block-destructive-commands Claude Code mod
Blocks Bash commands matching configured destructive patterns.
- tool.call
Install commands
Installation not verified
Review the author’s instructions and source before installing.
Open source repository ↗Review the source before installing. Installation guide →
Source & updates
- Last updated
- 2026-10-08
- License
- MIT
- Plugin version
- 0.2.0
- Claude Code
- 2.1.287+
- Source
8da17d6- Repository stars
- 32,476 · Repository contains 18 mods in this directory
Source files
Source inventory
Declared events: tool.call{tool=Bash}
Declared API calls: $.ui.log
Can intercept tool calls evidence
block-destructive-commands:56 ↗
on('tool.call', { tool: 'Bash' }, ($, e, next) => {block-destructive-commands:7 ↗
on('tool.call', async ($, e) => {Review methodology · Source and updates · Runtime limits · Function hooks guide