Codex with ChatGPT Planning Loop
XiaoDuoYa/codex-with-chatgpt
Uses ChatGPT in the browser as the planning and review brain for a Codex session, with Codex keeping all execution and ChatGPT reading the workspace through a bridge.
Collect critical feedback from all registered LLMs on an artifact (architecture doc, implementation, plan).
$ npx skills add raine/consult-llm --skill review -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install raine/consult-llm review --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/raine/consult-llm.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/review .claude/skills/review && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "review" agent skill from https://github.com/raine/consult-llm/tree/main/skills/review into .claude/skills/review/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "review", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/raine/consult-llm/tree/main/skills/reviewType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add raine/consult-llm --skill review -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install raine/consult-llm review --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/raine/consult-llm.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/review .agents/skills/review && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "review" agent skill from https://github.com/raine/consult-llm/tree/main/skills/review into .agents/skills/review/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "review", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add raine/consult-llm --skill review -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install raine/consult-llm review --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/raine/consult-llm.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/review .cursor/skills/review && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "review" agent skill from https://github.com/raine/consult-llm/tree/main/skills/review into .cursor/skills/review/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "review", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/raine/consult-llm.git --path skills/review--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add raine/consult-llm --skill review -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install raine/consult-llm review --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/raine/consult-llm.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/review .gemini/skills/review && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "review" agent skill from https://github.com/raine/consult-llm/tree/main/skills/review into .gemini/skills/review/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "review", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install raine/consult-llm reviewInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add raine/consult-llm --skill review -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/raine/consult-llm.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/review .github/skills/review && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "review" agent skill from https://github.com/raine/consult-llm/tree/main/skills/review into .github/skills/review/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "review", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add raine/consult-llm --skill review -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install raine/consult-llm review --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/raine/consult-llm.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/review .opencode/skills/review && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "review" agent skill from https://github.com/raine/consult-llm/tree/main/skills/review into .opencode/skills/review/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "review", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
reviewCollect critical feedback from all registered LLMs on an artifact (architecture doc, implementation, plan).
Review is an agent skill from raine/consult-llm. Collect critical feedback from all registered LLMs on an artifact (architecture doc, implementation, plan). Intellectual debate with push-back — no sycophancy. Reports findings and unresolved disagreements.
Its SKILL.md is about 2.4k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in Agent Workflows, covering Planning. It works with OpenAI and DeepSeek. The repository describes itself as: Get a second opinion from another AI model. The licence is MIT.
5 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit 69e3ecb. It shows what the files ask for, not the result of running them.
Pre-approves these tools, so the agent can use them without asking each time:
BashGlobGrepReadWriteFrom allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md (its code samples are bash and markdown).
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Review loads about 2.4k tokens when it runs. Until then it costs about 53 tokens; SKILL.md has 853 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check noted patterns worth knowing about, such as sudo or a known installer.
allowed-tools: Bash, Glob, Grep, Read, WriteAutomated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from raine/consult-llm at commit 69e3ecb, republished under its MIT licence (© raine). 853 words, ~2,421 tokens.
.claude/skills/review/SKILL.md (or your agent's skills folder).Collect critical, honest feedback from all LLMs on an artifact. Push back on weak arguments. Report both consensus findings and unresolved disagreements.
consult-llm skillLoad the consult-llm skill before proceeding — it defines the invocation contract (stdin heredoc, flags, output format, multi-turn). Do not call the CLI without loading it first.
Arguments: $ARGUMENTS
Check the arguments for flags:
Mode flags:
--rounds N → number of critique rounds (default: 2, max: 3)--dry-run → skip the final synthesis, just show raw reviews--models <list> → comma-separated selectors/model IDs to use as reviewers (default: gemini,openai,anthropic,deepseek)Strip all flags from arguments to get the review target — a file path, directory, or topic description.
Set variables:
REVIEWERS: list of model selectors from --models flag, or ["gemini", "openai", "anthropic", "deepseek"] if omitted-m flags by repeating -m <selector> for each reviewerDiscover which selectors and models are available in this environment:
!`consult-llm models`Default reviewers (used when no --models flag is given): gemini, openai, anthropic, deepseek — all four selectors that have a configured backend.
Override with --models flag: --models gemini,openai to review with only two, or --models gemini,openai,anthropic for three. Any selector or exact model ID from the list above is accepted.
This skill exists to find problems, not to validate. Instruct every LLM call with:
Parse the arguments — determine what to review:
Gather context — use Glob, Grep, Read to understand:
Prepare the review brief — a summary of:
Have all four LLMs independently review the artifact in parallel using a single CLI call.
Review prompt:
You are a critical reviewer. Your job is to find problems, not to praise.
## What you are reviewing
[Review brief — artifact content and context]
## Your task
Provide a thorough, critical review:
1. **Problems found**: List concrete issues — bugs, logical errors, missing edge cases, architectural flaws, security concerns. Be specific with file paths and line numbers where applicable.
2. **Questionable decisions**: Decisions that might work but deserve scrutiny — are there better alternatives? What are the trade-offs not being considered?
3. **Missing considerations**: What's not addressed that should be? Gaps in error handling, testing, documentation, scalability, maintainability?
4. **Risks**: What could go wrong in production or during maintenance? What assumptions might not hold?
5. **What works well**: (Brief) What's genuinely solid and should be kept as-is?
Rules:
- Be direct and specific. "This could be improved" is useless. "The retry logic on line 45 silently swallows errors, which will make debugging impossible" is useful.
- Do NOT try to be balanced. If you find 10 problems and 1 good thing, report 10 problems and 1 good thing.
- Do NOT soften criticism. If something is bad, say it's bad and explain why.
- Prioritize your findings: critical issues first, minor nits last.Invoke consult-llm with -m <selector> repeated for each reviewer in REVIEWERS, --task review, and -f <path> for each relevant file. Send the review prompt on stdin via quoted heredoc. All models are queried in parallel in a single call.
The response is in group format:
[thread_id:group_xxx]## Model: <id> header, then [model:<id>] [thread_id:<per-model-id>], then the response bodyExtract thread IDs: Parse each model's thread_id from the per-model header lines. These are needed for Phase 3 since each model receives the other three's responses.
Present all reviews to the user.
For each round (default 2, configurable with --rounds N, max 3):
Share a combined summary of all other reviewers' findings with each reviewer and ask them to challenge, validate, or push back. Use -t <thread_id> to continue each LLM's conversation.
Cross-review prompt (for each reviewer, include the other reviewers' findings):
The other reviewers provided these assessments:
[Combined summary of the other reviewers' latest responses, labeled by provider name]
Respond critically:
1. **Agree**: Which of their findings are valid? Don't just agree to be agreeable — only agree if you genuinely think they're right.
2. **Disagree**: Which findings are wrong, exaggerated, or missing context? Explain why. If they dismissed one of YOUR concerns, push back if you still think it's valid.
3. **New findings**: Did their reviews make you notice anything you missed?
4. **Priority adjustment**: Given all reviews, what are the TOP 3 most critical issues?
Do NOT be diplomatic. If they're wrong, say they're wrong and explain why. If you change your mind, say so explicitly — don't quietly drop a previous point.Each model receives a different prompt (the other reviewers' responses embedded). Invoke consult-llm once with one --run flag per reviewer, continuing each model's thread:
consult-llm \
--run "model=<selector>,thread=$THREAD,prompt-file=$PROMPT" \
... # one --run per reviewer
-f <path> ...Write each model's cross-review prompt to a temp file with mktemp, using __CONSULT_LLM_END__ as the heredoc terminator and >| to overwrite.
Present all responses to the user after each round.
If --dry-run: Present the raw reviews without synthesis.
Analyze all rounds and produce a structured report:
Go through every issue raised across all rounds and categorize:
## Review: [Artifact Name]
**Reviewed:** [What was reviewed — file paths or description]
**Reviewers:** Gemini, OpenAI, Anthropic, DeepSeek
**Rounds:** [N]
### Critical Issues (Consensus)
Issues where 3+ reviewers agree, ordered by severity:
1. **[Issue title]**
- **What:** [Specific description]
- **Where:** [File:line or section]
- **Why it matters:** [Impact]
- **Suggested fix:** [If one emerged from discussion]
- **Raised by:** [Which reviewers]
### Disputed Issues
Issues where reviewers disagree — all positions presented:
1. **[Issue title]**
- **For:** [Reviewers and their argument]
- **Against:** [Reviewers and their argument]
- **Moderator's take:** [Your assessment of who has the stronger argument]
### Minor Findings
Lower-severity issues and suggestions:
- [Finding 1]
- [Finding 2]
### What's Solid
Aspects reviewers consider well-done:
- [Strength 1]
- [Strength 2]
### Unresolved Questions
Open questions that need human judgment:
- [Question 1]
- [Question 2]Add your own honest assessment as moderator:
Save the report to history/review-<artifact-name>.md.
-m flags in a single call. Do not show one reviewer's output to another until Phase 3.600000 on every consult-llm call — LLM responses routinely exceed the 2-minute default.© raine, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in skills/review of raine/consult-llm.
Open the folder on GitHubat commit 69e3ecb
Review next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Review this skillraine/consult-llm | 140 | — | ~2.4k | Automated safety check: Notes | MIT | |
| Codex with ChatGPT Planning LoopXiaoDuoYa/codex-with-chatgpt | 7.1k | — | ~11k | Automated safety check: Notes | MIT | |
| LLM Councilgcpdev/llm-council-skill | 461 | — | ~1k | Automated safety check: Notes | MIT | |
| Remember Learningsdyad-sh/dyad | 22k | — | ~1.1k | Automated safety check: Pass | Custom licence | |
| Intent Debuggerbydtesla1609/intent-debugger | 126 | — | ~2.3k | Automated safety check: Pass | MIT | |
| Test Ocas Openclawpwrdrvr/openclaw-codex-app-server | 265 | — | ~4k | Automated safety check: Pass | MIT |
XiaoDuoYa/codex-with-chatgpt
Uses ChatGPT in the browser as the planning and review brain for a Codex session, with Codex keeping all execution and ChatGPT reading the workspace through a bridge.
gcpdev/llm-council-skill
Multi-LLM collaborative brainstorming and planning. An agent skill from gcpdev/llm-council-skill.
dyad-sh/dyad
Review the current session for errors, issues, snags, and hard-won knowledge, then update the rules/ files (or AGENTS.md if no suitable rule file exists) with actionable learnings.
bydtesla1609/intent-debugger
Interprets vague, conversational, or intuition-led product, software, AI, and feature ideas as a precise, checkable requirements draft, maps rough descriptions to useful professional terms, exposes…
pwrdrvr/openclaw-codex-app-server
Regression test the OpenClaw Codex App Server plugin against a live local OpenClaw instance in Telegram or Discord.
codewhale-hq/Codewhale
Three rules for multi-step work with DeepSeek V4 thinking models: verify references, use a verifier subagent before big edits, and write plans with exact path and line.
raine/consult-llm
Explicit workflow for one bounded implementation using source-grounded discovery, a walking slice, evidence-gated review, validation, and commit.
raine/consult-llm
Multiple LLMs collaboratively brainstorm solutions, building on each other's ideas across rounds.
raine/consult-llm
The agent brainstorms with a partner LLM in alternating turns, building on each other's ideas.
raine/consult-llm
Consult an external LLM with the user's query. An agent skill from raine/consult-llm.
raine/consult-llm
How to invoke the consult-llm CLI. An agent skill from raine/consult-llm.
raine/consult-llm
LLMs propose and critique approaches, agent moderates the debate and synthesizes the best solution, then implements.
Categories
Collect critical feedback from all registered LLMs on an artifact (architecture doc, implementation, plan). Review is an agent skill from raine/consult-llm. Collect critical feedback from all registered LLMs on an artifact (architecture doc, implementation, plan).
Review fits situations like: tasks that involve Planning.
Run `npx skills add raine/consult-llm --skill review -a claude-code`. Or copy the skill folder (skills/review in raine/consult-llm) into .claude/skills/review in your project. Claude Code loads it when a task matches its description.
Run `npx skills add raine/consult-llm --skill review -a codex`. Or copy the skill folder (skills/review in raine/consult-llm) into .agents/skills/review in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add raine/consult-llm --skill review -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/review, .gemini/skills/review, .github/skills/review and .opencode/skills/review in your project.
SKILL.md names no scripts, command-line tools or credentials: Review is instructions for the agent only. Its frontmatter pre-approves these tools: Bash, Glob, Grep, Read, Write.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found notes only (pre-approves every shell command (allowed-tools: bash)), nothing it rates as a warning. It is not a guarantee. Review the folder before installing.
Review is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 2.4k tokens (SKILL.md is roughly 9.7k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Review: Codex with ChatGPT Planning Loop (XiaoDuoYa/codex-with-chatgpt, 7.1k stars), LLM Council (gcpdev/llm-council-skill, 461 stars), Remember Learnings (dyad-sh/dyad, 22k stars) and Intent Debugger (bydtesla1609/intent-debugger, 126 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
raine (a GitHub user) maintains it in raine/consult-llm, which has 140 GitHub stars. The repository holds 12 skills in this directory. The repository was last updated on October 7, 2026.
Source: raine/consult-llm on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.