Borrowing it
Nothing to install: this file belongs to yologdev/yoagent. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/yologdev/yoagent/main/CLAUDE.mdgit clone --depth 1 https://github.com/yologdev/yoagentWrote 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.
[](https://agentmods.dev/instructions/yologdev/yoagent/claude-md)<a href="https://agentmods.dev/instructions/yologdev/yoagent/claude-md"><img src="https://agentmods.dev/badge/instructions/yologdev/yoagent/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.
<a href="https://agentmods.dev/instructions/yologdev/yoagent/claude-md"><img src="https://agentmods.dev/badge/instructions/yologdev/yoagent/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.23855 | $0.23855 |
| Opus 5.5 | $0.09542 | $0.09542 |
| Sonnet 5.5 | $0.04771 | $0.04771 |
| Haiku 4.5 | $0.02386 | $0.02386 |
Grade A, and why
yoagent 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.
How it starts
The opening of the file, as written. The whole thing — 277 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.
Project Overview
yoagent is a Rust library (crate) for building AI coding agents. It provides a core agent loop, multi-provider LLM streaming, built-in tools, MCP integration, and context management. Published to crates.io as yoagent.
Library Principles
yoagent's motto is keep it simple but effective: a powerful, flexible, reusable base for others to build agents on. Check every change against these four lines before adding it:
- The loop stays as it is. New behaviour goes into tools, providers, extensions or opt-in settings, not new concepts in the agent loop.
- Built-in tools must be correct and safe. People use them as defaults without reading them, so a tool that silently loses data or misreports a result is a bug, not a missing feature.
- Small, generic knobs that any agent needs. Add a setting only when every kind of agent could want it, keep it opt-in or defaulting to today's behaviour, and keep the public API small.
- Opinions and heuristics belong above the library. Prompt tricks, auto-fixes, house policies and product behaviour go in extensions, in yobuild, or in the app — never baked into yoagent's defaults.
The longer reasoning is in docs/design-philosophy.md.
Build & Development Commands
cargo test --all-features # Run all tests — what CI runs
cargo clippy --all-targets --all-features # Lint — what CI runs (-Dwarnings)
cargo fmt # Auto-format code
cargo fmt -- --check # Check formatting (CI uses this)
RUSTDOCFLAGS="-Dwarnings" cargo doc --no-deps --all-features # Doc links — what CI runs
cargo test <test_name> # Run a single test by name
cargo test --test agent_test # Run a specific test file
cargo run --example cli # Run the interactive CLI example
cargo run --example basic # Run the minimal example
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.
- yesterday Changed · +18 lines · +2,599 tokens per session 0792238e7f41
- 2d ago Changed · +172 tokens per session e8449f5e0704
- 3d ago Changed · +373 tokens per session 2276340bcf0f
- 6d ago Changed · +272 tokens per session 6de0a596c517
- 7d ago Changed · +946 tokens per session 8d222e3e1df7
- 8d ago Changed · +441 tokens per session a5341c4f2309
- 10d ago Changed · +615 tokens per session 3018842590ec
- 11d ago Changed · +704 tokens per session 0036872a4e82
- 15d ago Changed · +38 tokens per session 312ac395acd6
- 16d ago First seen · 259 lines · 17,695 tokens per session scan A adecb8bdf24c
yoagent CLAUDE.md is an instructions file published in the GitHub repository yologdev/yoagent (369 stars, last pushed yesterday), licensed MIT. It adds 23,855 tokens to every session, about $0.0954 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-08-30.
yoagent CLAUDE.md compared with instructions from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| yoagent CLAUDE.mdyologdev/yoagent | Instructions file | 369 | yesterday | MIT | A | 23,855 | Claude Code |
| vscode buildNext.instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 9,719 | GitHub Copilot |
| next.js AGENTS.mdvercel/next.js | Instructions file | 143k | today | MIT | A | 7,461 | Codex, OpenCode |
| langchain AGENTS.mdlangchain-ai/langchain | Instructions file | 149k | yesterday | MIT | A | 4,680 | Codex, OpenCode |
| vscode oss-third-party-notices.instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 5,516 | GitHub Copilot |
| vscode copilot-instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 3,093 | GitHub Copilot |
| deepseek-harness AGENTS.mddeepseek-ai/deepseek-harness | Instructions file | 274k | 2d ago | MIT | A | 4,313 | Codex, OpenCode |