Claude Code mod
danger-check
Asks you before a command that can destroy work, such as rm -rf, git reset --hard or git push --force.
Install
/plugin marketplace add achapla/cc-mods
/plugin install danger-check@cc-modsMods install like plugins. Run /reload-plugins or start a new session to load it.
What it can access
- Reach
- L2Writes or runs: runs processes, draws
- Sees
- Bash calls, PowerShell calls
- Hooks
tool.call
From a static scan of the mod's code by awesome-claude-code-mods. It shows what the code asks for, not a security review.
How Claude Code mods work
- A mod is a plugin with a JavaScript or TypeScript module that runs inside Claude Code (version 2.1.287 or later). It can draw panes beside the transcript, a band above the prompt, buttons and toasts, restyle the spinner and tool rows, and watch or rewrite tool calls and prompts.
- It installs like any plugin: add its marketplace with /plugin marketplace add owner/repo, then /plugin install name@marketplace.
- Check what a mod can reach before installing: it runs with your permissions. Reach goes from drawing only, to reading files, to writing files or running processes, to the network. Run claude plugin validate on a clone to list its hooks and calls without running it.
- Turn one off from the Installed tab in /plugin, or start Claude Code with --safe-mode to skip every customization for a session.
Details
- Repository
- achapla/cc-mods
- Folder
danger-check- Marketplace
cc-mods- Author
- Anand Chapla
- License
- MIT
- Last updated
- 6 October 2026
- Listed in
- awesome-claude-code-mods
FAQ
What is danger-check?
Asks you before a command that can destroy work, such as rm -rf, git reset --hard or git push --force. It is a mod for Claude Code, from achapla/cc-mods on GitHub.
What can the danger-check mod access?
Its widest reach is "writes or runs" (runs processes, draws). It sees Bash calls, PowerShell calls. Like any mod, it runs with your permissions.
How do I install danger-check?
Inside Claude Code (v2.1.287 or later), run /plugin marketplace add achapla/cc-mods and then /plugin install danger-check@cc-mods.
More git & github mods
cockpit
Joseph-Ayoub/claude-mods
One band above the prompt: quick replies, branch/PR/CI standing, decision cards, waiting-on-you items, standing-rule capture and a Hand off chip at natural breaks.
gatekeeper
davidcoulson/crab-workshop
Your open PRs and what each waits on (/gates): the template boxes only you can tick, CodeRabbit threads and change requests, Codecov, CI, conflicts and drafts ready for you, sorted so what needs you comes first. A band above the prompt counts them; Claude can ask through the gates tool.
close-worktree
hernandezsanti/claude-code-mods
After a PR is opened from a git worktree, tells Claude if the worktree can be closed (clean and pushed) or what is still not saved.
git-gate
Recokioshi/claude-kit
Git only when you asked: commits, pushes, pull requests, merges and destructive git commands run only when your latest message (or /ship, /kickoff (also as /progress-pane:kickoff), or your answer to Claude's question) allowed them; everything else is refused with a note telling Claude to ask. No UI.
standup
2ShriD5/claude-mods
/standup writes yesterday's standup (since Friday on Mondays) from your git commits and copies it
git-status
t968rs/operator-straps
Git snapshot, per-prompt GIT_STATE context and a fallback git status line that gives way to ccstatusline or band-line
Browse the most popular Claude Code mods, all git & github mods, or the skills and MCP server directories.