Skills

Plan

Lightweight planning with optional interview

Install

npx skills add Yeachan-Heo/oh-my-codex --skill plan -g -a claude-code -y
Category
Engineering
Updated
3d ago
License
MIT
Context cost
Lightabout 904 tokens
Runs scripts
No, instructions only

What it does

Lightweight planning with optional interview

<Purpose> Plan creates concise, actionable work plans. Auto-detects interview vs direct, supports `--interview` for Socratic clarification and `--review` for evaluation. </Purpose>

<Use_When>

  • Planning before implementation, "plan this", "let's plan"
  • Requirements are vague and need scoping, use --interview
  • Reviewing an existing plan, --review </Use_When>

<Do_Not_Use_When>

  • Want direct execution, execute the scoped task directly; use ultragoal only for durable goals or team for coordinated parallel work
  • Simple focused fix with obvious scope, skip planning </Do_Not_Use_When>

<Execution_Policy>

  • Auto-detect interview vs direct; --interview forces Socratic mode, --direct skips it
  • Ask one question at a time; gather codebase facts first
  • omx explore is deprecated. Use normal repository inspection for codebase facts; omx sparkshell only for explicit shell-native evidence
  • Plans must be evidence-backed: 80%+ claims cite file/line, 90%+ criteria testable
  • Right-size steps to scope; save to .omx/plans/ </Execution_Policy>
<Steps>

Mode Selection

ModeTriggerBehavior
Interview--interview or broad requestSocratic requirements gathering
Direct--direct or detailed requestGenerate plan immediately
Review--reviewCritic evaluation of existing plan

Interview (--interview)

  1. Classify request; ask one focused question via omx question
  2. Gather codebase facts first, then ask informed follow-ups
  3. Build on answers; consult Analyst for hidden requirements
  4. Create plan when user signals readiness

Direct

  1. Quick analysis (optional Analyst)
  2. Generate plan immediately
  3. Optional Critic review if requested

Review (--review)

  1. Read plan from .omx/plans/
  2. Evaluate via Critic; verdict APPROVED/REVISE/REJECT
  3. If author == reviewer, hand off to $code-review
Read the whole SKILL.md on GitHub

More in Engineering