agentleFS
NYTC69NYTC69/review-loop/.agents/skills/guide/SKILL.md

guide

Skill3 starsChanged 7 months agoApache-2.0View on GitHub

Codex Stage 1 guide for review-loop and the shared Claude/Codex state model.

13 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

3 rules. 0 are common, 1 is distinctive, and 2 are very specific to this project.

  • 0

    Common

    Most of the 9 edited versions we read keep these.

  • 1

    Distinctive

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Keep the shared review-loop config in .review-loop/config.md.

    line 86
  2. Very specific:

    Keep session logs in .review-loop/sessions/.

    line 87
  3. Distinctive:

    Use the local Codex reviewer only when you need to bypass the default Claude CLI reviewer path explicitly.

    line 88

“Common” is measured: kept by at least 6 in 10 of the 9 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

review-loop Guide

What review-loop Does in Codex

In Codex Stage 1, review-loop is a repo skill that follows the same broad review workflow used in Claude Code. It coordinates planning, implementation, and review while keeping the shared session log current. Codex Stage 1 follows the same broad exec -> polish -> docs -> security -> delivery lifecycle.

Codex reads and writes the same review-loop state as Claude Code:

  • .review-loop/config.md
  • .review-loop/sessions/

That means a project can keep one shared config file and one shared session log history across both runtimes. Codex Stage 1 assumes a single orchestrator-owned workspace for the session.

Entry: paired-session default, legacy on request

From v2.10.0 a fresh review-loop request with no entry key in .review-loop/config.md hands off to the Codex paired-session skill, which runs the coordinator through plan, implementation, review, finish, polish, docs and security up to DONE; it accepts only on your explicit acceptance. A request to review existing code hands off the same way as run --review-only. entry: legacy, an existing plan or session, or asking for "the legacy review-loop workflow" keeps the legacy workflow described above. Runs are efficient by default (every sandbox, no permission-probe PASS required); --strict or "safety_mode": "strict" in the operator profile adds the probe gate. The legacy workflow is deprecated since v2.12.0. It still runs unchanged; entry: legacy, asking for "the legacy review-loop workflow", and the plan and execute skills invoked on their own print a one-line deprecation notice. Removal waits for the review-pr and code-quality-loop ports and the open owner rows of the legacy map. Details: docs/paired-session-migration.md.

Stage 1 Scope

Stage 1 in Codex includes only:

  • review-loop
  • guide

It does not yet migrate:

  • code-quality-loop
  • review-pr
  • reorganize

Reviewer Behavior

Codex Stage 1 defaults to the outside-sandbox Claude CLI reviewer path. In practice, that means review stays on claude -p --model ... unless the user explicitly opts into the local Codex reviewer.

You can force the local Codex reviewer with:

  • codex_reviewer_backend: codex

This is the override to use when you want Codex to skip the Claude CLI reviewer and use the Codex reviewer directly. In that case, codex_reviewer_model is the paired model override, while reviewer_model still applies to the Claude CLI reviewer path and judgment_model is its shared-tier fallback before the explicit claude-opus-5-5 backstop.

cheap_model is accepted in the shared config so Claude and Codex can share the same file, but in Codex Stage 1 it is a documented no-op because only judgment-tier Codex agents are currently shipped. quality_focus applies only when Step 3.5 Quality Polish actually runs. skip_quality_polish: true mints polish as a no-op completion and still continues through docs and security.

Usage Notes

  • Instructions load by active action via docs/protocol/loading.md and scripts/read_protocol.py, shared with Claude Code. Only still-available, unchanged units can be reused in one live context; resume/compaction and independent agents reload their prerequisites. All lifecycle gates remain.
  • Executor-created hidden worktrees are forbidden in Codex Stage 1.
  • Codex Stage 1 supports before-polish, before-docs, and before-security as clean stop points.
  • Codex repo skills live under .agents/skills/ in the Codex workspace.
  • Keep the shared review-loop config in .review-loop/config.md.
  • Keep session logs in .review-loop/sessions/.
  • Use the local Codex reviewer only when you need to bypass the default Claude CLI reviewer path explicitly.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.