Documentation Index
Fetch the complete documentation index at: https://docs.befailproof.ai/llms.txt
Use this file to discover all available pages before exploring further.
failproofai p -i
Options
| Flag | Description |
|---|---|
--cli claude|codex|copilot | Agent CLI(s) to install for; space-separated (e.g. --cli claude codex copilot) or repeated. Omit to detect installed CLIs and prompt. |
--scope user | Install into the user-scope settings file (Claude: ~/.claude/settings.json; Codex: ~/.codex/hooks.json; Copilot: ~/.copilot/hooks/failproofai.json). Default. |
--scope project | Install into the project-scope settings file (Claude: <cwd>/.claude/settings.json; Codex: <cwd>/.codex/hooks.json; Copilot: <cwd>/.github/hooks/failproofai.json). |
--scope local | Claude only — installs into <cwd>/.claude/settings.local.json. Codex and Copilot do not have a local scope. |
--custom <path> / -c | Path to a JS file containing custom hook policies |
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
--install again adds new policies without removing existing ones.
Examples
--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.
