ClaudeCodeMod

All shelves / Mods / Safety

Claude Code safety mods

73 mods

Safety mods hold a risky command, such as rm -rf or a force push, before it runs, or mask keys and personal details. By their READMEs, 66 hold a command, 8 reach the network or an outside service, and 3 send session text to a model outside your Claude login.

How it installsclaude plugin install <mod>@<marketplace>Run in a terminal. Some mods need a restart.
  1. 1blast-radiusAnthropicHolds 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.Draws · Holds
  2. 2merge-gatehamzaferHolds gh pr merge until CI is green and a Codex review has run once, and draws that pull request's status above the prompt.Draws · Holds
  3. 3rulebook-guardhamzaferAsks before git commit --amend, an unformatted push, or personal details in notes and commits.Holds
  4. 4bash-guardSingh-APHolds 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.Holds
  5. 5net-guardSingh-APHolds curl, wget, ssh, scp, git push, and WebFetch, even in bypass mode. Blocks paste sites and request catchers, and asks before data goes anywhere new.Holds
  6. 6file-guardSingh-APHolds writes outside the project and writes into .git, and asks before lockfiles and CI files.Holds
  7. 7slopsquat-guardSingh-APHolds a package install and checks the name against its registry, so a hallucinated or typosquatted package does not install.Holds
  8. 8command-explainerSingh-APDraws a plain-English line and a risk level on the permission prompt, so you can see what the command does before you approve it.Draws
  9. 9secret-guardarasovicHides API keys and private keys before the model or the transcript sees them, blocks credential files and commands that print secrets, and shows what it caught.Draws · Holds
  10. 10guardrailsarasovicHolds Cloudflare write commands, attribution lines in commits and pull requests, and branch names that start with claude/.Holds
  11. 11guardrails-liteedtrackaiHolds a read of a secret .env file, a git force-push, and a recursive rm on /, ~, or $HOME. .env.example, .env.sample, and .env.template are allowed.Holds
  12. 12injection-guardSingh-APStrips hidden characters from tool output and marks results that carry instructions aimed at Claude, so they reach it as untrusted data.Draws
  13. 13collision-guardnateherkaiHolds an edit to a file another open chat changed in the last 30 minutes, and asks you to proceed, move this chat to a worktree, or cancel.Holds
  14. 14recording-modenateherkaiMasks keys, personal details, and business figures on screen while you record, hides results from mail, chat, and finance tools, and keeps private files closed.Draws · Holds
  15. 15secret-boxray-amjadOpens a masked box when Claude needs a key, writes the key to .env, and gives Claude a placeholder; any key a tool prints comes back as a placeholder too.Draws · Holds
  16. 16secret-shieldSingh-APReplaces API keys, tokens, private keys, and passwords in tool output with a redaction marker before the model or the transcript sees them.Draws · Holds
  17. 17transcript-redactorray-amjadSwaps secrets and email addresses in the session for stable placeholders, and puts the real value back on the way into Bash, Write, and Edit.Draws
  18. 18safe-deletecharlie947Moves the files Claude deletes to the Bin instead, toasts a receipt, and /undo-delete puts the last batch back.Draws · Holds
  19. 19loop-detectiveYeonwooSungOpens a case when the same Bash command fails the same way again, ties it to the edits that followed, and shows the live cases in a pane and a status line.Draws
  20. 20display-redactionmelodic-softwareMasks email addresses and secret-shaped text in what Claude Code draws, and leaves the transcript, the model's context, and the files unchanged.Draws
  21. 21jev-permission-gatemadisonrickertHolds routine tool calls in auto mode for Jev to allow or deny, and sends the uncertain ones on to Claude Code's built-in classifier.Holds
  22. 22subagent-wallerikdarlingdataHolds a subagent after a time limit to git, gh, and Markdown or text writes, and nudges a code-changing subagent that has edited nothing.Holds
  23. 23public-repo-guardSzotaszAsks in a popup before a push to a public GitHub repo, or before one goes public, when outgoing commits hold keys, emails, local paths, or private repo names.Draws · Holds
  24. 24agentic-qe-fleetproffesor-for-testingHolds a command that would delete or overwrite .agentic-qe learning data, and toasts when the guard is set to notify.Draws · Holds
  25. 25secrets-guardBioInfoDenies writes of secret files and credential-shaped content, and Bash that would print those secrets.Holds
  26. 26wp-credential-guardnathanonnMasks a WordPress username and application password, refuses a slash command that carries one, and denies Bash when a placeholder is unknown.Draws · Holds
  27. 27cockpittsergeytovarovDraws context weather and the plan limits above the prompt, and can stop a dangerous command.Draws · Holds
  28. 28taxi-speedcamdevbrother2024Stops a risky shell command and asks before it runs, shown as a taxi speed camera.Draws · Holds
  29. 29guardrails-mdberget-aiSends each Bash command to a Berget AI scoring model and blocks it when the score says it destroys data, leaks a secret, or breaks your GUARDRAILS.md.Draws · Holds
  30. 30pdpa-thaiBoom-VittRefuses a tool call that repeats a placeholder for Thai or other personal data it redacted before sending, and masks that data on screen.Draws · Holds
  31. 31subagent-fenceerikdarlingdataRefuses a force-push, a push to a protected branch, a git command that skips hooks, and killing a process by name.Holds
  32. 32launch-codesOneWave-AIHolds a dangerous shell command until you type a one-time code and press LAUNCH, and denies it otherwise.Draws · Holds
  33. 33dogmaMarcel-BichRuns, asks about, or blocks git commands and deletes by your DOGMA-PERMISSIONS.md, always denies deleting a protected path, and draws the restricting rules.Draws · Holds
  34. 34guard-packatretyak1985Holds file tools and shell moves that leave the project's roots, asks before a production deploy, and redacts secrets in a tool result before Claude reads it.Draws · Holds
  35. 35supabase-guardSzotaszAsks before a Supabase write aimed at another project, or a destructive call, and stops the call when you refuse.Draws · Holds
  36. 36secret-panebengousOpens a masked box beside the transcript when Claude needs a secret, gives Claude a placeholder, and puts the real value back only inside a Bash command.Draws · Holds
  37. 37ultramodmertkayacsPacks ten mods: limits and context above the prompt, a guard with undo for rm -rf and git reset --hard, .env reads refused, and a receipt under each answer.Draws · Holds
  38. 38envdavekissOpens a card when Claude needs a key, so you paste the value into a pane Claude can't read, and holds Claude's reads of .env files and commands that print them.Draws · Holds
  39. 39model-allowlisterikdarlingdataRefuses a subagent spawn that pins a model id instead of a tier alias such as opus or sonnet, and holds spawns to model rules you write per agent type.Holds
  40. 40ruflo-browserruvnetRefuses ruflo browser opens of file, javascript, data, or chrome URLs, credentialed or cloud-metadata hosts, unsafe Chrome flags, and cookie-reading scripts.Holds
  41. 41ruflo-intelligenceruvnetRefuses a key, token, or password in what ruflo learns from, an email address in a public transfer, and a reset of ruflo's intelligence without confirm.Holds
  42. 42ruflo-jujutsuruvnetRefuses a pull request ruflo creates or reviews when its title or body holds a key, token, or password, and a merge or close that does not carry confirm.Holds
  43. 43ruflo-neural-traderruvnetRefuses a live order from ruflo's neural-trader tools unless it is confirmed, paper, or a dry run, and any trader call or memory write that holds a broker key.Holds
  44. 44ruflo-loop-workersruvnetRefuses a ruflo background worker dispatch whose context holds a key, token, or password, and any dispatch past a per-session cap, which catches a stuck loop.Holds
  45. 45ruflo-workflowsruvnetRefuses a ruflo workflow definition, run, or workflow memory record that holds a secret, and a workflow_delete that names no single workflow id.Holds
  46. 46ruflo-federationruvnetRefuses ruflo federation publishes and syncs to other machines that hold a key, token, or password, or personal data such as an SSN or a card number.Holds
  47. 47ruflo-agentruvnetRefuses text sent into a ruflo agent runtime, a local WASM sandbox or Anthropic's managed cloud agents, when it holds a key, token, or password.Holds
  48. 48ruflo-agentdbruvnetRefuses a write to ruflo's agent memory, or a memory import, that holds a private key, token, or key-like value, and can add the best memories to each prompt.Holds
  49. 49ruflo-aidefenceruvnetRefuses a sample sent to ruflo's AI defence to learn from when it holds a key, token, or password, since learned patterns are stored and replayed.Holds
  50. 50ruflo-autopilotruvnetRefuses a ruflo autopilot log or lesson that holds a key, token, or password, and an autopilot config that raises the loop past its iteration cap.Holds
  51. 51ruflo-daaruvnetRefuses a call to ruflo's dynamic agent tools, the daa_ family, when its input holds a key, token, or password, and names the kind of secret, never the value.Holds
  52. 52ruflo-docsruvnetRefuses a ruflo documentation memory write, or a document worker dispatch, when it holds a key, token, or password, and names the kind of secret, not the value.Holds
  53. 53ruflo-goalsruvnetRefuses a ruflo goal, horizon, research, or dossier write, or a task, that holds a key, token, or password, and a dossier note that holds an SSN-shaped number.Holds
  54. 54ruflo-rag-memoryruvnetRefuses a write to ruflo's vector memory, memory_store or an AgentDB store, when it holds a key, token, private key, or password, so it never reaches the store.Holds
  55. 55ruflo-ruvllmruvnetRefuses a ruflo local-model training or index call when its input holds a key, token, or password, so credentials are never trained into an adapter.Holds
  56. 56ruflo-rvfruvnetRefuses a ruflo memory save, session save, or transfer that holds a key, token, or password, so an RVF export or saved session never carries it off the machine.Holds
  57. 57ruflo-security-auditruvnetRefuses to store a ruflo security audit finding that quotes a live secret in a security, audit, CVE, or findings memory namespace, and never repeats the secret.Holds
  58. 58personaomeerdvrnSets the role Claude works for, such as UI/UX Designer or QA Engineer, shows it under the prompt, and refuses edits and shell commands outside that role.Draws · Holds
  59. 59outboxcharlie947Holds each message Claude tries to send by WhatsApp, email, or Slack in a pane with its text, recipients, and attachments, until you press Send, Edit, or Hold.Draws · Holds
  60. 60guardrailsmishgoldenbergBlocks commands such as rm -rf, mass kubectl deletes, or a force push from clickable rules with presets, and checks scripts Claude wrote before they run.Draws · Holds
  61. 61loop-breakermishgoldenbergNotices Claude going in circles, the same command failing 3 times or the same code rewritten 3 times in a turn, tells you, and tells Claude to stop and rethink.Draws
  62. 62scope-guardtheonly1meAsks before Claude edits, deletes, or moves files outside what you asked for, and flags milder drift above the prompt with keys to pull Claude back.Draws · Holds
  63. 63installguardgrichesHolds a package install the registry flags, such as a made-up name, a lookalike, or an hours-old release, and asks you, with a report pane beside the question.Draws · Holds
  64. 64flywheel-modHarperZ9Holds a risky shell or file-edit call when the Flywheel monitor flags it, shows held and passed counts above the prompt, and writes a receipt for each turn.Draws · Holds
  65. 65push-gateIvanLutsenkoAsks before every git push the model runs, with the repository, branch, upstream, commit count, and a force-push warning, and runs the confirmed push itself.Holds
  66. 66devtoolsNMenzelHolds a tool call at a breakpoint you set for Continue, Step, or Reject, with a dashboard pane of every call and Error Lens on why a call failed.Draws · Holds
  67. 67agentic-flowruvnetRefuses an agentic_flow_agent call whose task matches a destructive or exfiltration pattern or passes an API key, and adds a status-line entry for the guard.Draws · Holds
  68. 68agentdbruvnetRefuses a write to AgentDB memory that holds a key, token, password, or private key, and refuses its destructive admin tools unless you turn them on.Holds
  69. 69cc-askpassGoneToneOpens a password pane when a command Claude runs asks for sudo, ssh, or git credentials, so the password goes to the program and never reaches the model.Draws
  70. 70secret-envtoy-craneOpens a pane for typing an API key into a .env file, shows [hidden] wherever the value appears in tool results, and denies Write and Edit on that key's line.Draws · Holds
  71. 71mod-blast-radiusv-amorimHolds 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.Draws · Holds
  72. 72mod-collision-guardv-amorimPauses a file edit when another open session just edited that file, and asks you to proceed, move to a worktree, cancel, or type an instruction for Claude.Draws · Holds
  73. 73secret-guardvumichienHides secret values from your env files and secret-shaped text in tool results, tells Claude to use $NAME instead, and refuses commands that print them.Draws · Holds

73 mods in Safety

What makes a plugin a mod?

It draws inside the session, like a pane, a status line, or a band above the prompt, or it holds a command before it runs. Plugins that do neither are under Plugins.

How is a mod different from a hook or a skill?

A mod is JavaScript or TypeScript that Claude Code runs in its own process, so it can draw a pane or a band and rewrite tool calls, prompts, and commands. A hook in settings.json runs a shell command, HTTP request, or prompt on an event, and a skill is a SKILL.md file of instructions Claude reads. Neither can draw.

What can a mod reach?

Each mod page lists only what the author's README names: usage figures, file edits, tool calls, the network.

How do I install a mod?

Each mod page has the author's commands. Add the marketplace, then run claude plugin install with the mod's name, an @, and the marketplace's name, or /plugin install inside a session. It needs Claude Code 2.1.287 or later, or 2.1.286 in the Desktop app. A session that is already open loads it after /reload-plugins.

Why doesn't a mod I installed show up?

In a terminal session, /plugin shows a dim line under its tabs, such as 1 mod active · name. If yours is missing, check the version, and that you did not start with --safe-mode or --bare or leave a new folder's trust prompt unanswered. claude plugin test, run in a folder with no mod, says whether a setting, your organization's policy, or Anthropic has turned mods off. A session started with claude --debug logs a not loaded: line with the reason. A loaded mod draws nothing in claude -p or a cloud session, and the VS Code panel draws from extension 2.1.299.

How do I turn mods off?

Mods are on by default. To stop one, disable or uninstall its plugin in the Installed tab of /plugin. To stop every mod you installed, start with --safe-mode for one session, or set disableAllHooks to true in ~/.claude/settings.json, which also stops your settings hooks and status line. Undo the change to turn them back on.

Where do the pictures come from?

From the author's repo. When there is no demo, the card shows the GitHub page.