Safety plugins

Claude Code and Codex plugins their authors filed under "safety". All categories.

PreToolUse guard for Bash: blocks dangerous shell commands (rm -rf ~, fork bombs, curl|sh, force push to main) before they run, with three safety levels and opt-in per-level ask mode.

hooks

karanb192/claude-code-hooks 581

Branch-aware git guardrails plus destructive gh CLI protection: denies pushes to main/master, protected-branch deletion, direct commit/merge/rebase/reset/push on a protected branch, and gh pr merge/close, issue close, release and repo delete.

hooks

karanb192/claude-code-hooks 581

Stops "fake green" test-gaming: blocks the agent from deleting, renaming-away, or skip/xfail-disabling tests so it fixes the code instead, across pytest, jest, Go, JUnit, RSpec, and more.

hooks

karanb192/claude-code-hooks 581

Blocks unsafe git subtree invocations (URL fetch, missing --squash/-S, subtree push)

hooks

systemfsoftware/systemfsoftware 21

yana-ai

claude

Personal agent operating system for Claude Code. Safety hooks, memory tiers, agents, commands, and cross-engine hard enforcement.

200 skills

yanacuti1121/Yana-AI 13

yana-ai

claude

Personal agent operating system for Claude Code. Safety hooks, memory tiers, agents, commands, and cross-engine hard enforcement.

200 skills

Horonomos-laps/Yana-AI 13

5 essential safety hooks: block rm -rf, force-push, hard-reset, env overwrites, and package publish. The minimum viable safety net.

hooks

yurukusa/cc-safe-setup 10

Git safety hooks: block force-push, protect main/master, prevent hard reset, guard interactive rebase, and block git clean -fd.

hooks

yurukusa/cc-safe-setup 10

PreToolUse hook that denies git commands staging protected paths, whole-tree adds, or rewriting history.

hooks

widnyana/eyay-toolkits 9

PreToolUse hook that blocks IaC write/destructive commands (ansible-playbook/ansible-pull without --check, ad-hoc ansible write modules, terragrunt/tofu/terraform apply-family including mise-wrapped forms), so agents never apply changes to real infrastructure.

hooks

widnyana/eyay-toolkits 9

Mandatory confirmations for destructive operations, migration and database safety, file and Git safety. 5 skills (same as the safety entry).

5 skills

latestaiagents/agent-skills 6

A seatbelt for YOLO mode: blocks catastrophic shell commands (rm -rf ~, mkfs, dd to a disk, fork bombs) and asks before risky ones (force-push, reset --hard, DROP TABLE, curl | sh), even with permissions bypassed.

Singh-AP/awesome-claude-mods 5

Keeps Claude's file edits inside the project: refuses writes outside it (symlinks resolved), never lets a tool touch .git internals, and asks before it changes lockfiles, CI workflows, migrations or secrets.

Singh-AP/awesome-claude-mods 5

Keeps secrets out of Claude's context: API keys, tokens, private keys and passwords in tool output are replaced with [REDACTED:kind] before the model or the transcript ever sees them.

Singh-AP/awesome-claude-mods 5

safe-fetch

claudecodex

Fetch and sanitize web content with URL/IP checks while preserving its untrusted-source status.

1 skill · 3 commands · 1 agent · 1 MCP server · hooks

fakoli/fakoli-plugins 4

Score a CRM-connected agent's permissions and approval cards. Refuses a CRM write with no prompt.

1 skill

cmj-hub/gtm-operator-skills 3

heimdall

claude

Config-driven file/directory guard — lock blocks pair protected paths with an unlock phrase and a PreToolUse hook blocks Edit/Write/Bash/Task mutations unless the phrase is spoken; also conceals paths (hard read+write deny, no unlock) and hardens MCP secrets behind a setuid OS boundary

9 skills · hooks

thomfilg/ai-plugin-work 1

No AI self-attribution anywhere a change gets signed — PreToolUse hooks block co-author trailers, generated-with footers, attribution links and session trailers in commit messages, pull request text and the files themselves, plus AI or absent committer identities; opt-in git hooks cover what happens outside the session; bare product mentions always ship

2 skills · hooks

thomfilg/ai-plugin-work 1

5 essential safety hooks: block rm -rf, force-push, hard-reset, env overwrites, and package publish. The minimum viable safety net.

hooks

ilhae-ai/cc-guard 1

Git safety hooks: block force-push, protect main/master, prevent hard-reset, guard rebase, and auto-backup before destructive operations.

hooks

ilhae-ai/cc-guard 1

Set up the guard mods for this project from its own files: the fence paths, the pins, a .claude/style-cop.md, and the red-green test command, as commands to paste and one file to write.

1 skill

MDmubarak786/claude-mods 1

Audit a Claude Code plugin, mod, or skill before you install it: what it would do on your machine, what its README doesn't say, and whether to install.

1 skill

MDmubarak786/claude-mods 1

turnback

claudecodex

Undo any agent turn, including shell commands and untracked files

MFaizR77/turnback 1

tripwire

claude

Holds rm -rf, force pushes, git reset --hard, DROP TABLE, curl | sh, sudo and .env edits behind a question; refuses the unrecoverable ones.

ryx2/slopshopper 1

Stop Claude from retrying the same failing shell command over and over. After N identical failures the next attempt is held, and you choose: stop, or try once more.

MDmubarak786/claude-mods 1

Lifecycle orchestrator, safety rails, and a founder-friendly skill library for non-technical solo founders building products with AI coding agents.

16 skills · 5 commands · 3 agents · 8 MCP servers · hooks

rahlplx/Lab-LaunchPad-AI-SDK 0

app-audit

claude

Automated technical and disclosure compliance-assistance audit of a project: profiling, read-only specialist subagents, fresh research, optional Codex peer review, one consolidated report. Use on /app-audit, "audit this app", or a pre-launch security/privacy/store check.

27 skills

mhshaon98/agent-skills 0

Check what is actually live (store listing and labels, published policies, deployed backend, retention jobs) against the code and published words, then work the remediation runbook. Use on /compliance-check, "what's left on compliance", "close out the audit", or before a store submission.

27 skills

mhshaon98/agent-skills 0

Independent fresh-context review before anything ships. Use on "ship it", "release", "submit", "deploy", "push to production", before any production push, and after a large diff, even when the diff looks fine.

27 skills

mhshaon98/agent-skills 0

agent-toolkit

claudecodex

WI・委譲・承認・記録・完了報告の運用を提供するプラグイン。成果物の品質判断にはagent-basicsを使う。

14 skills · 2 MCP servers · hooks

ak110/dotfiles 0