All shelves / Mods / Safety
mod-blast-radius
By v-amorim
mod-blast-radius is a Claude Code safety mod by v-amorim.
Holds a risky Bash command on a card until you choose Run or Cancel, shows what it would change first, and reads your own rules from a JSON file.
DrawsHolds a command
Install
The marketplace name is claude-mods.
/plugin marketplace add v-amorim/moonlight-claude-mods /plugin install mod-blast-radius@claude-mods
It runs inside the Claude Code process. The side panel is only what the author's README names. Read the repo before you install, or run claude plugin validate on the plugin folder.
- Version
- 2.0.0
- License
- MIT
- Repo stars
- 5
- Last change
- 2026-10-30
What it can reach
- Draws in the session
- Holds a command
- Sees tool calls
- Calls another program on this machine
Needs Claude Code 2.1.287 or newer; the author tested on Windows Terminal and macOS iTerm2. /plugin install asks where to install the mod: keep Install for you (user scope), press Enter, press Esc to leave the plugin screen, then run /reload-plugins. Auto-update is off for unofficial marketplaces; turn it on under /plugin, Marketplaces, claude-mods. The README warns that mods are not sandboxed and run with your permissions. Where nothing can draw the card (a VS Code chat panel, claude -p, an SDK session), the call is not held and the permission system asks instead. A command whose check fails is held, not run. Explain with Haiku is off by default; turned on, each held command is sent to Haiku, which spends tokens and counts against your plan quota. Send rm to the bin is off by default, and then an rm is held.
The marketplace, claude-mods, holds 13 mods in the Moonlight look, and other repositories use that name too, so add v-amorim/moonlight-claude-mods. Holding a risky shell command is why this page files it under safety. blast-radius holds a shell command such as rm -rf, a force push, a hard reset, or a migration, shows what it would touch, then asks you to proceed or cancel. bash-guard holds every Bash call, even in bypass mode, blocks rm -rf on a home or system directory, and asks before a force-push, a hard reset, or a pipe into sh. This one holds a risky Bash command until you choose Run or Cancel, with a preview of paths, git status and dry runs, and the commits a force push would drop, and it reads your own rules, pass rules included, from rules.json. The card also counts the session's permission checks and how many were denied.
Demo

What it hooks into
ui.toastA Claude Code eventsession.startWhen a session startstool.callAround a tool call, where it can hold oneBashtool.checkA Claude Code eventsession.endWhen a session endsui.closeWhen its pane closesstate.setA Claude Code eventturn.startWhen Claude starts a turnturn.completeWhen a turn endscommand.runWhen you run its slash command/mod-blast-radiusui.renderDraws into the sessionPaneAbovePromptui.messageAdds a message to the session
Read from the on() calls in its hook modules. Open its source under Files to check what each one does.
Slash commands 1
/mod-blast-radius
Files
The author's README and source, 4 files. They load when you open them.
Facts
- Author
- v-amorim
- Category
- Safety
- Marketplace
- claude-mods
- Folder
- mod-blast-radius
- Version
- 2.0.0
- License
- MIT
- Repo stars
- 5
- Last change
- 2026-10-30
- Language
- TypeScript
- Files
- 42