danger-check

by Anand Chapla · ★ 0 · updated today

GuardsAutomationvalidates

0

Asks you before a command that can destroy work, such as rm -rf, git reset --hard or git push --force.

install danger-check

Install

/plugin marketplace add achapla/cc-mods
/plugin install danger-check@cc-mods

Then run /reload-plugins or start a new session. Requires Claude Code 2.1.287+.

View source on GitHub

What it hooks into

From an automated scan with claude plugin validate, not a security review. Mods run with your permissions; read the code before installing.

Events
tool.call
API calls
$.process.run$.ui.ask
Can see
Bash callsPowerShell calls
Reach
level 2 of 3 runs processesdraws

Origin

How it got here
Automated scan of public GitHub repos, via the CC0 dataset awesome-claude-code-mods (scan of ).
Repository
github.com/achapla/cc-mods
Path in repo
danger-check
Source commit
743bfa0 the exact code the scan read
Author
Anand Chapla @achapla
License
MIT
First published
Last pushed
First listed here

Name and description come from the mod's own manifest. We link to the code; we don't host it, and it stays under its author's license.

More from achapla/cc-mods

done-sound

achapla/cc-mods

Plays a sound, picked by chance from the ones you chose, when a long turn ends and when Claude waits for your answer.

★ 0GuardsCommandsAutomation

mod-lab

achapla/cc-mods

Shows what mods can do: a live list of events, a dump of what a mod can read, and demos you run with one press.

★ 0PanesGuardsCommands

no-new-branch

achapla/cc-mods

Asks you before any command that would create a new git branch or worktree.

★ 0Guards

no-process-kill

achapla/cc-mods

Asks you before any command that would stop a running process.

★ 0Guards

pnpm-only

achapla/cc-mods

Blocks npm and npx commands and tells Claude the pnpm command to use instead.

★ 0Guards

prompt-snippets

achapla/cc-mods

Replaces short names such as ;plan in your prompt with longer texts that you saved.

★ 0ToastsCommandsPrompt

usage-line

achapla/cc-mods

Shows live session cost, context use, and the 5-hour and weekly limits with their pace in one line above the prompt.

★ 0BandsCommandsPrompt