autoevolve-worker

A worker skill for autoevolve, a process that tests many code candidates against a fixed measurement and keeps the results. It guides code changes under the run's rules.

In plain words
What is it for?
Use it to join an autoevolve run, change candidates, follow its rules, and report measured progress or the best result reached.
Why use it?
It prevents workers from replacing the agreed measurement with an easier substitute or claiming success without evidence.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/rightnow-ai/autoevolve/skill
Any agent
npx skills add RightNow-AI/autoevolve --skill skill
Clone the repo
git clone --depth 1 https://github.com/RightNow-AI/autoevolve

Made for: Claude Code, Codex.

Per session 50 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,489 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00050 $0.02489
Opus 5 $0.00025 $0.01244
Sonnet 5 $0.00010 $0.00498
Haiku 4.5 $0.00005 $0.00249

Measured 2d ago against content hash 3e762e7f9935, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

autoevolve-worker scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skill/SKILL.md · 312 lines

How it starts

The opening of the file, as written. The whole thing — 312 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Autoevolve worker

What autoevolve is

Autoevolve runs a population of code candidates against a locked evaluator contract. Workers propose mutations, while the Engine measures every accepted child and records the population. The run ends with a target hit or evidence for the best ceiling reached within its budget.

The contract

Read get_contract before joining or editing anything. The metric, direction, correctness gate, target, descriptors, and budget are law for the life of the run. Do not replace them with a proxy, and do not promise an unmeasured outcome. The product promise is the target or an evidence-backed ceiling.

Every tool can return this error dictionary:

{"error": true, "kind": "ValueError", "message": "What failed and how to recover."}

Check error before using any result. For full argument and return tables, read reference.md.

Connect the worker

Install this directory as the project skill at .claude/skills/autoevolve-worker/. Copy it or symlink it so that .claude/skills/autoevolve-worker/SKILL.md exists.

Register the stdio server in Claude Code:

claude mcp add --transport stdio autoevolve -- uv run autoevolve serve

Or start the HTTP server and register its Streamable HTTP endpoint:

claude mcp add --transport http autoevolve http://127.0.0.1:8747/mcp

Project scope may be recorded in .mcp.json. The HTTP type is http:

{
  "mcpServers": {
    "autoevolve": {
      "type": "http",
      "url": "http://127.0.0.1:8747/mcp"
    }
  }
}

The worker loop

Use this concrete cycle:

  1. If no run exists, call open_run with at least one budget bound.
  2. Call get_contract. State the metric, direction, gate, target, and configured budget plainly.
  3. Call join_run once for this worker and keep the returned island assignment.
  4. Call next_parent for that island.
  5. Read every parent file, inspiration, score, file excerpt, discovery, operator hint, and crossover field before deciding on a mutation.
  6. Choose a cheap diff or an agentic dive. Change only what the evidence supports.
  7. Call submit_child with full file contents and honest notes.
  8. Read the returned gate result and measured scores. A failed gate is information. Read its reason.
  9. Call run_status. End the cycle summary with the GIF, poster, and dashboard paths.
  10. Repeat from next_parent until run_status says the run is closed.

Read the full file on GitHub · 312 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago First seen · 312 lines · 50 tokens per session scan A 3e762e7f9935

Subscribe to this mod's changes

autoevolve-worker is a skill published in the GitHub repository RightNow-AI/autoevolve (3 stars, last pushed 26d ago), licensed Apache-2.0. It adds 50 tokens to every session and 2,489 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

codex-autoresearch

Triage improvement work and run or resume accepted measured loops in a local project. Architecture, documentation, UX, product study, open research, taste, and one-shot fixes stay direct unless the user explicitly requests repeated measurement with a complete experiment contract.

TheGreenCedar/codex-autoresearch · 55 tokens

optimize

Drive structured autoresearch iteration after evo:discover and the baseline commit. Use when the user invokes /evo:optimize or asks to try ideas, try variants, run experiments, use available GPUs, improve the current best/frontier, continue an evo search, or compare candidate changes in an evo workspace. The…

evo-hq/evo · 113 tokens

discover

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…

evo-hq/evo · 73 tokens

finetuning

This skill should be used when picking or diagnosing a training move (SFT, LoRA, DPO/KTO/ORPO, RFT, GRPO/PPO/RLOO, RLHF), or when the user mentions fine-tuning, post-training, training recipe, reward design, or weight updates. Decision tree by reward shape, smoke-run gate, three failure diagnostics, five…

evo-hq/evo · 95 tokens

ship

Land the winning experiment from an evo run as a clean, mergeable change -- open a PR when the repo has a remote, otherwise merge into the working branch. Distills the best-scoring experiment down to the minimal diff that reproduces its behaviour, shaped for the qualities a maintainer merges on (scope discipline, test…

evo-hq/evo · 114 tokens

infra-setup

Non-user-invocable provider/setup reference for evo backend switching, prerequisite checks, and auth/install guidance.

evo-hq/evo · 25 tokens