com um clique
humanize
// Iterative development with AI review. Provides RLCR (Ralph-Loop with Codex Review) for implementation planning and code review loops.
// Iterative development with AI review. Provides RLCR (Ralph-Loop with Codex Review) for implementation planning and code review loops.
Consult Codex as an independent expert. Sends a question or task to codex exec and returns the response.
Start RLCR (Ralph-Loop with Codex Review) on Codex using the native Stop hook.
Consult Gemini as an independent expert with deep web research. Sends a question or task to Gemini CLI and returns a research-backed response.
Generate a structured implementation plan from a draft document. Validates input, checks relevance, analyzes for issues, and generates a complete plan.md with acceptance criteria.
Refine an annotated implementation plan into a comment-free plan and a QA ledger while preserving the gen-plan schema.
| name | humanize |
| description | Iterative development with AI review. Provides RLCR (Ralph-Loop with Codex Review) for implementation planning and code review loops. |
| user-invocable | false |
| disable-model-invocation | true |
Humanize creates a feedback loop where AI implements your plan while another AI independently reviews the work, ensuring quality through continuous refinement.
The installer hydrates this skill with an absolute runtime root path:
{{HUMANIZE_RUNTIME_ROOT}}
All command examples below use {{HUMANIZE_RUNTIME_ROOT}}.
Iteration over Perfection: Instead of expecting perfect output in one shot, Humanize leverages an iterative feedback loop where:
The RLCR (Ralph-Loop with Codex Review) loop has two phases:
Phase 1: Implementation
Phase 2: Code Review
codex review --base <branch> checks code quality[P0-9] severity markers0.114.0+ with codex_hooks enabled, Humanize installs a native Stop hook so exit gating runs automaticallyTransforms a rough draft document into a structured implementation plan with:
# With a plan file
"{{HUMANIZE_RUNTIME_ROOT}}/scripts/setup-rlcr-loop.sh" path/to/plan.md
# Or without plan (review-only mode)
"{{HUMANIZE_RUNTIME_ROOT}}/scripts/setup-rlcr-loop.sh" --skip-impl
After each round, write the required summary and stop/exit normally. Humanize's native Codex Stop hook handles review gating automatically.
Common Options:
--max N - Maximum iterations before auto-stop (default: 42)--codex-model MODEL:EFFORT - Codex model and reasoning effort for codex exec (default: gpt-5.5:high)codex review uses gpt-5.5:high--codex-timeout SECONDS - Timeout for each Codex review (default: 5400)--base-branch BRANCH - Base branch for code review (auto-detects if not specified)--full-review-round N - Interval for full alignment checks (default: 5)--skip-impl - Skip implementation phase, go directly to code review--track-plan-file - Enforce plan-file immutability when tracked in git--push-every-round - Require git push after each round--claude-answer-codex - Let Claude answer Codex Open Questions directly (default is AskUserQuestion)--agent-teams - Enable Agent Teams mode--yolo - Skip Plan Understanding Quiz and enable --claude-answer-codex--skip-quiz - Skip the Plan Understanding Quiz only--privacy - Disable methodology analysis at loop exit (default: analysis enabled)"{{HUMANIZE_RUNTIME_ROOT}}/scripts/cancel-rlcr-loop.sh"
# or force cancel during finalize phase
"{{HUMANIZE_RUNTIME_ROOT}}/scripts/cancel-rlcr-loop.sh" --force
"{{HUMANIZE_RUNTIME_ROOT}}/scripts/validate-gen-plan-io.sh" --input path/to/draft.md --output path/to/plan.md
Then follow the workflow in this skill to generate the structured plan content.
"{{HUMANIZE_RUNTIME_ROOT}}/scripts/ask-codex.sh" [--codex-model MODEL:EFFORT] [--codex-timeout SECONDS] "your question"
A good plan file should include:
# Plan Title
## Goal Description
Clear description of what needs to be accomplished
## Acceptance Criteria
- AC-1: First criterion
- Positive Tests (expected to PASS):
- Test case that should succeed
- Negative Tests (expected to FAIL):
- Test case that should fail
## Path Boundaries
### Upper Bound (Maximum Scope)
Most comprehensive acceptable implementation
### Lower Bound (Minimum Scope)
Minimum viable implementation
### Allowed Choices
- Can use: technologies, approaches allowed
- Cannot use: prohibited technologies
## Dependencies and Sequence
### Milestones
1. Milestone 1: Description
- Phase A: ...
- Phase B: ...
## Implementation Notes
- Code should NOT contain plan terminology like "AC-", "Milestone", "Step"
The RLCR loop uses a Goal Tracker to prevent goal drift:
codex - OpenAI Codex CLI (for review)Humanize stores all data in .humanize/:
.humanize/
├── rlcr/ # RLCR loop data
│ └── <timestamp>/
│ ├── state.md
│ ├── goal-tracker.md
│ ├── round-N-summary.md
│ ├── round-N-review-result.md
│ ├── finalize-state.md
│ ├── finalize-summary.md
│ ├── methodology-analysis-state.md
│ ├── methodology-analysis-report.md
│ ├── methodology-analysis-done.md
│ └── complete-state.md
└── skill/ # One-shot skill results
└── <timestamp>/
├── input.md
├── output.md
└── metadata.md
Use the monitor script to track loop progress:
source "{{HUMANIZE_RUNTIME_ROOT}}/scripts/humanize.sh"
humanize monitor rlcr # Monitor RLCR loop
0 - Success1 - Validation error124 - Timeout0 - Success1 - Input file not found2 - Input file is empty3 - Output directory does not exist4 - Output file already exists5 - No write permission6 - Invalid arguments7 - Plan template file not found