optim-agent/optim-plans/reference-before-plan
Claude Code and agent skill by optim-agent/optim-plans
- community
Checking that the SKILL.md file is still in the repository.
Research 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.
Install
npx vskill@latest install optim-agent/optim-plans/reference-before-planSKILL.md
Reference Before Plan
Use this skill when external references must shape the plan before implementation.
Setup
- Read
../_shared/references/prime-planning-workflow.md,../_shared/references/state-and-config.md, and../_shared/references/plan-artifact-template.md. - Initialize state with
python3 scripts/optim_plans.py init --repo <target-repo> --topic <topic> --plan-level reference-before-plan --request-text <original-request>. - Use
.git/optim-plansfor controller state anddocs/optim-plans/YYYY-MM-DD-topic/for public artifacts.
Required Reference Flow
- Inspect the target Git repo read-only before external research so search terms match the actual codebase.
- Search proactively for related projects, articles, papers, docs, and prior art.
- Download or clone at least 3 credible references before writing
PLAN_v1.md. Store large downloads outside the target repo by default under~/.cache/optim-plans/refs/<repo-slug>/<topic>/. - Record source metadata with
record-reference: title, URL, kind, retrieval method, access date, local path, coverage, and evidence gaps. - For every reference, produce a structured analysis artifact and record it with
record-reference-analysis. If a richer parser is unavailable, do a manual structured read and record any waiver withrecord-reference-waiver. - For every reference after analysis, ask at least 3 ref-specific adoption questions before using its ideas in
PLAN_v1.md. Each question must be based on downloaded content, put the recommended option first, putOthersecond-last, and putAuto-completelast. - Block rather than pad if fewer than 3 credible references exist, unless the user explicitly narrows the topic or grants a waiver.
Auto-completecannot grant this waiver. - Continue with big-plan depth: at least 10 planning questions, required web research during brainstorming and refinement, no refinement limit, and at most five high-priority comments or questions per refinement round.
REF_ANALYSIS.md
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.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/reference-before-plan/SKILL.md
Popularity
- Repository stars
- 2
- 7-day trend score
- 5
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/optim-agent/optim-plans/reference-before-plan)