shrike --help for the built-in summary. All commands accept --help. Read-only commands accept --json; mcp serve uses JSON-RPC over stdio instead.
The getshrike binary is equivalent to shrike. The examples use shrike after a local install; npx getshrike ... works the same way.
Command reference
delta, plan, clean, and prune accept --base <ref>. If omitted, Shrike tries origin/main, main, origin/master, then master. clean --all is the exception: it has no branch base and rejects --base.
Aliases and related commands
scan, delta, plan, and report are read-only with respect to project source. They may write snapshots to .shrike/cache/; plan also stores the plan for later commands. Branch-scope commands (report --base, delta, plan, and dry-run cleanup) create and remove a temporary worktree under .shrike/worktrees/.
Cleanup scope
Both paths use the same worktree, baseline, checks, bisection, revert, receipt, and optional
--pr machinery. Neither commits to the base branch.
Exit codes
The per-command nuances — including why
report returns 1 for findings but why returns 0 for a dead symbol — are in Exit codes.
Where to go deeper
- Cleanup report — read the report and the metric.
- Current-state cleanup —
clean --all. - Branch cleanup —
clean --baseand draft PRs. - Verified pruning — batches, checks, receipts, and
recover. - Report format — the JSON contract.
- Agent integrations —
install, hooks, andmcp serve. - GitHub Action —
ci installand CI modes. - Configuration — config fields and defaults.
- Troubleshooting — common failure messages and fixes.