optim-agent/analyze-and-plan
MUST USE when investigating a bug, CI failure, test failure, regression, incident, broken behavior, root cause, RCA, or debug-why problem before deciding whether to create an optim-plans solution plan; do not use for ordinary feature ideas, vague product planning, direct implementation-only requests, factual/explanation questions, trivial operations, or explicit no-plan requests.
npx skills add https://github.com/Optim-Agent/optim-plans --skill analyze-and-plan
Use this skill for problem/failure inputs that need diagnosis before planning. Do not use it for ordinary feature planning, direct implementation-only requests, factual/explanation questions, trivial operations, or explicit no-plan requests.
unknown when evidence is insufficient; do not invent a cause.optim-plans, second to review the summary only without a plan, Other second-last, and Auto-complete last.PROBLEM_ANALYSIS.md on opt-out.../{selected-level}/SKILL.md, and preserve that skill's first-turn contract.PROBLEM_ANALYSIS.md artifact intent as the planning request. The selected planning skill must initialize controller state and present and record its first controller-backed planning question before PROBLEM_ANALYSIS.md is written.artifact_dir availability, write PROBLEM_ANALYSIS.md in that artifact_dir before PLAN_v1.md.mini-plan: single-file, low-risk, clear root cause, obvious fix.small-plan: a few local files or behavior checks, limited risk.plan: normal multi-file fix with several decisions.big-plan: architecture boundary, external API/dependency, compatibility, or websearch risk.huge-plan: open-ended or cross-system issue where the RCA points to redesign.Include:
unknown when evidence stopsAuto-complete may opt into planning, but Auto-complete cannot approve execution.
Take optim-agent/analyze-and-plan from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.