Skip to content

/humanize-rlcr

Start RLCR (Ralph-Loop with Codex Review) on Codex using the native Stop hook.

From plugin
humanize
1.6k6 skills4 agents5 commands4 hooks

Claude Code

$ npx -y skills add PolyArch/humanize --skill humanize-rlcr --agent claude-code

SKILL.md

humanize-rlcr.SKILL.md
name: humanize-rlcr
description: Start RLCR (Ralph-Loop with Codex Review) on Codex using the native Stop hook.
type: flow
user-invocable: false
disable-model-invocation: true

Humanize RLCR Loop

Use this flow as the Codex entrypoint for RLCR. Codex installs of Humanize require native hooks support and install the Humanize `Stop` hooks automatically.

Runtime Root

The installer hydrates this skill with an absolute runtime root path:

{{HUMANIZE_RUNTIME_ROOT}}

All commands below assume `{{HUMANIZE_RUNTIME_ROOT}}`.

Required Sequence

1. Setup

Start the loop with the setup script:

"{{HUMANIZE_RUNTIME_ROOT}}/scripts/setup-rlcr-loop.sh" $ARGUMENTS

If setup exits non-zero, stop and report the error.

2. Work Round

For each round:

1. Read current loop prompt from `.humanize/rlcr/<timestamp>/round-<N>-prompt.md` (or `finalize` prompt files when in finalize phase). 2. Implement required changes. 3. Commit changes. 4. Write required summary file:

  • Normal phase: `.humanize/rlcr/<timestamp>/round-<N>-summary.md`
  • Finalize phase: `.humanize/rlcr/<timestamp>/finalize-summary.md`

5. Stop or exit normally. 6. Let the native Humanize `Stop` hook run automatically. 7. If the hook blocks exit, follow the returned instructions exactly and continue the next round.

What This Enforces

The native Stop-hook path enforces:

  • state/schema validation (`current_round`, `max_iterations`, `review_started`, `base_branch`, etc.)
  • branch consistency checks
  • plan-file integrity checks (when applicable)
  • incomplete Task/Todo blocking
  • git-clean requirement before exit
  • `--push-every-round` unpushed-commit blocking
  • summary presence checks
  • max-iteration handling
  • full-alignment rounds (`--full-review-round`)
  • strict `COMPLETE`/`STOP` marker handling
  • review-phase transition guard (`.review-phase-started` marker)
  • code-review gating on `[P0-9]` markers
  • hard blocking on codex review failure or empty output
  • open-question handling when `ask_codex_question=true`

Critical Rules

1. Never manually edit `state.md` or `finalize-state.md`. 2. Never skip a blocked hook result by declaring completion manually. 3. Never run ad-hoc `codex exec` / `codex review` in place of the hook-managed phase transitions. 4. Always use files generated by the loop (`round-*-prompt.md`, `round-*-review-result.md`) as source of truth.

Options

Pass these through `setup-rlcr-loop.sh`:

| Option | Description | Default | |--------|-------------|---------| | `path/to/plan.md` | Plan file path | Required unless `--skip-impl` | | `--plan-file <path>` | Explicit plan path | - | | `--track-plan-file` | Enforce tracked plan immutability | false | | `--max N` | Maximum iterations | 42 | | `--codex-model MODEL:EFFORT` | Codex model and effort for `codex exec` | gpt-5.5:high | | `--codex-timeout SECONDS` | Codex timeout | 5400 | | `--base-branch BRANCH` | Base for review phase | auto-detect | | `--full-review-round N` | Full alignment interval | 5 | | `--skip-impl` | Start directly in review path | false | | `--push-every-round` | Require push each round | false | | `--claude-answer-codex` | Let Claude answer open questions directly | false | | `--agent-teams` | Enable agent teams mode | false | | `--yolo` | Skip quiz and enable --claude-answer-codex | false | | `--skip-quiz` | Skip Plan Understanding Quiz (implicit in skill mode) | false |

Review phase `codex review` runs with `gpt-5.5:high`.

Usage

# Start with plan file
/flow:humanize-rlcr path/to/plan.md

# Review-only mode
/flow:humanize-rlcr --skip-impl

Cancel

"{{HUMANIZE_RUNTIME_ROOT}}/scripts/cancel-rlcr-loop.sh"
Read more
@polyarch
Ships withhumanize

Derived from the GAAC (GitHub-as-a-Context) project. A Claude Code plugin that provides iterative development with independent AI review. Build with confidence through continuous feedback loops.

Stars on GitHub

Momentum

stars in total
1.6k
Star history of PolyArch/humanize on GitHub, a chart by star-history.com

Other skills on humanize.

ask-codex
Auto-invoked

ask-codex

Consult Codex as an independent expert. Sends a question or task to codex exec and returns the response.

@polyarch@polyarchInstall Skill
ask-gemini
Auto-invoked

ask-gemini

Consult Gemini as an independent expert with deep web research. Sends a question or task to Gemini CLI and returns a…

@polyarch@polyarchInstall Skill
humanize-gen-plan
Auto-invoked

humanize-gen-plan

Generate a structured implementation plan from a draft document. Validates input, checks relevance, analyzes for issues, and…

@polyarch@polyarchInstall Skill
humanize-refine-plan
Auto-invoked

humanize-refine-plan

Refine an annotated implementation plan into a comment-free plan and a QA ledger while preserving the gen-plan schema.

@polyarch@polyarchInstall Skill
humanize
Auto-invoked

humanize

Iterative development with AI review. Provides RLCR (Ralph-Loop with Codex Review) for implementation planning and code review…

@polyarch@polyarchInstall Skill

More skills from other plugins.

brainstorming
Auto-invoked

brainstorming

You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…

@obra@obraInstall Skill
ask-matt

ask-matt

Ask which skill or flow fits your situation. A router over the skills in this repo.

skills10d309k
@mattpocock@mattpocockInstall Skill
accessibility
Auto-invoked

accessibility

Design, implement, and audit accessible UI to WCAG 2.2 Level AA across Web, iOS, and Android — semantic ARIA roles and labels,…

ecc12d293k
@affaan-m@affaan-mInstall Skill
compiler-commit

compiler-commit

Use when you want to verify compiler changes and commit with the correct convention. Runs tests, lint, and format, then commits…

react1d252k
@facebook@facebookInstall Skill

Questions about humanize-rlcr.

Which coding agents can use humanize-rlcr?
humanize-rlcr installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.