Skip to content

Size and spend limits

How Crysk skips very large pull requests, how to change the limit, and how to review a skipped one.

View as Markdownllms.txt

The open-source GitHub Action skips a pull request when its diff is larger than a size limit. The limit depends on how the review is paid.

Route Lines Files
Claude subscription No limit No limit
Metered (Claude API key, or an OpenCode API key) 4000 50

A run on the subscription logs a notice that no limit applies.

Only changed lines and files after exclusions: the built-in ones (lockfiles, minified bundles, snapshots), your .cryskignore, and whitespace-only changes. See exclude files.

Set the inputs of the action in your workflow. 0 turns a limit off.

- uses: cryskai/crysk@v0
with:
max-changed-lines: 8000
max-changed-files: 100

Or set max_changed_lines and max_changed_files in .crysk/config.json. A value in the workflow wins over the file, and either wins over the defaults above.

A skipped pull request gets a skip comment, and the crysk check fails with a description that says so. Comment /crysk review to review it anyway: that run ignores the size limit.

The open-source GitHub Action has no dollar limit. Spend limits come only from the Crysk GitHub App, and they skip only runs billed per token. A run on a subscription is never skipped for cost.