/cxcskills:sol-loopfrom cxcskills
Review the current change with OpenAI's Sol model in a short loop until you both agree.
Ships in cxcskills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Make a change more correct before (or sometimes after) filing a pull request: OpenAI's Sol model reviews it in a loop. In this repo's main flow it runs after code-review and before the PR.
Make the most minimal possible changes to appease the Sol reviewer. Be careful of scope creep and don't be scared to push back.
Run git status --short. Do not stash, discard, or include unrelated changes. Limit review to the change paths if they separate cleanly. Otherwise stop and ask.
Find the base after git fetch origin:
gh pr view <n> --json baseRefName,headRefOid. Check out the branch only if clean. Confirm HEAD is the PR head, or ahead only by this change. Base: git merge-base HEAD origin/<baseRefName>.git merge-base HEAD origin/<default-branch>. No remote: a base the user names, or HEAD for uncommitted changes only.The change is base to working tree in those paths, with untracked files. Use one diff command all rounds. State intent and out-of-scope in 1-2 sentences. Run covering checks. Do not send code this change breaks. Note missing or pre-failing checks in the brief.
Call the Skill tool with "model-delegates" for the routes, the settings, and the delegate script. The reviewer is the member the settings name as Sol reviewer; with no setting, the codex route on Codex's default model. Record provider, model, and effort only as meta.txt states them. If no route runs Sol, report the blocker. Do not substitute a model.
Start a fresh delegate every round. Do not edit scoped files while review runs. Wait for the completion notice. Do not poll or start a second reviewer. A timeout, an error, or no reply is not approval. On a failed run, fix what the stderr tail names if you can, then restart the round with the ledger.
Round 1 brief (the delegate gets no history):
Review only. Do not edit, commit, push, comment on PRs, or start subagents.
Use `git --no-optional-locks` for every git command.
Repo: <abs path> Base: <sha> Intent: <intent> Out of scope: <scope> Checks: <results>
See: git diff <base> [-- <paths>]; git status --short (read untracked).
Read surrounding code. Find bugs, broken callers, mismatch with intent.
Skip style unless it hides a bug. Hold to the smallest change. Flag code,
tests, or guards the intent does not need. Other paths, rare cases, small
perf, extra compat: nits.
blocker = intended case wrong. should = real bug callers will hit, in intent. nit = rest.
Reply:
VERDICT: APPROVE or CHANGES
S1 [blocker|should|nit] <file>:<line> <claim>. Fix: <suggestion> (stable ids)
Check each finding and severity yourself. Another path, rare case, or small cost is a nit, whatever label it came with.
Update the ledger. Re-run checks and git diff --shortstat <base>. If review grew the diff, cut first. Do not agree just to end the loop.
Start one only if budget remains and a blocker or should is open, behavior code changed, or approval does not cover the current behavior diff. Start a fresh delegate. Send the round 1 brief, the ledger (fixed: / disagree: / declined: + evidence), the same base diff, and the change since last round. Tell Sol: open ids and changed code only. Mark each old id resolved or still open: <reason>.
Agreed: APPROVE on the current behavior diff, no blocker or should open, no concern of your own. Stuck: an item stays disputed after two replies, or budget ends. Show both sides in 2-3 lines each. The user decides. Budget end is not approval.
Do not push during the loop. Push after agreement only if the user asked to push, ship, or update the PR. If you push to a PR, add this line to the PR body's Evidence section:
Reviewed with sol-loop: <N> rounds with <model>. Sol verdict: approved.
Add on <effort> only if meta.txt records it.
Report: rounds, model, what Sol changed, diff size before/after, fixed and declined findings with reasons, usage if meta.txt has it (else say not), pushed or not.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
52 skills in this plugin
/adopt-designMake finished Claude Design boards the repo's source of truth for how the app looks, with tokens, a design README, and the coding standards that enforce them./ask-mattAsk which skill or flow fits your situation. A router over the skills in this repo./blast-radiusFind what a change could break outside its diff, and prove the one fact it is safe because of by running real code./chief-of-staffPursue a long-running goal in a single session by co-ordinating subagents.npx claudepluginhub cxcarroll/cxcskills --plugin cxcskills