━━ failproof ai · policy hub

policy-hub

every policy your agent can be held to, published as a github release and installed with one command. take a whole pack, one category, or a single policy — you pick, not us.

● 39 policies● 1 pack● 2.3k installs● free & local
[ publish a pack → ]

packs are published by their authors, not audited by failproof ai. read the source before you install.[ read more ↓ ]

39 policies

  1. block-aws-cliinfra commandsPreToolUse

    Block aws CLI commands

    failproofai/policies
    2.3k installs1 stars
  2. block-az-cliinfra commandsPreToolUse

    Block az (Azure) CLI commands

    failproofai/policies
    2.3k installs1 stars
  3. block-curl-pipe-shdangerous commandsPreToolUsedefault

    Block piping downloads to shell

    failproofai/policies
    2.3k installs1 stars
  4. block-env-filesenvironmentPreToolUsedefault

    Block reading/writing .env files

    failproofai/policies
    2.3k installs1 stars
  5. block-force-pushgitPreToolUse

    Prevent force-pushing to any branch

    failproofai/policies
    2.3k installs1 stars
  6. block-gcloudinfra commandsPreToolUse

    Block gcloud (Google Cloud) CLI commands

    failproofai/policies
    2.3k installs1 stars
  7. block-gh-pipelineinfra commandsPreToolUse

    Block gh CLI pipeline-trigger subcommands (workflow run, run rerun/cancel, pr merge, release create/delete, cache delete, secret set/delete)

    failproofai/policies
    2.3k installs1 stars
  8. block-helminfra commandsPreToolUse

    Block helm commands

    failproofai/policies
    2.3k installs1 stars
  9. block-kubectlinfra commandsPreToolUse

    Block kubectl commands (Kubernetes cluster mutations)

    failproofai/policies
    2.3k installs1 stars
  10. block-push-mastergitPreToolUsedefault

    Block pushing to main/master

    failproofai/policies
    2.3k installs1 stars
  11. block-read-outside-cwdenvironmentPreToolUse

    Block file reads outside the session working directory

    failproofai/policies
    2.3k installs1 stars
  12. block-rm-rfdangerous commandsPreToolUse

    Prevent catastrophic deletions

    failproofai/policies
    2.3k installs1 stars
  13. block-secrets-writedangerous commandsPreToolUse

    Block writing secret key files

    failproofai/policies
    2.3k installs1 stars
  14. block-sudodangerous commandsPreToolUsePermissionRequestdefault

    Block sudo commands

    failproofai/policies
    2.3k installs1 stars
  15. block-terraforminfra commandsPreToolUse

    Block terraform and tofu (OpenTofu) commands

    failproofai/policies
    2.3k installs1 stars
  16. block-work-on-maingitPreToolUse

    Block git commits and merges on main/master branch

    failproofai/policies
    2.3k installs1 stars
  17. prefer-package-managerpackages & systemPreToolUse

    Blocks non-preferred package managers and tells Claude to use an allowed one (e.g., uv instead of pip)

    failproofai/policies
    2.3k installs1 stars
  18. protect-env-varsenvironmentPreToolUsedefault

    Prevent commands that read environment variables

    failproofai/policies
    2.3k installs1 stars
  19. Require CI checks to pass on the current HEAD commit before Claude stops (ignores stale runs on prior commits)

    failproofai/policies
    2.3k installs1 stars
  20. Require all changes to be committed before Claude stops

    failproofai/policies
    2.3k installs1 stars
  21. Require the current branch to merge cleanly with the base branch before Claude stops

    failproofai/policies
    2.3k installs1 stars
  22. Require a pull request to exist for the current branch before Claude stops

    failproofai/policies
    2.3k installs1 stars
  23. Require all commits to be pushed to remote before Claude stops

    failproofai/policies
    2.3k installs1 stars
  24. sanitize-api-keyssanitizePostToolUsedefault

    Stop Claude from reading API keys (OpenAI, Anthropic, GitHub, AWS, Stripe, Google) in tool responses

    failproofai/policies
    2.3k installs1 stars
  25. sanitize-bearer-tokenssanitizePostToolUsedefault

    Stop Claude from reading Authorization Bearer tokens in tool responses

    failproofai/policies
    2.3k installs1 stars
  26. sanitize-connection-stringssanitizePostToolUsedefault

    Stop Claude from reading database connection strings with embedded credentials in tool responses

    failproofai/policies
    2.3k installs1 stars
  27. sanitize-jwtsanitizePostToolUsedefault

    Stop Claude from reading JWTs in tool responses

    failproofai/policies
    2.3k installs1 stars
  28. sanitize-private-key-contentsanitizePostToolUsedefault

    Stop Claude from reading PEM private key content in tool responses

    failproofai/policies
    2.3k installs1 stars
  29. Warns before staging all working tree files with git add -A / . / --all

    failproofai/policies
    2.3k installs1 stars
  30. warn-background-processpackages & systemPreToolUse

    Warns before starting detached or background processes

    failproofai/policies
    2.3k installs1 stars
  31. warn-destructive-sqldatabasePreToolUse

    Warn before executing destructive SQL (DROP/TRUNCATE/DELETE without WHERE) via database clients

    failproofai/policies
    2.3k installs1 stars
  32. warn-git-amendgitPreToolUse

    Warns before amending git commits, which rewrites history

    failproofai/policies
    2.3k installs1 stars
  33. warn-git-cleangitPreToolUse

    Warns before git clean deletes untracked directories (-d) or ignored files (-x / -X)

    failproofai/policies
    2.3k installs1 stars
  34. warn-git-stash-dropgitPreToolUse

    Warns before permanently deleting stashed changes

    failproofai/policies
    2.3k installs1 stars
  35. warn-global-package-installpackages & systemPreToolUse

    Warns before installing packages globally (npm -g, cargo install, etc.)

    failproofai/policies
    2.3k installs1 stars
  36. warn-large-file-writepackages & systemPreToolUse

    Warn before writing files larger than 1MB (configurable via thresholdKb param)

    failproofai/policies
    2.3k installs1 stars
  37. warn-package-publishpackages & systemPreToolUse

    Warn before publishing packages to public registries (npm, PyPI, crates.io, RubyGems, etc.)

    failproofai/policies
    2.3k installs1 stars
  38. warn-repeated-tool-callsai behaviorPreToolUse

    Warn when the same tool is called 3+ times with identical parameters

    failproofai/policies
    2.3k installs1 stars
  39. warn-schema-alterationdatabasePreToolUse

    Warns before SQL schema changes (ALTER TABLE with column or rename operations)

    failproofai/policies
    2.3k installs1 stars

━━ packs

━━ review before you install

packs are published by their authors. failproof ai does not review, audit, or certify them, and listing here is not an endorsement. the hub checksums every pack against the SHA256SUMS in its own release — that proves the file is the one that release published, and nothing else. it is not a signature: whoever controls the release controls both files, so it says nothing about who wrote the code, and nothing about whether the code is safe.

read the source before you install. a policy runs inside your agent's hook path on every call it matches, and sees the tool input your agent is about to act on. treat a third-party pack exactly as you would any other dependency you are about to give that access to.

━━ publish your own

no submission form, no approval queue. publish a release, tag your repo failproofai-policies, and it is indexed here within the hour.

how to publish →