Let your agent fix findings
Install the Crysk skills so your coding agent opens the pull request, answers each finding and pushes fixes until the review is done.
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.
Install the Crysk skills and use them to open this branch's pull request and work through the review. Follow https://crysk.dev/docs/reviews/agent-fixes.md and run each step yourself.
At the end, your coding agent opens the pull request, waits for the Crysk review, judges each finding against the code, replies to it, pushes the fixes and waits for the next review. You step in only when it asks.
Before you start
Section titled “Before you start”- Crysk already reviews your repository: see the quickstart.
- Node.js, for
npx, and the GitHub CLI, logged in (gh auth status) with write access to the repository. - A coding agent that supports skills, such as Claude Code.
1. Install the skills
Section titled “1. Install the skills”npx skills add cryskai/cryskIt asks which skills to install. Pick crysk-pr and crysk-loop.
2. Ask the agent to open the pull request
Section titled “2. Ask the agent to open the pull request”Tell it, for example: “Open the pull request for this branch and work through the Crysk review.” Then it:
- Pushes the branch and opens the pull request.
- Waits for the review with
crysk status --pr <n> --wait --json, which blocks until the review finishes. - Reads each finding and the code it points at. A finding is a claim to check, not an order.
- Replies to each finding in its thread with one tag and the reasoning.
- Pushes all the fixes in one push, then waits for the next review.
- Repeats until the status says
done.
| Tag | What the agent claims |
|---|---|
applied |
The defect is real and fixed in this pull request. |
dismissed |
The finding is wrong, with the code that proves it. Crysk then rechecks it with /crysk recheck. |
deferred |
The finding is right, but fixing it is outside this pull request. |
misclassified |
The defect is real, but Crysk got its severity or tier wrong. |
When it stops and asks you
Section titled “When it stops and asks you”The agent stops and reports instead of continuing when:
- An override is needed. The agent never posts
/crysk override. It asks a maintainer when adeferredormisclassifiedfinding should merge unfixed, or when the review itself is broken (for example every hunter failing on credentials). - The review budget is used up. After the automatic reviews allowed for the pull request, it does not force more. It tells you the pull request waits for your
/crysk reviewor/crysk override. - It suspects a design problem. When fixes keep producing new real findings in the same place, it stops patching and explains the root cause before going on.
It also stops after six forced reviews on the same commit, or when the same failure comes back after its command ran.
Verify it worked
Section titled “Verify it worked”The last run of crysk status ends with next_action set to done. Its fields are listed in status JSON.