/project-toolkit:plannerfrom project-toolkit
Script-guided plan-and-execute workflow with forced reflection pauses, formal plan review, and delegated milestone execution. Use for complex tasks needing structured planning or resumable execution.
Ships in project-toolkit. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Two script-guided workflows. Each script prints the guidance for one numbered step; the caller passes the step number and its thoughts on every call, and nothing is saved between calls:
The plan skill owns lifecycle decomposition of a spec into milestones and
tasks. Use this skill when that work needs forced reflection pauses, a formal
review pass, or delegated execution.
Invoke planner.py when user asks to:
A request to break a spec into milestones and tasks, with no plan file and no
executor run in view, belongs to the plan skill, not here.
Invoke executor.py when user asks to:
Use the planner skill when the task has:
Skip the planner skill when the task is:
| Script | Purpose |
|---|---|
scripts/planner.py | Planning and review workflow, one numbered step per call |
scripts/executor.py | Execution workflow for approved plans with milestone delegation |
| Trigger Phrase | Operation |
|---|---|
run the planner workflow | planner.py (planning phase) |
review the plan file at plans/X.md | planner.py (review phase) |
pick up where the plan left off | executor.py (reconcile, then continue) |
execute the plan at plans/X.md | executor.py (execution phase) |
resume execution | executor.py (reconcile the plan file against completed work) |
| Avoid | Why | Instead |
|---|---|---|
| Skipping review phase after planning | Misses quality/temporal issues | Always run review steps 1-2 before execution |
| Starting execution without /clear | Context pollution from planning | User should /clear before execution workflow |
| Manually following workflow steps | Each step prints the guidance and the next command | Run the script and follow its output |
| Planning single-step tasks | Overhead exceeds benefit | Implement directly without planner |
| Editing plan during execution | Creates drift between plan and actions | Return to planning phase for changes |
After planning:
After execution:
PLANNING PHASE (steps 1-N)
|
v
Write plan to file
|
v
REVIEW PHASE (steps 1-2)
|-- Step 1: @agent-technical-writer (plan-annotation)
|-- Step 2: @agent-quality-reviewer (plan-review)
v
APPROVED --> Execution workflow
Before invoking step 1, you MUST have:
python3 scripts/planner.py \
--step-number 1 \
--total-steps <estimated_steps> \
--thoughts "<your thinking about the problem>"
| Argument | Description |
|---|---|
--phase | Workflow phase: planning (default) or review |
--step-number | Current step (starts at 1) |
--total-steps | Estimated total steps for this phase |
--thoughts | Your thinking, findings, and progress |
STATUS: phase_completeWhen planning phase completes, the script outputs an explicit ACTION REQUIRED
marker:
============================================
>>> ACTION REQUIRED: INVOKE REVIEW PHASE <<<
============================================
You MUST invoke the review phase before proceeding to execution.
The review phase ensures:
After writing the plan file, transition to review phase:
python3 scripts/planner.py \
--phase review \
--step-number 1 \
--total-steps 2 \
--thoughts "Plan written to [path/to/plan.md]"
Delegate to @agent-technical-writer with mode: plan-annotation
Delegate to @agent-quality-reviewer with mode: plan-review
Step 1: Execution Planning
|
v
Step 2: Reconciliation (conditional, if prior work signaled)
|
v
Step 3: Milestone Execution (repeat until all complete)
|
v
Step 4: Post-Implementation QR
|
v
QR issues? --YES--> Step 5: Issue Resolution --> delegate fixes --> Step 4
|
NO
v
Step 6: Documentation
|
v
Step 7: Retrospective
Before invoking step 1, you MUST have:
python3 scripts/executor.py \
--plan-file PATH \
--step-number 1 \
--total-steps 7 \
--thoughts "<user's request and context>"
| Argument | Description |
|---|---|
--plan-file | Path to the approved plan file |
--step-number | Current step (1-7) |
--total-steps | Always 7 for executor |
--thoughts | Your current thinking and status |
| Step | Name | Purpose |
|---|---|---|
| 1 | Execution Planning | Analyze plan, detect reconciliation, strategy |
| 2 | Reconciliation | (conditional) Validate existing code vs plan |
| 3 | Milestone Execution | Delegate to agents, run tests (repeat) |
| 4 | Post-Implementation QR | Quality review of implemented code |
| 5 | Issue Resolution | (conditional) Present issues, collect fixes |
| 6 | Documentation | TW pass for CLAUDE.md, README.md |
| 7 | Retrospective | Present execution summary |
Note: Step 3 may be re-invoked multiple times until all milestones complete. Step 4 may loop back through step 5 until QR passes.
| Resource | Purpose |
|---|---|
resources/plan-format.md | Plan template (injected at planning completion) |
resources/diff-format.md | Authoritative specification for code change format |
resources/temporal-contamination.md | Detecting/fixing temporally contaminated comments |
resources/default-conventions.md | Default conventions when project docs are silent |
Note: Execution guidance is embedded directly in scripts/executor.py (not in
separate resource files) since it's only used by that script.
| Reference | Purpose |
|---|---|
references/strategy-ooda-loop.md | Map planning and execution phases to OODA stages |
references/design-pit-of-success.md | Design milestones so the obvious path produces correct results |
references/mental-models-galls-law.md | Validate milestone decomposition against incremental complexity |
.claude/skills/analyze/references/engineering-complexity-tiers.md | Classify tasks by tier (single source of truth in analyze skill) |
references/explainers-and-intents.md | Write explainers before work, use intents as permission gates |
references/agent-architecture-patterns.md | Skill budget rule, 3-file planning pattern, milestone decomposition for agent systems |
references/hybrid-memory-architecture.md | Hybrid retrieval cascade, memory decay tiers, decision extraction for planning memory systems |
# === PLANNING WORKFLOW ===
# Start planning
python3 scripts/planner.py --step-number 1 --total-steps 4 --thoughts "..."
# Continue planning
python3 scripts/planner.py --step-number 2 --total-steps 4 --thoughts "..."
# Start review (after plan written)
python3 scripts/planner.py --phase review --step-number 1 --total-steps 2 \
--thoughts "Plan at plans/feature.md"
# Continue review
python3 scripts/planner.py --phase review --step-number 2 --total-steps 2 \
--thoughts "TW done, ready for QR"
# === EXECUTION WORKFLOW ===
# Start execution
python3 scripts/executor.py --plan-file plans/feature.md --step-number 1 \
--total-steps 7 --thoughts "Execute the feature plan"
# Continue milestone execution
python3 scripts/executor.py --plan-file plans/feature.md --step-number 3 \
--total-steps 7 --thoughts "Completed M1, M2. Executing M3..."
# After QR passes
python3 scripts/executor.py --plan-file plans/feature.md --step-number 6 \
--total-steps 7 --thoughts "QR passed. Running documentation."
# Generate retrospective
python3 scripts/executor.py --plan-file plans/feature.md --step-number 7 \
--total-steps 7 --thoughts "Execution complete. Generating retrospective."
references/DEVELOPMENT.md (opens in a new tab)references/agent-architecture-patterns.md (opens in a new tab)references/design-pit-of-success.md (opens in a new tab)references/explainers-and-intents.md (opens in a new tab)references/hybrid-memory-architecture.md (opens in a new tab)references/mental-models-galls-law.md (opens in a new tab)references/strategy-ooda-loop.md (opens in a new tab)resources/default-conventions.md (opens in a new tab)resources/diff-format.md (opens in a new tab)resources/plan-format.md (opens in a new tab)resources/temporal-contamination.md (opens in a new tab)scripts/executor.py (opens in a new tab)scripts/planner.py (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub rjmurillo/ai-agents --plugin project-toolkit2 plugins in one repository ship this exact skill · first indexed Oct 9, 2026
105 skills in this plugin
/adr-generatorCreate comprehensive Architectural Decision Records (ADRs). Researches the destination directory to detect existing template conventions, gathers context, determines next ADR number, generates the ADR, validates completeness, and saves. Supports multiple ADR formats (MADR, Nygard, Alexandrian, project canonical). Use when documenting technical decisions, creating new ADR files, or capturing rationale so future readers can revisit a choice. Use when you say "write an ADR", "document this decision", "document these design choices", "record why we chose this", "capture the rationale", or "for future maintainers", or when creating an ADR-like markdown file under docs/decisions/, docs/adr/, docs/architecture/, architecture/decisions/, or .project-toolkit/architecture/. Do NOT use to debate or review an existing ADR (use adr-review)./adr-reviewMulti-agent debate orchestration for Architecture Decision Records. Automatically triggers on ADR create/edit/delete. Coordinates architect, critic, independent-thinker, security, analyst, and high-level-advisor agents in structured debate rounds until consensus. Use when you say "review this ADR", when an ADR is created/edited/deleted, or when reviewing, accepting, or updating a decision file under .project-toolkit/architecture/, docs/architecture/, docs/decisions/, docs/adr/, or architecture/decisions/, including intent like "review this decision record" or "check this rationale for future maintainers". Do NOT use to author a new ADR (use adr-generator)./agent-harness-referenceField reference for Claude Code and GitHub Copilot CLI hook contracts. Covers hook locations, events, matchers, payloads, decisions, exit codes, timeouts, plugin roots, and cloud limits with official URLs and versioned probes. Use for `harness contract`, `copilot cli hook behavior`, `hook payload format`, `stale plugin root`, `Errno 2 _dispatch.py`, or before changing cross-harness hooks. Do NOT use to run the porting campaign (in the ai-agents repository, use `ai-agents-portability-campaign`)./ai-agents-external-claimsVerify external, vendor, and third-party claims (numbers, attributions, structure) against authoritative primary sources before they land in a repo artifact or external deliverable. Covers stake-holding sources, round-number tells, citation-chain drift, and the walk-the-gate-or-file-conservative discipline. Use when you say `verify an external claim`, `check a vendor number`, `is this stat real`, `validate a third-party citation`. Do NOT use for running an experiment (use `ai-agents-research-methodology` in the ai-agents repository) or command-injection scanning (use `security-scan`)./analysis-provenanceIdentify code ownership before modifying validators or linters. Checks file headers for provenance indicators, reviews documentation, and determines provenance as UPSTREAM, LOCAL, VENDOR, or UNKNOWN. Prevents accidental modification of upstream tools./analyzeSystematic multi-step codebase analysis producing prioritized findings with file-line evidence. Covers architecture reviews, security assessments, and code quality evaluations through guided exploration, investigation planning, and synthesis. Use when you say "analyze this codebase", "run security assessment", "architecture review of this system", "find code smells", or "review code quality" across multiple files. Do NOT use for single-file maintainability scoring (use code-qualities-assessment) or CWE-78 injection pattern scanning (use security-scan).Other plugins' skills for the same job