yoyo-evolve: Instructions file for Claude Code

CLAUDE.md

yoyo-evolve CLAUDE.md is an instructions file for Claude Code from yologdev/yoyo-evolve. It costs 5,925 tokens per session, scanned A, original, MIT.

A repository-specific instruction document for Claude Code, an AI coding assistant. It describes the project's Rust code, build and test commands, agent workflow, scheduled automation, and tool-related cautions.

In plain words
What is it for?
It is for guiding changes to the yoyo-evolve project, including its Rust code, tests, automated GitHub Actions jobs, and self-improvement workflow.
Why use it?
A coding assistant needs project-specific rules and commands to work safely in an unfamiliar repository. This document supplies that context and records how the project operates.

Instructions file for Claude Code

Written for Claude Code: the file is CLAUDE.md. Also seen: mentions CLAUDE.md; mentions subagents; positional $N argument.

This is yologdev/yoyo-evolve's own configuration. It tells Claude Code how to work on yoyo-evolve itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything yoyo-evolve configures →

About the project

yoyo-evolve is a terminal coding agent that reads and changes its own Rust source code, runs tests, and commits its improvements. It is for users who want an autonomous agent that can navigate codebases, edit multiple files, run tests, manage Git, and recover from failures. The catalogue entries are skills for working with this coding agent.

yologdev/yoyo-evolve · 1,931 stars · on GitHub · yoyo.yolog.dev

Reuse

Borrowing it

Nothing to install: this file belongs to yologdev/yoyo-evolve. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/yologdev/yoyo-evolve/main/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/yologdev/yoyo-evolve

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for yoyo-evolve CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/yologdev/yoyo-evolve/claude-md/github.svg)](https://agentmods.dev/instructions/yologdev/yoyo-evolve/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/yologdev/yoyo-evolve/claude-md"><img src="https://agentmods.dev/badge/instructions/yologdev/yoyo-evolve/claude-md/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for yoyo-evolve CLAUDE.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/yologdev/yoyo-evolve/claude-md"><img src="https://agentmods.dev/badge/instructions/yologdev/yoyo-evolve/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 5,925 This file is loaded in full into every session.
When invoked 5,925 The same file — it is already loaded in full.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.05925 $0.05925
Opus 5.5 $0.02370 $0.02370
Sonnet 5.5 $0.01185 $0.01185
Haiku 4.5 $0.00592 $0.00592

Measured 4d ago against content hash 11938371d684, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

yoyo-evolve CLAUDE.md 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 4d 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.

CLAUDE.md · 160 lines

How it starts

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

CLAUDE.md

This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.

What This Is

A self-evolving coding agent CLI built on yoagent. The agent spans multiple Rust source files under src/. A GitHub Actions cron job (scripts/evolve.sh) runs the agent on a schedule using a 3-phase pipeline (plan → implement → respond), which reads its own source, picks improvements, implements them, and commits — if tests pass. The cadence and the model are parameters, not facts about this project, and they are deliberately not written down here. The schedule lives in .github/workflows/evolve.yml (schedule.cron) and the provider, model and their knobs in .yoyo.toml only — every script and workflow reads the model from there (a MODEL env var overrides one run; there is no MODEL secret, and tests/harness_logic.sh fails if a model id is hardcoded anywhere else, because provider in one place and model in another is how Days 210-211 sent a DeepSeek id to Anthropic). Read those rather than this file, because a value copied into prose goes stale silently while the config keeps working. Two things about that config are not derivable from reading it, so they are recorded here instead:

  • The provider-key line in every workflow is load-bearing, not tidiness. yoyo's key lookup falls back to the generic API_KEY (then a config-file api_key) when the configured provider's own variable is unset. Since Day 255 (#1170) ANTHROPIC_API_KEY is read only for provider = "anthropic", so a workflow that forgets to export a non-Anthropic provider's key now stops with No API key found naming that provider's variable; superseded claim, recorded rather than erased: before #1170 it fell back to ANTHROPIC_API_KEY and sent the wrong provider's token, failing as a 401. A stray API_KEY in the workflow env would still be sent to whichever provider is configured. Every workflow that runs yoyo must export the key for whichever provider .yoyo.toml names.
  • thinking = "high" is still the top rung yoyo sends, but now by yoyo's choice, not yoagent's limit. Superseded claim (yoagent 0.24.0 upgrade, Day 218, #987), recorded rather than erased: this bullet said yoagent 0.18.1 had nothing above High. Since 0.19 ThinkingLevel has XHigh and Max (#[non_exhaustive]), and on OpenAI-compatible providers Max can go out as max. yoyo itself still folds max to High in src/cli.rs/src/config.rs; sending a higher tier is a priced decision that has not been made .

Read the full file on GitHub · 160 lines

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. 4d ago Changed · +54 tokens per session 11938371d684
  2. 22d ago Changed · +89 tokens per session 8bd76125150e
  3. 27d ago Changed · -28 lines · -4,144 tokens per session a6c3d84921f3
  4. 29d ago Changed 6cb9165b10d0
  5. 1mo ago Changed · +134 tokens per session 08740c4e5edd
  6. 1mo ago Changed · +154 tokens per session cec4d9543e41
  7. 1mo ago Changed · +62 tokens per session 6f8f6f1238ac
  8. 1mo ago Changed · +2 lines · +69 tokens per session cb76abb92d87
  9. 1mo ago Changed 859537bf9554
  10. 1mo ago First seen · 186 lines · 9,507 tokens per session scan A b6e320b496b0

Subscribe to this mod's changes

yoyo-evolve CLAUDE.md is an instructions file published in the GitHub repository yologdev/yoyo-evolve (1,931 stars, last pushed yesterday), licensed MIT. It adds 5,925 tokens to every session, about $0.0237 per session on Opus 5.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-09-16.

Related

yoyo-evolve CLAUDE.md compared with instructions from other repositories

yoyo-evolve CLAUDE.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
yoyo-evolve CLAUDE.mdyologdev/yoyo-evolveInstructions file1.9kyesterdayMITA5,925Claude Code
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file196ktodayMITA9,887GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file144ktodayMITA7,230Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file196ktodayMITA5,685GitHub Copilot
langchain AGENTS.mdlangchain-ai/langchainInstructions file150ktodayMITA4,680Codex, OpenCode
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file196ktodayMITA3,303GitHub Copilot
deno copilot-instructions.mddenoland/denoInstructions file109kyesterdayMITA3,077GitHub Copilot