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.
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.
Before you start
Section titled “Before you start”- A GitHub repository where you can add Actions secrets (admin or write access).
- Node.js, for
npx: check withnode --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.
1. Add the workflow
Section titled “1. Add the workflow”In a clone of your repository, run:
npx -y crysk setup --ciIn a terminal it asks how re-reviews should work. Press Enter to keep the defaults. You should see:
Created .github/workflows/crysk.ymlUpdated .crysk/config.jsonNot what you got? If it says a workflow already exists, run npx -y crysk setup --ci --force to overwrite it.
2. Store your Claude token as a secret
Section titled “2. Store your Claude token as a secret”Create a long-lived token for your Claude plan, then paste it when gh asks for the secret value:
claude setup-tokengh secret set CRYSK_CLAUDE_OAUTH_TOKENYou 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”git add .github/workflows/crysk.yml .crysk/config.jsongit commit -m "ci: add Crysk review"git pushThe files must be on the default branch: comment commands such as /crysk review read the workflow from there.
4. Open a pull request
Section titled “4. Open a pull request”Push any change on a new branch and open a pull request from it:
git switch -c try-cryskecho "" >> README.mdgit commit -am "chore: try Crysk"git push -u origin try-cryskgh pr create --fillOpen 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.
5. See the review
Section titled “5. See the review”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.
Next steps
Section titled “Next steps”- Make the check block merges: in your branch protection rule, require the
cryskstatus check. - Tell Crysk about your codebase: add a
REVIEW.mdat the repository root with the facts a reviewer cannot infer from the diff.npx -y crysk initcreates a starting file; replace its placeholder lines before you commit it. - Review again on demand: comment
/crysk reviewon a pull request.