/optim-plans:diagnose-before-planfrom optim-plans
Diagnoses failures before creating a plan by inspecting evidence, performing root cause analysis, and prompting for a planning path.
Ships in optim-plans. 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.
None: SKILL.md is the whole skill.
Use this skill for problem or failure inputs that need diagnosis before planning.
../_shared/references/prime-planning-workflow.md, ../_shared/references/state-and-config.md, and ../_shared/references/plan-artifact-template.md..git/optim-plans for controller state and docs/optim-plans/YYYY-MM-DD-topic/ for public artifacts.unknown when evidence is insufficient.Create the scoped fix plan - recommended when evidence supports a planning path.Stop after RCA - keep the diagnosis only.Other.Auto-complete.PROBLEM_ANALYSIS.md on opt-out.Auto-complete, select the smallest fitting planning skill and continue with that skill's contract.create-a-small-plan: clear root cause, obvious fix shape, few local files, limited risk.create-a-plan: multi-file fix, external API or dependency behavior, compatibility concerns, or research needed.create-a-big-plan: cross-system failure, unclear root cause, redesign pressure, or high recoverability risk.After opt-in, write PROBLEM_ANALYSIS.md in the selected run artifact directory before PLAN_v1.md and pass the RCA summary into the selected planning skill.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
diagnosis, root-cause-analysis, debugging, planning-workflow, rca
npx claudepluginhub optim-agent/optim-plans --plugin optim-plans5 skills in this plugin
/create-a-big-planCreate a large Prime Agent plan before implementation. Use for open-ended or high-risk repo efforts needing 10 or more planning questions, web research, reviewer or criticizer subagents, and refinement until convergence; exclude direct implementation-only, factual/explanation, trivial command-only, or explicit no-plan requests./create-a-planCreate a researched Prime Agent plan before implementation. Use for broad or risky repo changes needing 5 to 10 planning questions, web research, reviewer or criticizer settings, and bounded refinement; exclude direct implementation-only, factual/explanation, trivial command-only, or explicit no-plan requests./create-a-small-planCreate a small Prime Agent plan before implementation. Use for small scoped repo changes needing 1 to 3 planning questions and one reviewer or criticizer refinement pass; exclude direct implementation-only, factual/explanation, trivial command-only, or explicit no-plan requests./reference-before-planResearch references before creating a Prime Agent plan. Use when repo-change planning needs downloaded projects, articles, papers, docs, per-reference analysis, adoption questions, language settings, and reviewer or criticizer subagents; exclude direct implementation-only, factual/explanation, trivial command-only, or explicit no-plan requests.Other plugins' skills for the same job