deep-planning-codex
Skill27 starsChanged 3 months agoMITView on GitHub
Deprecated for GPT-5.6 Sol. Use native Codex Plan Mode, with focused verification or adversarial review skills when needed.
In this repository16 other files it gives its agents.
- adversarial-plan-review-codexSkill
- canvas-design-codexSkill
- code-intelligenceSkill
- code-mapper-skillSkill
- document-handoffSkill
- docx-winSkill
- frontend-design-codexSkill
- grill-me-codexSkill
- grill-with-docs-codexSkill
- handoff-codexSkill
- pptx-winSkill
- repo-map-codexSkill
- ultraplan-codexSkill
- verification-plan-codexSkill
- web-artifacts-builder-codexSkill
- xlsx-winSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
20 rules. About 0 are common, 7 are distinctive, and 13 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈7
Distinctive · estimate
This author's own choices. Worth a look.
13
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 12
Run a Codex-native deep planning protocol that adapts to software with Git, software without Git, business artifact work, and mixed …
- Distinctive: line 16
Treat the user's invocation text as the planning objective.
- Very specific: line 17
Create or reuse the target project's .deep-planning/ workfolder.
- Very specific: line 19
Every phase updates .deep-planning/state.md.
- Very specific: line 20
Every phase ends with exactly one status: READY_FOR_PROCEED, BLOCKED_NEEDS_USER_DECISION, BLOCKED_BY_MISSING_EVIDENCE, or FAILED_VALIDATION.
- Very specific: line 21
Stop at explicit proceed gates.
- Very specific: line 22
Use companion skills when available: $repo-map-codex, $verification-plan-codex, $adversarial-plan-review-codex, $grill-with-docs-codex, …
- Distinctive: line 23
Use Codex subagents only when explicitly allowed by the user or current session instructions.
- Very specific: line 27
When a companion skill is invoked inside this workflow, require a Deep Planning Delta and merge it into .deep-planning/state.md before any …
- Very specific: line 43
If the companion skill writes a native artifact outside .deep-planning/, such as .ultraplan/plan.md, keep that native artifact and also …
- Distinctive: line 47
Read references only when needed:
- Very specific: line 60
Failure autopsy: if prior failures exist, use systematic debugging or diagnosis to build failure-autopsy.md and dead-ends-registry.md.
- Distinctive: line 62
Targeted probes: run low-cost probes mapped to assumptions.
- Distinctive: line 63
Design synthesis: use brainstorming only if real design ambiguity remains.
- Very specific: line 64
Grounded implementation plan: use $ultraplan-codex for software-heavy work.
- Very specific: line 67
Final execution plan: use superpowers:writing-plans for code-heavy work.
- Distinctive: line 69
Final verification and archive: use verification-before-completion behavior, then write final validation and handoff records.
- Very specific: line 82
Default to mixed-business-coding when uncertain.
- Very specific: line 110
Use .ultraplan/plan.md when $ultraplan-codex is part of the selected software-heavy workflow, but do not treat it as a replacement for …
- Very specific: line 118
Before presenting a final execution plan, run scripts/validate_deep_planning_artifacts.py against the target project when possible.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Codex Deep Planning Orchestrator
Deprecated for GPT-5.6 Sol. Use native Codex Plan Mode, with focused verification or adversarial review skills when needed. Do not use this package for new work.
Overview
Run a Codex-native deep planning protocol that adapts to software with Git, software without Git, business artifact work, and mixed business-coding projects. Produce durable planning artifacts, proof criteria, and a reviewed execution strategy before implementation.
Core Contract
- Treat the user's invocation text as the planning objective.
- Create or reuse the target project's
.deep-planning/workfolder. - During planning, do not edit implementation files. Allowed planning writes are
.deep-planning/,.ultraplan/plan.md, approved design/plan docs,CONTEXT.md, and accepted ADRs. - Every phase updates
.deep-planning/state.md. - Every phase ends with exactly one status:
READY_FOR_PROCEED,BLOCKED_NEEDS_USER_DECISION,BLOCKED_BY_MISSING_EVIDENCE, orFAILED_VALIDATION. - Stop at explicit proceed gates. Continue only after the user says
PROCEEDor gives equivalent explicit approval. - Use companion skills when available:
$repo-map-codex,$verification-plan-codex,$adversarial-plan-review-codex,$grill-with-docs-codex,$grill-me-codex,$handoff-codex,$ultraplan-codex,superpowers:brainstorming,superpowers:systematic-debugging,superpowers:writing-plans, andsuperpowers:verification-before-completion. If unavailable, perform the same behavior locally. - Use Codex subagents only when explicitly allowed by the user or current session instructions. Otherwise perform bounded local exploration and review.
Companion Skill Contract
When a companion skill is invoked inside this workflow, require a Deep Planning Delta and merge it into .deep-planning/state.md before any proceed gate:
## Deep Planning Delta
Phase: ...
Status: READY_FOR_PROCEED | BLOCKED_NEEDS_USER_DECISION | BLOCKED_BY_MISSING_EVIDENCE | FAILED_VALIDATION
Updated artifacts:
- ...
Blockers:
- ...
Open assumptions:
- ...
Next action:
...If the companion skill writes a native artifact outside .deep-planning/, such as .ultraplan/plan.md, keep that native artifact and also update or link the corresponding .deep-planning/ artifact so the validator can reason over the full planning packet.
References
Read references only when needed:
references/project-modes.mdwhen selecting or revising project mode.references/artifact-contracts.mdbefore writing or validating.deep-planning/artifacts.references/phase-contracts.mdbefore running the full workflow or resuming a workflow.references/proceed-gates.mdbefore stopping for approval.references/subagent-strategy.mdbefore delegating planning or execution work.
Phase Flow
- Harness preflight: record workspace, writable roots, Git state if present, available skills, subagent authorization, allowed artifact paths, and selected project mode.
- Intake and criteria: sharpen success criteria, failure criteria, out-of-scope boundaries, owner decisions, risk tolerance, and documentation permissions.
- Project map and evidence catalog: invoke
$repo-map-codexif available or produce equivalentrepo-map.mdandevidence-catalog.md. - Failure autopsy: if prior failures exist, use systematic debugging or diagnosis to build
failure-autopsy.mdanddead-ends-registry.md. - Assumption attack: challenge criteria, evidence, dead ends, and unresolved claims; update
assumption-ledger.md. - Targeted probes: run low-cost probes mapped to assumptions. Do not implement features.
- Design synthesis: use brainstorming only if real design ambiguity remains; otherwise write the selected design directly.
- Grounded implementation plan: use
$ultraplan-codexfor software-heavy work; for artifact-heavy work write.deep-planning/implementation-plan.md. When$ultraplan-codexwrites.ultraplan/plan.md, also write or update.deep-planning/implementation-plan.mdwith the execution sequence, verification command, and a pointer to the native plan. - Verification plan: invoke
$verification-plan-codexif available or produce equivalent proof criteria. - Adversarial review: invoke
$adversarial-plan-review-codexif available or locally red-team the plan and fix blockers. - Final execution plan: use
superpowers:writing-plansfor code-heavy work; otherwise write a decision-complete artifact execution plan. - Execution strategy: choose subagent-driven, parallel, or inline execution only after explicit approval.
- Final verification and archive: use verification-before-completion behavior, then write final validation and handoff records.
Project Modes
Classify the project in preflight:
| Mode | Use when | Delivery primitive |
software-git | Git repository and commits/PRs are allowed | branch, commit, PR, CI |
software-no-git | Code exists but no commit workflow is allowed | file snapshots, milestone state, validation log |
business-artifact | Work is mostly docs, reports, spreadsheets, decisions, or analysis | approval packet, evidence log, deliverable folder |
mixed-business-coding | Business deliverables include code, scripts, data, or automation | artifact snapshots plus code and business validation |
Default to mixed-business-coding when uncertain.
Required Artifacts
Maintain these in the target project's .deep-planning/ folder as applicable:
state.mdharness-preflight.mdproject-mode.mdsuccess-criteria.mdfailure-criteria.mdout-of-scope.mdstakeholder-map.mdrepo-map.mdevidence-catalog.mdassumption-ledger.mddecision-log.mdfailure-autopsy.mddead-ends-registry.mdprobe-results.mddesign.mdimplementation-plan.mdverification-plan.mdadversarial-review.mdexecution-strategy.mdfinal-validation.mdhandoffs/
Use .ultraplan/plan.md when $ultraplan-codex is part of the selected software-heavy workflow, but do not treat it as a replacement for .deep-planning/implementation-plan.md.
Handoff Policy
Do not run full handoff after every small phase by default. Always update .deep-planning/state.md. Run $handoff-codex at major context gates: after Phase 0, after failure autopsy, after final plan approval, before execution handoff, and at final archive. In this workflow, store handoffs under .deep-planning/handoffs/<gate>.md or record a state pointer to the handoff path.
Validation
Before presenting a final execution plan, run scripts/validate_deep_planning_artifacts.py against the target project when possible. Treat missing required artifacts, incomplete state fields, unresolved proceed gates, failed adversarial verdicts, blocking review findings, or unreviewed verification criteria as blockers.
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
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.

