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 9,792 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,915 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 9,792 This file is loaded in full into every session.
When invoked 9,792 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.09792 $0.09792
Opus 5.5 $0.03917 $0.03917
Sonnet 5.5 $0.01958 $0.01958
Haiku 4.5 $0.00979 $0.00979

Measured yesterday against content hash cec4d9543e41, 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 yesterday.

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 · 188 lines

How it starts

The opening of the file, as written. The whole thing — 188 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 ANTHROPIC_API_KEY and then API_KEY when the configured provider's own variable is unset, so a workflow that forgets to export the provider's key does not fail loudly — it sends the wrong provider's token and gets a 401. 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 · 188 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. yesterday Changed · +154 tokens per session cec4d9543e41
  2. 2d ago Changed · +62 tokens per session 6f8f6f1238ac
  3. 6d ago Changed · +2 lines · +69 tokens per session cb76abb92d87
  4. 7d ago Changed 859537bf9554
  5. 13d ago Changed b6e320b496b0
  6. 14d ago Changed · +74 tokens per session 03079216a6b8
  7. 21d ago Changed · +12 lines · +549 tokens per session 75a24923ccc0
  8. 1mo ago Changed · +5 lines · -127 tokens per session 20efe0edc0df
  9. 1mo ago First seen · 169 lines · 9,011 tokens per session scan A 78701b2472b1

Subscribe to this mod's changes

yoyo-evolve CLAUDE.md is an instructions file published in the GitHub repository yologdev/yoyo-evolve (1,915 stars, last pushed today), licensed MIT. It adds 9,792 tokens to every session, about $0.0392 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

Other instructions, from other repositories

vscode buildNext.instructions.md

Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).

microsoft/vscode · 9,649 tokens

next.js AGENTS.md

AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.

vercel/next.js · 7,257 tokens

vscode oss-third-party-notices.instructions.md

Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, cache eligibility and rollout and applying the notice (cutover).

microsoft/vscode · 5,262 tokens

langchain AGENTS.md

AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.

langchain-ai/langchain · 4,680 tokens

vscode copilot-instructions.md

Copilot instructions for microsoft/vscode, covering vs code copilot instructions, project overview, root folders, core architecture (src/ folder) and built-in extensions (extensions/ folder).

microsoft/vscode · 2,731 tokens

deepseek-harness AGENTS.md

AGENTS.md instructions for deepseek-ai/deepseek-harness, covering agents.md, pre-stable apis and released session data, repository layout, commands and host sandbox failures.

deepseek-ai/deepseek-harness · 4,159 tokens