Skip to content

CLI reference

The Crysk commands you need on your machine, with their main flags.

View as Markdownllms.txt

crysk --help prints every command and flag. This page covers the ones you will use. New to the CLI? Start with Use Crysk locally.

Command What it does
crysk review Reviews a branch or a pull request.
crysk init Creates .crysk/config.json and, when the repo has no review instructions, a root REVIEW.md. Keeps files that exist.
crysk setup Onboarding: checks your tools and prepares your coding agents and the repository.
crysk setup --ci Writes the GitHub Actions workflow. Same as crysk ci init.
crysk doctor Checks your tools and setup. Exits 1 only on a blocking problem.
crysk config Shows every setting, its value and which file set it.
crysk status Shows a pull request’s crysk check, findings and next action.
crysk triage reply Replies to one finding in its thread.
crysk watch Reviews one open pull request per run, on a schedule.
crysk gc Deletes finished review worktrees.
crysk usage Lists past runs with tokens and findings.
crysk upgrade Updates Crysk.
crysk uninstall Removes Crysk’s background jobs and skills.
Terminal window
crysk review [flags]
Flag What it does
--pr [n] Reviews pull request n, or the one of the current branch. Needs gh.
--base <ref> Base branch or commit. Default: default_base in the config, then origin/HEAD, then main.
--head <ref> Head branch or commit. Default: HEAD.
--post With --pr: publishes the review as one comment on the pull request.
--dry-run Prints the plan and runs nothing. Free.
--yes, -y Skips the confirmation prompt.
--force Reviews even when the size gate would skip it. Does not skip the confirmation.
--full On a re-review, reviews the whole pull request instead of the new commits.
--max-changed-lines <n> Skips diffs above n changed lines. Default 4000; 0 turns it off.
--max-changed-files <n> Skips diffs above n changed files. Default 150; 0 turns it off.
--model <model> Uses one model for every step: claude:<name>-latest, opencode:<provider>/<model>, or sonnet, opus, haiku.
--hop-budget <n> Steps each reviewer may take. Default 12. The main lever on cost.
Command Flags
crysk init None needed.
crysk setup None needed.
crysk setup --ci --force overwrites an existing workflow. --level minimal|balanced|thorough|manual sets how re-reviews run. --ci-mode gate|advisory. --max-changed-lines <n>.
Command What it does
crysk config Lists every setting with its value and source.
crysk config set <key> <value> Sets a value. It goes to your own file, ~/.crysk/config.json, unless you pass --team.
crysk config set <key> <value> --team Sets it in the repository file, .crysk/config.json, which your team shares.
crysk config unset <key> Removes a value. Accepts --team too.
crysk config edit Opens the interactive editor.
Terminal window
crysk status --pr 123 --json
Flag What it does
--pr <n> The pull request to read. Required.
--json Prints one JSON object on stdout instead of a few lines on stderr.
--wait Waits until a review in progress finishes before printing.
Terminal window
crysk triage reply --pr 123 --finding R001 --tag applied --body-file reply.md
Flag What it does
--pr <n>, --finding <id>, --body-file <path> Required: the pull request, the finding id, and a file with your reasoning.
--tag <tag> Required: applied, dismissed, deferred or misclassified.
--verdict <v> upheld, rejected or inconclusive. Required for dismissed, deferred and misclassified; not allowed for applied.
--issue <n> With deferred: the issue that tracks it.
--dry-run Prints the comment it would reply to and posts nothing.

crysk watch --once runs one pass: it reviews at most one unreviewed open pull request across the repositories you added. A scheduler runs it; it is not a daemon.

Command What it does
crysk watch add Adds the current repository (or --repo <dir>). Flags: --post, --on-push, --max-changed-lines, --max-changed-files.
crysk watch remove Removes it.
crysk watch status Shows the configuration and today’s runs.
crysk watch install Installs the macOS job that runs it every --interval minutes (default 15).
Command Flags
crysk gc --dry-run lists what it would delete. --repo <dir> limits it to one repository.
crysk usage --all shows every repository, not only the current one.
crysk upgrade --check only reports the latest version. --dry-run prints the steps.
crysk uninstall --dry-run prints what it would remove. --purge also deletes Crysk’s saved data.