Skip to content

Quickstart with GitHub Actions

Get your first Crysk review on a pull request in about 10 minutes, on the Claude plan you already pay for.

View as Markdownllms.txt

Do it with your agent

Paste this prompt into Claude Code, Codex or another coding agent. It reads this page and does the steps for you.

Set up Crysk pull request reviews in this repository with GitHub Actions.
Follow https://crysk.dev/docs/quickstart-github-actions.md and run each step yourself.

At the end, Crysk has reviewed a pull request in your repository and the crysk check shows its verdict. The review runs in GitHub Actions and uses your Claude Pro or Max plan.

  • A GitHub repository where you can add Actions secrets (admin or write access).
  • Node.js, for npx: check with node --version.
  • The GitHub CLI, logged in: check with gh auth status. Install it from cli.github.com.
  • Claude Code with a Pro or Max plan on any machine, to create the token: check with claude --version.

In a clone of your repository, run:

Terminal window
npx -y crysk setup --ci

In a terminal it asks how re-reviews should work. Press Enter to keep the defaults. You should see:

Created .github/workflows/crysk.yml
Updated .crysk/config.json

Not what you got? If it says a workflow already exists, run npx -y crysk setup --ci --force to overwrite it.

Create a long-lived token for your Claude plan, then paste it when gh asks for the secret value:

Terminal window
claude setup-token
gh secret set CRYSK_CLAUDE_OAUTH_TOKEN

You should see:

✓ Set Actions secret CRYSK_CLAUDE_OAUTH_TOKEN for <owner>/<repo>

Not what you got? gh secret set needs admin or write access to the repository.

3. Commit the files to your default branch

Section titled “3. Commit the files to your default branch”
Terminal window
git add .github/workflows/crysk.yml .crysk/config.json
git commit -m "ci: add Crysk review"
git push

The files must be on the default branch: comment commands such as /crysk review read the workflow from there.

Push any change on a new branch and open a pull request from it:

Terminal window
git switch -c try-crysk
echo "" >> README.md
git commit -am "chore: try Crysk"
git push -u origin try-crysk
gh pr create --fill

Open the pull request from a branch of the same repository, not from a fork: fork pull requests are only reviewed when a maintainer asks for it.

Within a few minutes, the Crysk Review workflow finishes and the crysk check appears on the pull request. Its description says what happened:

Check Meaning
review posted or review complete The review finished. Findings, if any, are comments on the pull request.
crysk: N blocking finding(s) — fix and push, or /crysk override The review found bugs that should block the merge.

Not what you got? A failed run names its cause with a CRYSK-* code in the check and on the pull request. Look it up in the error codes.

  • Make the check block merges: in your branch protection rule, require the crysk status check.
  • Tell Crysk about your codebase: add a REVIEW.md at the repository root with the facts a reviewer cannot infer from the diff. npx -y crysk init creates a starting file; replace its placeholder lines before you commit it.
  • Review again on demand: comment /crysk review on a pull request.