Tool Gates CLI gate
11 allow
6 ask
0 block
tool-gates protects itself. Read-only queries (inspecting the pending queue, listing rules, hook status, doctor) skip prompting. Writes to settings files or the cache ask. See the CLI reference for the full subcommand set.
Showing all 17 rules.
Allowed · inspection
rules/tool_gates.toml#allow 11 patternstool-gates pending list
Allow
Inspect the pending-approvals queue.
tool-gates rules list
Allow
List active permission rules.
tool-gates hooks status
Allow
Report hook wiring per client / scope.
tool-gates hooks json
Allow
Report hook wiring per client / scope.
tool-gates doctor
Allow
Health check. Read-only; safe to run anytime.
tool-gates rules ask-audit
Allow
Categorise
permissions.ask rules. Read-only listing without --apply.tool-gates agy allowlist
Allow
Print the Antigravity native permissions.allow block for safe commands. Read-only without --apply.
tool-gates --help -h
Allow
Info flags.
tool-gates --version -V
Allow
Info flags.
tool-gates --tools-status
Allow
Info flags.
tool-gates --refresh-tools
Allow
Re-scans the system for modern CLI tools (bat, rg, fd, etc.) and rewrites its own hint cache under
~/.cache/tool-gates/. Affects which hints appear, nothing else.Asks first · mutations
rules/tool_gates.toml#ask 6 patternstool-gates approve
Ask
Adds a permanent permission rule to your settings.json. Future matching tool calls auto-allow without prompting.
tool-gates rules remove
Ask
Removes a permission rule from a settings file. Future matching tool calls revert to the default gate decision.
tool-gates pending clear
Ask
Empties
~/.cache/tool-gates/pending.jsonl. Drops every queued approval; cannot be undone.tool-gates hooks add
Ask
Writes tool-gates hook entries into the client's settings.json (Claude/Gemini) or hooks.json (Codex/Antigravity). Changes how every future tool call in that scope is gated.
tool-gates agy allowlist --apply
Ask
Merges the safe-command allowlist into agy's settings.json. Changes which commands agy auto-allows without prompting.
tool-gates review
Ask
Opens the interactive approval TUI. Selecting Approve writes a permanent permission rule to a settings file.