Skip to content

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.

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.

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.

  • 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.
Terminal window
npx skills add cryskai/crysk

It asks which skills to install. Pick crysk-pr and crysk-loop.

Tell it, for example: “Open the pull request for this branch and work through the Crysk review.” Then it:

  1. Pushes the branch and opens the pull request.
  2. Waits for the review with crysk status --pr <n> --wait --json, which blocks until the review finishes.
  3. Reads each finding and the code it points at. A finding is a claim to check, not an order.
  4. Replies to each finding in its thread with one tag and the reasoning.
  5. Pushes all the fixes in one push, then waits for the next review.
  6. 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.

The agent stops and reports instead of continuing when:

  • An override is needed. The agent never posts /crysk override. It asks a maintainer when a deferred or misclassified finding 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 review or /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.

The last run of crysk status ends with next_action set to done. Its fields are listed in status JSON.