Create Oracle Review Powered Goal Plan
Overview
Create a concise Markdown handoff for Codex CLI /goal <path> that embeds an Oracle-reviewed implementation loop. This skill specializes create-goal-plan: the goal file remains short, but the process requires implementation, local validation, Oracle GPT-5.5 Pro review, rework, and repeated Oracle review until the remaining recommendations are empty or explicitly rejected with rationale.
Workflow
Resolve the task context and full plan.
- Prefer the active task
status.md, accepted plan entry, and dedicated plan artifacts under task-progress-artifacts/.
- If no plan is accepted yet, do not imply approval. The goal plan may say that implementation begins only after explicit human acceptance and normal task-status persistence.
- Cite the full plan/status paths in
Context instead of duplicating long planning detail.
Write a compact goal plan.
- Use the same shape as
create-goal-plan: first line is one concrete outcome, then exactly Context:, Constraints:, Process:, and Done when:.
- Keep it roughly one screen. The complete architecture, plan, and rationale belong in cited artifacts.
- Include dirty-worktree, privacy, secrets, destructive-action, and external-API boundaries when relevant.
Make the Oracle loop explicit in Process.
- Implement in focused phases from the accepted plan.
- Run repo-local tests, linters, validators, smoke tests, or reproductions after each meaningful phase.
- Prepare a tight Oracle prompt with the changed files, acceptance criteria, validation commands already run, known risks, and the exact review question.
- Run the local wrapper with GPT-5.5 Pro browser/manual-login mode:
oracle --engine browser --browser-manual-login --browser-chrome-path "$HOME/pro/botfiles/bin/oracle-chrome-linux" --model "5.5 Pro" --browser-model-strategy current -p "<review prompt>" --file "<focused paths>"
- Wait or reattach until Oracle completes. Do not downgrade for normal latency,
in_progress, prompt-size issues, polling-shell death, or browser upload friction; compact or reattach first. Fallback from GPT-5.5 Pro only after repeated availability or access failures.
- Save Oracle prompt, response, and relevant logs under the task's
task-progress-artifacts/scratchpad/.
- Classify Oracle feedback as must-fix, optional, or rejected-with-rationale. Implement must-fix items, rerun local validation, and repeat Oracle review on the revised diff until no material changes remain.
- Report the created file and invocation.
- Tell the user the exact path.
- Include the exact
/goal <path> command they can paste.
Oracle Review Rules
- Use the local
oracle wrapper, not raw npx, unless debugging the wrapper itself.
- Attach the fewest files that still contain the truth. Never attach
.env, secrets, private keys, raw tokens, or unrelated private data.
- Ask Oracle for findings, risk assessment, concrete recommendations, and test gaps. Do not ask for hidden chain-of-thought.
- Treat Oracle as advisory but high-signal. If rejecting a recommendation, write a short rationale and keep it with the review artifact or final notes.
- Repeat review only after meaningful changes. If the last Oracle response has no material changes or only rejected optional suggestions, the loop can close.
Goal Plan Template
<Implement/fix/build the concrete outcome, using Oracle GPT-5.5 Pro review until no material changes remain.>
Context:
- <full accepted plan/status/artifact paths>
- <files or modules to inspect first>
Constraints:
- <do not change / privacy / secrets / external API / dirty worktree boundaries>
- Use Oracle GPT-5.5 Pro browser/manual-login review; do not downgrade for normal latency.
Process:
- Implement from the accepted plan in scoped phases and run local validation.
- Prepare a focused Oracle review prompt with changed files, criteria, tests run, and known risks; run the explicit GPT-5.5 Pro browser command.
- Save Oracle prompt/response/logs, implement must-fix feedback, rerun validation, and repeat Oracle review until clean or remaining suggestions are rejected with rationale.
Done when:
- <objective verification passes>
- <tests/checks pass>
- Final Oracle GPT-5.5 Pro review has no material changes.
- Final answer summarizes implementation, validation commands, and Oracle iterations.
1---2name: create-oracle-review-powered-goal-plan3description: Create compact Codex `/goal` plan files that require an implementation loop with Oracle GPT-5.5 Pro review between iterations. Use when the user wants a goal plan that explicitly sequences implementation, strongest-model Oracle review, rework from Oracle findings, repeated review until no material changes remain, and final verification.4---56# Create Oracle Review Powered Goal Plan78## Overview910Create a concise Markdown handoff for Codex CLI `/goal <path>` that embeds an Oracle-reviewed implementation loop. This skill specializes `create-goal-plan`: the goal file remains short, but the process requires implementation, local validation, Oracle GPT-5.5 Pro review, rework, and repeated Oracle review until the remaining recommendations are empty or explicitly rejected with rationale.1112## Workflow13141. Resolve the task context and full plan.15 - Prefer the active task `status.md`, accepted plan entry, and dedicated plan artifacts under `task-progress-artifacts/`.16 - If no plan is accepted yet, do not imply approval. The goal plan may say that implementation begins only after explicit human acceptance and normal task-status persistence.17 - Cite the full plan/status paths in `Context` instead of duplicating long planning detail.18192. Write a compact goal plan.20 - Use the same shape as `create-goal-plan`: first line is one concrete outcome, then exactly `Context:`, `Constraints:`, `Process:`, and `Done when:`.21 - Keep it roughly one screen. The complete architecture, plan, and rationale belong in cited artifacts.22 - Include dirty-worktree, privacy, secrets, destructive-action, and external-API boundaries when relevant.23243. Make the Oracle loop explicit in `Process`.25 - Implement in focused phases from the accepted plan.26 - Run repo-local tests, linters, validators, smoke tests, or reproductions after each meaningful phase.27 - Prepare a tight Oracle prompt with the changed files, acceptance criteria, validation commands already run, known risks, and the exact review question.28 - Run the local wrapper with GPT-5.5 Pro browser/manual-login mode:2930```bash31oracle --engine browser --browser-manual-login --browser-chrome-path "$HOME/pro/botfiles/bin/oracle-chrome-linux" --model "5.5 Pro" --browser-model-strategy current -p "<review prompt>" --file "<focused paths>"32```3334 - Wait or reattach until Oracle completes. Do not downgrade for normal latency, `in_progress`, prompt-size issues, polling-shell death, or browser upload friction; compact or reattach first. Fallback from GPT-5.5 Pro only after repeated availability or access failures.35 - Save Oracle prompt, response, and relevant logs under the task's `task-progress-artifacts/scratchpad/`.36 - Classify Oracle feedback as must-fix, optional, or rejected-with-rationale. Implement must-fix items, rerun local validation, and repeat Oracle review on the revised diff until no material changes remain.37384. Report the created file and invocation.39 - Tell the user the exact path.40 - Include the exact `/goal <path>` command they can paste.4142## Oracle Review Rules4344- Use the local `oracle` wrapper, not raw `npx`, unless debugging the wrapper itself.45- Attach the fewest files that still contain the truth. Never attach `.env`, secrets, private keys, raw tokens, or unrelated private data.46- Ask Oracle for findings, risk assessment, concrete recommendations, and test gaps. Do not ask for hidden chain-of-thought.47- Treat Oracle as advisory but high-signal. If rejecting a recommendation, write a short rationale and keep it with the review artifact or final notes.48- Repeat review only after meaningful changes. If the last Oracle response has no material changes or only rejected optional suggestions, the loop can close.4950## Goal Plan Template5152```markdown53<Implement/fix/build the concrete outcome, using Oracle GPT-5.5 Pro review until no material changes remain.>5455Context:56- <full accepted plan/status/artifact paths>57- <files or modules to inspect first>5859Constraints:60- <do not change / privacy / secrets / external API / dirty worktree boundaries>61- Use Oracle GPT-5.5 Pro browser/manual-login review; do not downgrade for normal latency.6263Process:64- Implement from the accepted plan in scoped phases and run local validation.65- Prepare a focused Oracle review prompt with changed files, criteria, tests run, and known risks; run the explicit GPT-5.5 Pro browser command.66- Save Oracle prompt/response/logs, implement must-fix feedback, rerun validation, and repeat Oracle review until clean or remaining suggestions are rejected with rationale.6768Done when:69- <objective verification passes>70- <tests/checks pass>71- Final Oracle GPT-5.5 Pro review has no material changes.72- Final answer summarizes implementation, validation commands, and Oracle iterations.73```