mj-claude-code-review-loop
Installation
SKILL.md
Claude Code Review Loop
Overview
Use this skill to run Claude Code as an external reviewer while Codex remains the owner of judgment, edits, verification, and commits. Default loop: 3 rounds of Claude review -> Codex triage -> Codex fixes -> verification -> commit.
Hard Rules
- Use this only when the user explicitly asks to involve Claude Code, a Claude Code CLI command, or this skill.
- Treat Claude Code as a reviewer, not the authority. Validate every finding against the repo before changing code.
- Ask Claude Code to produce reports only. Do not ask it to edit files, commit, push, delete, or rewrite the repo.
- Before starting, record
git status --short --branch. Preserve unrelated dirty files and never commit them. - Store Claude reports outside the repo by default, for example under
/tmp/claude-code-review-<repo>-<timestamp>/. - If the Claude Code command unexpectedly changes files, stop, inspect the diff, and report it. Do not discard user or tool changes blindly.
- Run at least 3 review rounds unless the user requests fewer, the repo has no code, or the CLI is unavailable.
- Stop after round 3 unless there is a concrete verified blocker. Do not create an open-ended agent loop.