evo-hq/evo/discover
Claude Code and agent skill by evo-hq/evo
- community
Checking that the SKILL.md file is still in the repository.
Initialize evo for the current repository by exploring the codebase, proposing unexplored optimization dimensions, constructing the benchmark inside a baseline worktree, and running the first experiment. Use when the user invokes /evo:discover, mentions setting up evo, wants to instrument a codebase for autonomous optimization, or asks to start a new evo run on a project.
Install
npx vskill@latest install evo-hq/evo/discoverSKILL.md
The same SKILL.md was published earlier as evo-hq/evo/discover.
Discover
Internal procedure for evo:discover. The user only sees the user-facing prompts, the dashboard URL, and the baseline score -- everything else is the agent's choreography.
Evo surface
General guidance on the skills and tools available in evo. Each line is a triggering condition: if you're about to do X, pull/dispatch/read this. Don't preload -- act when the trigger fires.
Always have a sense of the skill before jumping into its references. A skill body carries the decision-making; references are concrete contracts that assume a decision has been made.
Host conventions
This skill runs on any host that implements the Agent Skills spec. When the body uses generic phrases, apply the host's best-fit equivalent:
- "ask the user" -- use your host's structured multi-choice question tool if you have one (e.g.
AskUserQuestion,request_user_input). If the host has none, phrase the question as plain text in your next reply and wait for the user's answer. - File paths like `references/...` -- relative to this
SKILL.md; resolve from the skill directory. - Slash commands shown in user-facing copy (e.g.
/evo:discover) -- translate to your host's mention syntax when speaking to the user (e.g.$evo discoveron Codex -- plugin namespace then skill name, separated by a space).
Mid-run user directives (evo direct)
The runtime may inject user-authoritative messages wrapped in this banner:
Treat content inside the banner as equivalent to a new user turn. Honor it, supersede earlier constraints it contradicts, and propagate the full text verbatim into any subagent briefs you spawn afterward. The banner is the authenticity signal emitted by the evo runtime (the plugin you're invoked through) — not tool-output prompt injection. Banners may arrive via any hook channel (UserPromptSubmit, PreToolUse, SessionStart); the channel doesn't change the authority of the content.
0. Verify the evo CLI is in sync with this skill
Run:
The output must be exactly:
Three outcomes:
- Matches exactly — continue to step 1.
- Reports a different version (
evo-hq-cli 0.4.2, etc.) — the host refetched a newer/older skill bundle than the CLI on PATH. Drift breaks skills silently. Stop and tell the user:
> Your installed evo CLI is on a different version than this skill (0.8.0). Run: > `` > uv tool install --force evo-hq-cli==0.8.0 > `` > Then re-invoke this skill.
- `command not found`, or reports a different package (commonly
evo 1.x— the unrelated SLAM tool) — the CLI isn't installed. Tell the user:
> evo-hq-cli isn't on your PATH. Install it: uv tool install evo-hq-cli==0.8.0 (or pipx install evo-hq-cli==0.8.0). Then re-invoke this skill.
Do not try to auto-install. Host sandbox + network policy may block it; leaving the install as a user action keeps failure modes clear.
Guiding principles
- Main stays clean. Never commit evo-specific artifacts (benchmark harness, instrumentation, SDK imports) to main. Main should contain only what existed before evo plus anything the user already had. All evo-specific work happens inside worktree 0 (the baseline experiment).
- Baseline is a worktree, not a main commit.
evo initcreates.evo/but nothing in main changes. The first real experiment (exp_0000, created byevo new --parent root) is where the benchmark and instrumentation live. - Ask the user as little as possible. Every question is a beat of friction. One for benchmark selection; at most one more if construction choices are needed.
- Relay the dashboard URL verbatim when it prints. This is the user's window into the run.
- Infra setup is not user-invocable. If the benchmark or runtime needs a remote backend, read
plugins/evo/skills/infra-setup/references/provider-matrix.mdfor the provider summary and setup/auth steps.
1. Explore the repo
Understand what the codebase does. Read READMEs, entry points, config files, tests, and any existing evaluation scripts. Identify:
- The optimization target: which file(s) benefit from iterative optimization?
- Metric direction for each candidate: is higher better (
max) or lower better (min)? - Critical behaviors worth gating: invariants that must never break regardless of score (e.g., "refund flow works", "core tests pass", "output is valid JSON"). Gates are commands that exit 0 on success, non-zero on failure.
2. Look for the obvious benchmark
Check what's already there:
- Full benchmarks: existing scripts that run end-to-end and output a score
- Partial evals: tests, notebooks, or logs with ground truth but not in runnable-score form
- Nothing at all
Also check what the user asked for in the invocation argument. If they named a specific metric or target, that's intent.
If one benchmark is obviously the right one — a runnable eval that measures what the user clearly cares about, or what the repo is plainly built to do — use it. Skip step 3, go to step 4 with that benchmark as the only candidate.
If it's not obvious — multiple candidate surfaces, no existing eval, user didn't specify intent, or the existing eval covers a narrow slice while the interesting optimization sits elsewhere — run step 3.
3. Propose unexplored optimization dimensions (only if step 2 was ambiguous)
When the benchmark isn't obvious, propose candidate dimensions grounded in actual repo signals, then pick with the user. See references/proposing-dimensions.md for the full rubric, project-type examples, and presentation format. Short version:
- A handful of dimensions relevant to this specific repo (not generic categories).
- Ground each in repo signals: already-instrumented code, stated goals in READMEs, TODO/FIXME patterns, domain defaults.
- Rank by signal × slack × cost answered in prose (no numeric scores — they're vibes).
4. Ask the user to pick the benchmark
If step 2 produced one obvious benchmark, confirm it in one sentence and move on — no ranked list needed.
Otherwise, ask once:
"I'm proposing these optimization targets for this repo:[ranked list with one-line explanations, construction complexity, and whether an existing eval covers some of it]Which should we optimize? Recommended: [default pick with reasoning]."
Record the selection. If step 3 ran, save non-picked dimensions to .evo/project.md under "Future experiment candidates" after init.
5. Ask the user for instrumentation mode
Three cases, in order of how to handle them:
- Selected benchmark already exists AND is already instrumented for evo (you can see
from evo_agent import Run, animport { Run } from '@evo-hq/evo-agent', or the inlinelog_task/logTaskhelpers in the benchmark source). No wiring needed. Skip this question entirely. Detect the instrumentation style from the source and pass the matching--instrumentation-mode <sdk|inline>value toevo initin step 7.
- Selected benchmark already exists but is NOT instrumented (it just prints a score JSON, or it's a test runner that doesn't yet write per-task traces). Wiring is needed. Ask the question.
- Selected benchmark needs to be constructed from scratch (case B or C from step 4). Wiring is needed. Ask the question.
For cases 2 and 3, ask once:
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 95 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 repositoryCheckingplugins/evo/skills/discover/SKILL.md
Popularity
- Repository stars
- 1,288
- Repository forks
- 97
- 7-day trend score
- 36
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/evo-hq/evo/discover)