intake
Skill69 starsChanged 5 months agoApache-2.0View on GitHub
Starts a cap-evolve optimization run. Interviews the user to decide what capability to optimize, which runner/optimizer/algorithm to use, and where the tasks and the scoring source live, then scaffolds .capevolve/project/ (adapter stub, capevolve.yaml, PROJECT.md). Use when someone asks to optimize or improve an agent capability against an eval and no project exists yet — "set up a run", "start optimizing X", "make X score higher on this benchmark". This is Phase 1 of the pipeline. For every NEEDED input that is missing it asks the user — quoting the expected path, how to retrieve it, and the alternatives — instead of fabricating it. Not for a project that already exists: when .capevolve/project/ is present, go to implement-and-check or the algorithm loop instead.
34 other projects use a version of this.
Adopted by
Most recently taken up by
- cdfarkas/cdfarkas-skillstheir own version, first seen Nov 8, 2026
- Mathews-Tom/armorytheir own version, first seen Nov 1, 2026
- ghvinashvili/specagenttheir own version, first seen Nov 1, 2026
- bmtrnavsky/disciplined-vibe-codingtheir own version, first seen Nov 1, 2026
- AdityaZxxx/skillstheir own version, first seen Oct 20, 2026
- GopkoDev/motion-flowtheir own version, first seen Oct 20, 2026
Used with
Projects with it also use plan, triage and 7 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
BlockSkillplan
Draft a TDD, PRD, or lightweight plan in the conversation without committing it.
Also in 4 projects that use this
Google CloudSkilltriage
Gather context on a change or bug and plan the implementation.
Also in 4 projects that use this
AWSSkillretro
Conduct a retrospective on a coding session.
Also in 4 projects that use this
Microsoft AzureSkillbuild
Build the TypeSpec Rust emitter from source. Run this after cloning the repo, after pulling changes, or when TypeScript source files have been modified.
Also in 3 projects that use this
VercelSkilldeploy
Deploy applications to Vercel. Use when the user says "deploy", "deploy to Vercel", "push to production", "deploy my app", or "go live".
Also in 3 projects that use this
Microsoft AzureSkillverify
End-to-end app testing pipeline for browser-based web apps on cloud browsers via Azure Playwright Workspaces: verify the live app, author tests for working flows, heal failing tests, then re-run with video and produce one consolidated report. Three phases (app verification, test authoring, test healing) plus a scoped final sanity run; each phase emits a sub-report. Use when asked to "verify my app", "make sure my app works and has good test coverage", "do a full QA pass", "add tests where I'm missing coverage", "fix failing tests and add new ones", "smoke test before deploy", "QA my deployment", or any combined verify-and-test ask. Requires Azure CLI (`az login`) and a Playwright Workspace resource ID — bootstraps configs on first invocation. Browser-based web apps with Playwright only — not for unit/API tests, native mobile/desktop, load/perf, or full accessibility audits.
Also in 4 projects that use this
Other versions34 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 34
- openai/plugins★ 7.8ksame name
- Mathews-Tom/armory★ 340same name
- Consortium-team/project-creator★ 17same name
- bmtrnavsky/disciplined-vibe-coding★ 15same name
- awslabs/service-onboarding-accelerator-on-aws★ 7same name
- ghvinashvili/specagent★ 7same name
- ndisisnd/msg★ 6same name
- tonydzi/second-brain-starter-kit★ 6same name
- stevehansen/eidet★ 4same name
- alphazede/bearing-lite★ 3same name
24 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository22 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- llms.txtllms.txt
- agent-optimizeSkill
- evographSkill
- gepaSkill
- hill-climbSkill
- skilloptSkill
- mcp-toolSkill
- skill-packageSkill
- system-promptSkill
- toolsSkill
- wikiSkill
- run-optimizerSkill
- orchestrateSkill
- using-cap-evolveSkill
- baselineSkill
- diagnoseSkill
- evaluateSkill
- finalizeSkill
- gateSkill
- implement-and-checkSkill
- reportSkill
The file
We split this skill into the rules it gives an agent
2 rules. 0 are common, 0 are distinctive, and 2 are very specific to this project.
0
Common
Most of the 33 edited versions we read keep these.
0
Distinctive
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 49
Run gh auth status. Fan subagents out over the benchmark repo (entrypoint, scorer, trace dir, task schema) *while* the user answers instead …
- Very specific: line 129
Good: every NEEDED input resolved to a real path or "adapter".
“Common” is measured: kept by at least 6 in 10 of the 33 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
intake — collect inputs, scaffold the project
Turn a vague wish ("make this agent better at X") into a runnable project: a filled
capevolve.yaml, an adapter ready to implement, and every NEEDED input resolved
before any budget is spent. Intake is cheap; an unresolved input found three phases
later is a wasted run and a meaningless number.
Ask, never fabricate — the core discipline of this phase
inputs/INPUTS.md classifies every input NEEDED or RECOMMENDED. For each
NEEDED input that is not already present, do not proceed:
- Interactive / chat mode — ASK THE USER and wait. Quote all three, they are in
INPUTS.mdper input: (a) the exact path the input is expected at, (b) the command or option that produces it, (c) the alternatives. Say what breaks without it. - Non-interactive (
cap-evolve run/ theorchestrateskill, nobody to ask) — writeBLOCKED: <input> — why it is needed — how to provide itintoPROJECT.mdand exit non-zero. A blocked-but-honest stop is correct; a green run on a guessed input is not.
A fabricated dataset, scorer, trajectories path or gold answer does not unblock the run — it produces a number that measures nothing and hides that fact. A missing tasks file is a question for the user, not a gap for you to paper over.
RECOMMENDED inputs may take their default, but log every default in PROJECT.md
with its honesty cost (e.g. "num_trials=1 — single-trial scores, so the significance
gate will correctly reject marginal gains"), so the cost is visible at report time.
Step 0 — mine, then inspect, then ask once
- Mine the conversation first. Anything the user already said is an answer you must not re-ask — "optimize my airline policy on the flight-change tasks" already fixed the capability, the artifact and the task subset. Harvest that, and any correction the user made, before asking anything.
- Run the miner.
python scripts/run.py --base .capevolve --workdir <repo-root>scaffolds and returnsdiscovered— task files, capability artifacts, existing adapters. Reuse what it found; never re-author it. - Inspect what
discoveredleaves open: the entrypoint, how one eval runs, where traces and scores land, candidate metrics, a natural train/val/test split, cost caps. Rungh auth status. Fan subagents out over the benchmark repo (entrypoint, scorer, trace dir, task schema) while the user answers instead of serializing — come prepared, so the user carries as little of the research as possible. - Then ask the FEWEST questions, as ONE numbered batch, each with the detected
value pre-filled as a default plus a free-text escape — including the ones only a
human can answer: which metric gates accept/reject and each shown metric's
direction, GitHub mirroring, deterministic vs agent orchestration (plus
stop_conditionin agent mode), splits, trials, budget, andmemory_skill(defaultmd-files; offerwiki— the weakness-graph format, seeinputs/INPUTS.md— when the user wants weaknesses tracked as a persistent graph rather than an append-only journal).inputs/INPUTS.md→ RECOMMENDED is the authority on each key; SKILL.md only fixes when to ask. Define jargon in a clause before using it ("pass^k — how often it succeeds on all k tries"); the user may be a domain expert, not an ML one. - Confirm before scaffolding. Echo the resolved spec back as one block — capability, optimizer, algorithm, dataset, splits, budget, every RECOMMENDED input you are defaulting — and get a yes. A misread is cheapest to fix here.
What it does
The interview settles the capability skill (what is optimized), the optimizer (which coding agent proposes edits), the algorithm (the search loop), dataset, splits, budget.
- Scaffold
.capevolve/project/viascripts/run.py: adapter stub,inputs/,capevolve.yaml,PROJECT.md, andoptimizer/INSTRUCTIONS.md. The wholetemplates/project/tree is copytree'd verbatim — confirm the files landed. - Resolve inputs per
inputs/INPUTS.md, honoring the ask-never-fabricate rule. - Record the resolved trajectories path and the scoring source in
PROJECT.md, soimplement-and-checkwirestrajectories()andscore()against real inputs rather than guesses.inputs/INPUTS.md→ scorer specifies exactly what the feedback must be (argument-level, gold-safe) and thatscore()must be deterministic — follow it literally, that feedback is the learning signal. Note inPROJECT.mdif you deliberately returnNonefromtrajectories()(cap-evolve then falls back to its own per-rollout JSON). - Customize the scaffolded
optimizer/INSTRUCTIONS.mdfor THIS benchmark — skip this step whenorchestration_moderesolved toagent: that mode's algorithm (agent-optimize) never readsINSTRUCTIONS.md, it drives its own briefing viaSKILL.md/docs/archive/agent-optimize-legacy/algorithm.md, so customizing it would be wasted effort; note inPROJECT.mdthat it was skipped and why. Deterministic mode: the shipped template already carries the depth mandate, the non-overfitting guardrail, the STEP-0 reading mandate and the cross-iteration file protocol — do not re-author any of them. Your three jobs: a. keep every{{...}}placeholder intact ({{FOCUS_SUMMARY}},{{FAILURES}},{{CAP_BRIEF}},{{ALGO_BRIEF}},{{BENCH_REPO}}— the harness fills them per iteration;implement-and-check's pipeline self-test fails if one is deleted, and rendering must leave no{{behind); b. scope it to the selected capabilities — delete the sections for capabilities not listed incapevolve.yaml: capabilities, so a run never presents an artifact as editable that this run does not own. Point the optimizer at./guidance/<cap>/SKILL.mdfor each selected capability's own edit space, and at./guidance/diagnose/SKILL.mdfor the failure taxonomy — both are materialized into its working dir. When a selected capability ships one, also point at./guidance/<cap>/references/optimizer-playbook.md; c. add the benchmark-specific facts the template cannot know: where the runner writes traces, what the scoring source is, which data-model files the capability's code imports. - Set the spec keys in
capevolve.yaml—runner_repo_path,optimizer_instructions_file,capability_sources(the module(s) a selected capability's code imports, copied into the optimizer's./guidance/sources/),target_model.inputs/INPUTS.mddefines each one.- Caution (issue #252): a relative
optimizer_instructions_fileresolves project-relative undercheckbut cwd-relative underrun, which then silently falls back to the generic template. Write it absolute, or verifyrunactually picks up the customized file — intake authors it, so intake is the cheapest place to get it right.
- Caution (issue #252): a relative
How to run
python scripts/run.py --base .capevolve --workdir . # mine, then scaffoldThe script is purely mechanical; the judgment — interviewing, choosing components, the
ask-if-missing loop — is yours. Then implement adapters/adapter.py, fill
capevolve.yaml, and hand off to implement-and-check: together the two phases are the
full integration (scaffold → the 3 required adapter methods → cap-evolve check green)
and no budget is spent until that gate passes.
Onboarding transcript (one example):
examples/tau2_airline/setup.shclones and installs a benchmark and wires the adapter untilcap-evolve checkis green, and itsrun.shruns the optimization. Read it only when onboarding a benchmark you have not integrated before.
Good vs bad intake
- Good: every NEEDED input resolved to a real path or
"adapter"; splits and budget chosen deliberately; each defaulted RECOMMENDED input logged; spec confirmed by the user. - Bad: a synthesized tasks file that "looked plausible"; a scorer that leaks the gold answer into feedback; test == train with no note; a budget too small to find a gain; the run proceeded past a missing NEEDED input "to keep moving".
References
inputs/INPUTS.md— the binding contract: every input classified NEEDED vs RECOMMENDED with the path / how-to-retrieve / alternatives you must quote, plus the meaning and default of every spec key. Read it during the interview.references/concepts.md— why the contract is shaped this way, the 3 required adapter methods, split/trial/budget guidance with sources. Read it if this phase is new to you.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

