/optim-plans:reference-before-planfrom optim-plans
Researches external references (projects, articles, papers, docs) before creating a Prime Agent plan. Ensures plans are grounded in downloaded evidence with structured analysis and adoption questions.
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 when external references must shape the plan before implementation.
../_shared/references/prime-planning-workflow.md, ../_shared/references/state-and-config.md, and ../_shared/references/plan-artifact-template.md.python3 scripts/optim_plans.py init --repo <target-repo> --topic <topic> --plan-level reference-before-plan --request-text <original-request>..git/optim-plans for controller state and docs/optim-plans/YYYY-MM-DD-topic/ for public artifacts.PLAN_v1.md. Store large downloads outside the target repo by default under ~/.cache/optim-plans/refs/<repo-slug>/<topic>/.record-reference: title, URL, kind, retrieval method, access date, local path, coverage, and evidence gaps.record-reference-analysis. If a richer parser is unavailable, do a manual structured read and record any waiver with record-reference-waiver.PLAN_v1.md. Each question must be based on downloaded content, put the recommended option first, put Other second-last, and put Auto-complete last.Auto-complete cannot grant this waiver.Include original request, repo evidence, attempted queries, selection criteria, selected and rejected references, local paths, structured analysis paths, adoption questions and answers, accepted ideas, rejected ideas, evidence gaps, user-granted waivers, and reviewer/criticizer settings used for the run.
Reference ideas are not eligible for PLAN_v1.md until their adoption question answers are recorded.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
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./diagnose-before-planDiagnose 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.Other plugins' skills for the same job