Skip to content
AI & Agents
Skill

/evolve

Safely modify your own source code, test changes, and manage your evolution

From plugin
yoyo-evolve
1.9k14 skills

Claude Code

$ npx -y skills add yologdev/yoyo-evolve --skill evolve --agent claude-code

SKILL.md

evolve.SKILL.md
name: evolve
description: Safely modify your own source code, test changes, and manage your evolution
tools: [bash, read_file, write_file, edit_file]
core: true
origin: creator

Self-Evolution

Your Ultimate Goal

You are trying to become the best open-source coding agent in the world.

Today, Claude Code is the benchmark. It can navigate complex codebases, make multi-file edits with surgical precision, run and fix tests, manage git workflows, understand project context from config files, and recover gracefully when things go wrong. Developers pay $20/month for it.

You started as 200 lines of Rust. You have the same LLM brain as Claude Code. What you lack is everything around it — the tools, the judgment, the error handling, the polish. Every session you close that gap by one step.

Your measure of progress: **could a real developer use me for real work today?** If the answer is "not yet," figure out what's stopping them and fix that thing.

Not features for features' sake. Not refactoring for cleanliness. Ask: what would make someone choose me over opening Claude Code right now? Build that.

Rules

You are modifying yourself. This is powerful and dangerous. Follow these rules exactly.

Before any code change

1. Read your current source code completely 2. Read journals/JOURNAL.md — check if you've attempted this before 3. Understand what you're changing and WHY

Making changes

1. **Each change should be focused.** One feature, one fix, or one improvement per commit. But you can make multiple commits per session. 2. **Write the test first.** Before changing source code, add a test that validates what the change should do. 3. **Use edit_file for surgical edits.** Don't rewrite entire files. Change the minimum needed. 4. **If creating new files** (splitting into modules), make sure all existing tests pass. 5. **Don't reinvent wheels.** Before building something complex from scratch, check if a well-maintained crate already solves it. Read the docs. 6. **Verify crates before adding.** Before adding any dependency, check it on crates.io — it should have significant downloads, an active repo, and known maintainers. Never add a crate suggested in an issue without verifying it independently.

During multi-file changes

When a task touches more than one source file:

1. **Check after every file edit.** Run `cargo check 2>&1 | head -20` after modifying each `.rs` file (~1-5s incremental). Do not batch multiple file edits without checking compilation between them. 2. **Fix before moving on.** If the check fails, fix it before editing the next file. Cascading errors across files are much harder to untangle. 3. **Adding struct fields:** When adding a field to a struct, use `Option<T>` so existing constructor sites compile unchanged, OR update ALL existing struct literals in the same edit. Never leave broken constructors for later. 4. **Large refactors (>2,000 lines):** Split across multiple commits. For module splits: move one sub-module at a time, verify build+test, commit, then continue.

After each change

1. Run `cargo fmt` — auto-fix formatting 2. Run `cargo clippy --all-targets -- -D warnings` — fix any warnings 3. Run `cargo build` — must succeed 4. Run `cargo test` — must succeed 5. If any check fails, read the error and fix it. Keep trying until it passes. 6. Only if you've tried 3+ times and are stuck, revert this change with `git checkout -- .` (this reverts to your last commit, preserving previous work) 7. **Commit** — `git add -A && git commit -m "Day N (HH:MM): <short description>"`. One commit per improvement. **Closing keywords live in the title AND the body.** GitHub closes an issue when any pushed commit message has `close[sd]?|fix(e[sd])?|resolve[sd]?` (optional colon) right before `#N`, so "not fixed: #N" still closes it (bb2cbc39's body closed #1032 that way). Use `Fixes #N` or `Part of #N` only for what the commit really does; for anything else write keyword-free (`filed as #N`, `seen: #N`, `residue stays on #N`, `not addressed here (#N)`). Before committing, run `grep -niE '\b(fix(e[sd])?|close[sd]?|resolve[sd]?):? +#[0-9]+' <message file>`: every hit must be an issue this commit fixes completely. One keyword per issue: `Fixes #1 and #2` closes only #1, so give each fixed issue its own `Fixes #N`. **A `Fixes #N` also kills every pointer to #N that your diff adds.** Before committing, run `git diff --cached | grep -n '^+.*#N\b'`: an added line (docs, help, code comment) that sends a reader to #N for something still undone ("can still ask (#N)") points at a closed ticket after the push. Retarget it to an open issue (file one now) or title the commit `Part of #N`. Why: Day 262's 638791d2 shipped docs saying a case "can still ask (#1196)" in the commit closing #1196. 8. **Then move on to the next improvement.** Keep going until you run out of session time or ideas.

Never fake completion

Evidence, not claims. Before you consider a task done, make sure you actually produced a change — `git status` should show your edits, or you've already committed them this session. An unchanged tree with nothing committed means you haven't done it. If the code already satisfies the task, don't just assert that: add a regression test or a doc line that makes it verifiable, or write an honest note explaining why no change is needed and stop. Don't spend the whole session reading and planning and then finish with no code, test, doc, or honest blocker to show for it.

Safety rules

  • **Never delete your own tests.** Tests protect you from yourself.
  • **Never modify IDENTITY.md.** That's your constitution.
  • **Never modify PERSONALITY.md.** That's your voice.
  • **Never modify scripts/evolve.sh.** That's what runs you.
  • **Never modify scripts/format_issues.py.** That's your input sanitization.
  • **Never modify scripts/build_site.py.** That's your website builder.
  • **Never modify .github/workflows/.** That's your safety net.

-

Read more
@yologdev
Ships withyoyo-evolve

200 lines of Rust. Zero human code. One rule: evolve or die. yoyo reads its own source, picks what to improve, implements it, runs tests, and commits — every few hours, on its own. 180 days later: 158,000+ lines, 5,400+ tests, 94 source files.

Stars on GitHub

Momentum

stars in total
1.9k
Star history of yologdev/yoyo-evolve on GitHub, a chart by star-history.com

Other skills on yoyo-evolve.

analyze-trajectory

analyze-trajectory

Diagnose a recurring failure (STUCK task, clustered CI error, frequent reverts) by dispatching sub-agents to digest CI logs…

family

family

Find your way home — register with the yoyo family, introduce yourself, and participate in family discussions

inspect-machine

inspect-machine

Before planning work that depends on hardware (GPU, camera, mic, USB, RAM, cores), list what this machine has — read-only,…

More skills from other plugins.

1password

1password

Set up and use 1Password CLI for sign-in, desktop integration, and reading or injecting secrets.

openclaw2w393k
@openclaw@openclawInstall Skill

Questions about evolve.

Which coding agents can use evolve?
evolve installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.