Analyze and plan
Human-in-the-loop planning plugin for Claude and Codex: turn ideas into reviewed Markdown plans, record decisions, enforce explicit execution gates, and provide tested controller primitives for safer agent workflows.
npx -y skills add Optim-Agent/optim-plans --skill analyze-and-planAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 13 days oldThe repository was created 13 days ago. New is not bad, but a brand new repository carrying a familiar-sounding name is the shape a typosquat arrives in, and there has been no time for anyone else to find a problem with it.
What its author says it does
Copied from the file, not written here
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.
SKILL.md
2.6 KB, as published. Nobody here has run it
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.
Workflow
- Inspect available evidence first: repo files, logs, tests, command output, or user-provided symptoms.
- Produce an in-message RCA summary before asking whether to plan. Use at most 5 Whys. Stop with
unknownwhen evidence is insufficient; do not invent a cause. - Ask one choice prompt that includes the RCA summary. The choices are: recommended first to call
optim-plans, second to review the summary only without a plan,Othersecond-last, andAuto-completelast. - On opt-out, stop after the summary. Do not write
PROBLEM_ANALYSIS.mdon opt-out. - On opt-in or Auto-complete choosing the recommendation, select the smallest fitting planning level, read and follow
../{selected-level}/SKILL.md, and preserve that skill's first-turn contract. - Pass the original problem, RCA summary, evidence, and
PROBLEM_ANALYSIS.mdartifact intent as the planning request. The selected planning skill must initialize controller state and present and record its first controller-backed planning question beforePROBLEM_ANALYSIS.mdis written. - After opt-in, selected planning skill first controller-backed planning question recording, and selected run
artifact_diravailability, writePROBLEM_ANALYSIS.mdin thatartifact_dirbeforePLAN_v1.md.
Level Selection
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.
PROBLEM_ANALYSIS.md
Include:
- Original problem
- Evidence inspected
- RCA summary
- 5 Whys, ending early with
unknownwhen evidence stops - Suspected root cause
- Planning level selected and why
Auto-complete may opt into planning, but Auto-complete cannot approve execution.