with one click
plan
Create a detailed plan with exploration before execution
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Menu
Create a detailed plan with exploration before execution
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Based on SOC occupation classification
Make the current work resumable from a clean checkout — commit/push, record in-flight async work, flag what isn't durable. INVOKE ONLY when the user explicitly runs /handoff or asks for a handoff.
Launch and manage jobs on the HPC cluster (INVOKE ONLY when the user explicitly runs /hpc or asks to use this skill).
Analyze files for quality and consistency within the codebase
Deep analysis using parallel reasoning with iterative refinement
Deep verification that all changes meet requirements and preserve correctness
Identify files needed to accomplish a task
| name | plan |
| disable-model-invocation | true |
| description | Create a detailed plan with exploration before execution |
| argument-hint | <task description> |
| allowed-tools | Skill(doublecheck) |
You are entering PLANNING MODE. Explore and analyze before doing any work.
State your understanding of the task: $ARGUMENTS
If unclear, use AskUserQuestion to clarify before proceeding.
Assess complexity to calibrate planning depth:
Explore the project to understand what exists and what the task involves. Scale exploration to task complexity.
For simple tasks: You may explore directly without subagents.
For moderate/complex tasks: Spawn Explore agents in parallel (Task tool, subagent_type='Explore'), each focused on a relevant aspect:
(For code-heavy tasks: Architecture, Feature, Dependency, Test explorers may be more appropriate)
Subagent selection: Opus for tasks requiring judgment. Sonnet for straightforward subtasks. Haiku only for trivial read-only tasks.
Instruct Explore agents to:
After exploration:
Create a plan file named PLAN-<task-slug>.md (e.g., PLAN-add-user-auth.md) in the project root, unless the user or project instructions (CLAUDE.md, AGENTS.md) specify a different location. The task slug should be lowercase, hyphen-separated, and concise (3-5 words max).
Scale the plan to complexity:
# Plan: [Task Title]
## Goal
[What we're accomplishing]
## Approach
1. [Step]
2. [Step]
3. [Step]
## Documentation
- [ ] [Docs to update or create — remove section if genuinely none]
## Verification
- [ ] [How to confirm success]
# Plan: [Task Title]
Created: [Date]
Status: PENDING APPROVAL
## Summary
[2-3 sentences on what will be accomplished]
## Scope
- **In scope**: [What will be done]
- **Out of scope**: [What won't be done]
## Phases
### Phase 1: [Name]
**Goal**: [What this achieves]
**Work**:
- [Item] - [Details]
- [Item] - [Details]
**Steps**:
1. [Step]
2. [Step]
**Verification**:
- [ ] [How to verify]
### Phase 2: [Name]
[Same structure]
## Documentation
What docs need to be created, updated, or extended as part of this work. Include as steps in the relevant phase above, or as a dedicated phase if substantial. Remove this section only if the task genuinely has zero documentation impact.
## Open Questions
- [Unresolved questions for the user]
---
**Please review. Edit directly if needed, then confirm to proceed.**
Add sections as needed: Prerequisites, Risks, Rollback, Testing Strategy, etc.
You MUST run /doublecheck against the plan file to verify completeness, correctness, feasibility, and internal consistency before presenting it to the user. Fix any issues found.
Do not skip this step. Do not decide it's "not worth it" because the plan looks complete or the task seems simple — past instances have skipped it and shipped flawed plans. This step is non-negotiable.
Once confirmed:
/doublecheck in Phase 5 — never skip it, no exceptions