Install any skill in seconds. Free to start, no credit card required.
Get Started Free →optim-agent/diagnose-before-plan
Diagnose failures before creating a Prime Agent plan. MUST USE for bugs, CI failures, test failures, regressions, incidents, broken behavior, root cause, RCA, or debug-why requests before deciding whether to plan; preserve language, reviewer, and criticizer settings in .git/optim-plans; exclude ordinary feature planning, direct implementation-only, factual/explanation, trivial command-only, or explicit no-plan requests.
Passed 11 of 16 test cases with the skill, and 4 of 16 without it.
and 10 more in the full report
11 fixed4 passed either way6 still failing1 broke
Tokens, turns and time describe resource use, not a dollar price.
One of 11 test cases the skill fixed. Same model, same prompt, with and without the skill.
When a user selects 'Create the scoped fix plan', what file must be written before `PLAN_v1.md` in the artifact directory?
| Checked | Without skill | With skill |
|---|---|---|
| The PROBLEM_ANALYSIS.md file is written before PLAN_v1.md | Missed | Passed |
The instructions your model reads when the skill loads.
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.
test cases passed, vs 4 / 16 without
Published skills whose descriptions closely match this one, with their headline benchmark lift.
More skills from the same source and nearby in the registry, with their headline benchmark lift.