Skip to content

CLI commands

Most of the time you’ll invoke rippy as a hook — rippy --mode claude or similar — and the rest of the machinery is invisible. But rippy also has a handful of subcommands for setting up, inspecting, and evolving your config. Here’s the full list.

CommandDescription
rippy --mode claudeRun as a Claude Code PreToolUse hook (reads JSON from stdin, returns verdict on stdout)
rippy --mode cursorRun as a Cursor hook
rippy --mode geminiRun as a Gemini CLI hook
rippy --mode codexRun as a Codex CLI hook
CommandDescription
rippy initInitialize config with interactive package selection
rippy init --package <name>Initialize with a specific package (review, develop, autopilot)
rippy setup claude-codeInstall rippy as a hook for Claude Code
rippy setup geminiInstall rippy as a hook for Gemini CLI
rippy setup cursorInstall rippy as a hook for Cursor
rippy setup tokfConfigure tokf to use rippy as its permission engine
CommandDescription
rippy profile listList available safety packages (built-in + custom)
rippy profile show <name>Show what a package auto-approves, asks, and blocks
rippy profile set <name>Activate a safety package

<name> accepts any built-in (review, develop, autopilot) or a custom package discovered in ~/.rippy/packages/<name>.toml. See Custom packages for how to author one.

CommandDescription
rippy inspectShow all configured rules
rippy inspect <command>Trace the decision rippy would make for a specific command
rippy debug <command>Trace the full decision path (every rule considered) for a command
rippy list safeList all auto-approved safe commands
rippy list handlersList commands with dedicated handlers
rippy list rulesShow effective rules merged from all config sources
rippy statsShow aggregate decision-tracking statistics
CommandDescription
rippy allow <pattern>Add an allow rule to your config
rippy deny <pattern>Add a deny rule to your config
rippy ask <pattern>Add an ask rule to your config
rippy suggestAnalyze your tracking data and suggest new rules
rippy discover <cmd>Discover flag aliases from a command’s help output
rippy migrateConvert a legacy flat .rippy config to .rippy.toml
CommandDescription
rippy trustManage trust for project-level config files (see Configuration overview → Project config trust)
  • rippy inspect <command> is the fastest way to answer “why did rippy block / approve / ask about this?” — it reports which rule fired and which config file it came from.
  • rippy suggest pairs well with rippy stats: let rippy watch your sessions for a while, then ask it which rules would have saved you approval prompts.
  • rippy migrate is a one-shot converter for the legacy flat .rippy / .dippy format. Write new configs as .rippy.toml; the flat format stays loaded for backward compatibility.