All shelves / Mods / Safety
blast-radius
By Anthropic
blast-radius is a Claude Code safety mod by Anthropic.
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.
DrawsHolds a command
Install
The marketplace name is claude-code-playground-mods.
git clone https://github.com/anthropics/claude-code-playground.git cd claude-code-playground/claude-code/mods claude plugin marketplace add ./ claude plugin install blast-radius@claude-code-playground-mods --scope user
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
- 0.1.0
- License
- Apache-2.0
- Repo stars
- 287
- Last change
- 2026-10-01
What it can reach
- Draws in the session
- Holds a command
- Calls another program on this machine
Claude Code 2.1.287 or later, with bash, git, find, and du on PATH. For migrations, the project's own tool, such as python3 manage.py showmigrations. No environment variables or configuration. A sample from Anthropic's DevRel playground, shared as-is: the README says it is not an official Anthropic product, and no support is implied. When Claude calls Bash with rm -r or rm -f, git reset --hard, git checkout -- . or git restore ., git clean, a force push, or a migration, the call is held and a pane lists what it would touch: the files rm would delete with their count and size, the uncommitted or untracked files, the remote commits a force push would drop, or the pending migrations. Proceed runs the command, Cancel refuses it, and Claude sees the reason. Cancel has the focus, so Enter refuses. Press 1 or 2, or click a button. If nobody answers within 10 minutes, or you press Esc, the command is refused. The side pane wants a terminal about 144 columns wide; a narrower one gets the band above the prompt, where another mod that draws there can hide the buttons. It follows cd, pushd, popd, and git -C on the same line. Listing migrations runs the tool's own status command, which loads your project's code before you choose. Remove it with claude plugin uninstall blast-radius@claude-code-playground-mods --scope user.
The install clones claude-code-playground and adds its mods folder as a local marketplace, claude-code-playground-mods, which holds the three mods in that folder, token-weather and replay-theater among them. This one installs on its own. To try it once without installing, run claude --plugin-dir ./blast-radius from the mods folder. Holding a risky command until you answer is why this page files it under safety. bash-guard, by Singh-AP, holds every Bash call, blocks rm -rf on a home or system directory, and asks before a force-push, a hard reset, or a pipe into sh. guardrails-lite, by edtrackai, holds a .env read, a git force-push, and a recursive rm on /, ~, or $HOME. This one measures what the command would change and shows it before you choose. The author says it reads the command text without parsing shell fully, so $(...), aliases, eval, bash -c, xargs rm, and wrappers such as timeout 5 rm are not caught. Only the Bash tool is watched, and the author calls it a safety net, not a permission system. hamzafer/claude-code-mods also ships a plugin of this name, blast-radius@claude-code-mods, from a different repo.
Demo

What it hooks into
tool.callAround a tool call, where it can hold oneBashui.renderDraws into the sessionPaneAbovePrompt
Read from the on() calls in its hook modules. Open its source under Files to check what each one does.
Files
The author's README and source, 4 files. They load when you open them.
Facts
- Author
- Anthropic
- Category
- Safety
- Marketplace
- claude-code-playground-mods
- Folder
- claude-code/mods/blast-radius
- Version
- 0.1.0
- License
- Apache-2.0
- Repo stars
- 287
- Last change
- 2026-10-01
- Language
- JavaScript
- Files
- 9