Skip to main content
Writes hook entries into your installed agent CLI’s settings file (Claude Code, OpenAI Codex, or GitHub Copilot CLI (beta)) so failproofai intercepts tool calls. Aliases: failproofai p -i

Options

Behavior

  • No policy names - opens an interactive prompt to select policies
  • Specific names - enables those policies (added to any already enabled)
  • all - enables every available policy
Installation is additive: running --install again adds new policies without removing existing ones.

Examples

When --custom <path> is provided, the file is validated immediately - it must call customPolicies.add() at least once. The resolved path is saved to policies-config.json as customPoliciesPath.