Create a strategic work plan via a planner-style interview and structured plan drafting.
3 stars
0 votes
0 copies
2 views
Added October 16, 2026
ai-agentsgorefactoring
Works with
claude code
mcp
Security analysis
A100/100
Scanned November 11, 2026
$npx -y skills add UtsavBalar1231/oh-my-claudeagent --skill plan --agent claude-code
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Plan?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/utsavbalar1231-plan)
---
name: plan
description: Create a strategic work plan via a planner-style interview and structured plan drafting.
user-invocable: true
disable-model-invocation: true
argument-hint: "[work description]"
---
Call `health_check` first, loading it if needed: `ToolSearch({query: "select:mcp__plugin_oh-my-claudeagent_omca__health_check", max_results: 1})`. Proceed only when `runtime` is `ok`; otherwise repeat `runtime_reason` to the user, tell them to run `/oh-my-claudeagent:omca-setup`, and stop. If the tool is still missing, say OMCA's server is not connected and stop.
# Plan command: planner entrypoint
Invoke the planner protocol at depth 0, in this session. Run the protocol yourself rather than handing the plan to a `planner` subagent: a subagent runs without `AskUserQuestion` and, in the background, without the task tools, and in a headless run its result may not land. User provides work description via `$ARGUMENTS`.
## Protocol
Follow `${CLAUDE_PLUGIN_ROOT}/agents/planner.md` end-to-end:
**Phase 1: Interview**: Route on outcome clarity FIRST (CLEAR / VAGUE / UNSURE, planner.md Step 0); VAGUE skips the interview and applies announced defaults instead. Classify work intent (trivial/simple/complex/build/refactor/architecture/research). Apply Simple Request Detection. Run Exploration Gate: mandatory for Build from Scratch, Research, Architecture; scoped for Refactoring; skip for Trivial. Once exploration returns and before interviewing, write the plan document, with an open-questions section carrying a stated default per question. Interview against that file: the user corrects something concrete instead of answering abstract questions, so the interview gets shorter, not longer. Use `AskUserQuestion` for targeted interview questions; fall back to `## BLOCKING QUESTIONS` block if unavailable. Run Self-Clearance Check after every interview turn. When every applicable checklist item is YES, auto-transition. When any item is NO, ask the specific unclear question.
**Phase 2, Plan Generation**: Consult the analyzer on the document, then update it in place. The document is free-form Markdown that nothing parses, at `<plans-dir>/<name>.md` or the active plan-mode file. `<plans-dir>` is the `plansDirectory` setting when set (relative to the project root), otherwise `plans/` in the Claude config directory (`CLAUDE_CONFIG_DIR`, or `~/.claude`). Resolve it from settings instead of assuming the default, or the document lands where nothing looks for it. When the user asks for a project-local plan, write to `<project root>/.omca/plans/<name>.md` instead. Put a companion file at `<home>/<name>-<topic>.md` beside the document, or in an appendix section of the document, and nowhere else. The document holds the why, the constraints and the tradeoffs. Write out the proposed tasks as text, which hold the work. Run the reviewer review loop by invoking the `oh-my-claudeagent:reviewer` skill (via the Skill tool) with the document's path and the proposed tasks, max 3 iterations until OKAY.
**Phase 3, Approval and handoff**: After reviewer OKAY, get the user's approval via `AskUserQuestion`. A draft stays a document until then, so tasks exist only for approved work. Once approved, load the task tools with `ToolSearch({query: "select:TaskCreate,TaskUpdate,TaskList,TaskGet", max_results: 4})` and create the run's tasks and its final task as the planner's "Creating the tasks" section says. Then hand off to `/oh-my-claudeagent:start-work`, which only the user can invoke.
## Delegation
Delegate exploration to `explorer` agents (parallel when topics are independent). Delegate external research to `researcher`. Implementation belongs to `/oh-my-claudeagent:start-work`; this command neither implements nor delegates implementation.
A subagent's deliverable arrives in the `<result>` block of its `<task-notification>`, or as the Agent tool's return value where the platform ran it in the foreground; those are the only two places a result exists, so never claim a result you have not received in one of them. While an agent is outstanding, carry on with work that does not overlap what it was asked to do.
Do not read or tail the agent's output file: for a subagent it is the full JSONL transcript rather than a plain result, and reading it will overflow your context. The OMCA Default output style carries the full statement of this, under "Claude Code".
## Constraints
- Planner only. No code. No task execution.
- One document and one run regardless of size.
- Plans always in English.
## Research and think-it-through requests
When the user wants to understand or research something rather than get a work plan ("help me understand X", "research Z", or an explicit ask to talk it through), the planner runs its interview-only dialogue before Phase 1. It asks questions that surface hidden constraints and clarify the problem through iterative dialogue, then returns a synthesis. It writes no plan document and creates no task in this case. An underspecified request that does want a plan goes through the planner's outcome-clarity routing instead, which researches and announces defaults rather than handing the outcome back to the user.