yoyo: Instructions file for Claude Code

CLAUDE.md

yoyo CLAUDE.md is an instructions file for Claude Code from avirajkhare00/yoyo. It costs 1,221 tokens per session, scanned A, a copy of yoyo AGENTS.md, Apache-2.0.

Project-specific instructions for working on yoyo, a code-analysis tool with a core engine and interfaces for the command line and MCP, a tool-connection standard for AI assistants.

In plain words
What is it for?
Use them when changing yoyo's parser, index, analysis, graph features, CLI, MCP tools, or project documentation.
Why use it?
They explain where changes belong, how to keep the command-line and MCP interfaces consistent, and how to document and measure improvements.

Instructions file for Claude Code

Written for Claude Code: the file is CLAUDE.md. Also seen: reads .claude/ paths; mentions CLAUDE.md.

This is avirajkhare00/yoyo's own configuration. It tells Claude Code how to work on yoyo 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 configures →

Not installable: its command points at a path on the author’s own machine, so it runs nowhere else. The line is /Users/avirajkhare/.local/bin/yoyo.

Reuse

Borrowing it

Nothing to install: this file belongs to avirajkhare00/yoyo. 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/avirajkhare00/yoyo/main/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/avirajkhare00/yoyo

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 CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/avirajkhare00/yoyo/claude-md/github.svg)](https://agentmods.dev/instructions/avirajkhare00/yoyo/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/avirajkhare00/yoyo/claude-md"><img src="https://agentmods.dev/badge/instructions/avirajkhare00/yoyo/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 CLAUDE.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/avirajkhare00/yoyo/claude-md"><img src="https://agentmods.dev/badge/instructions/avirajkhare00/yoyo/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 1,221 This file is loaded in full into every session.
When invoked 1,221 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 98% copy Near-identical to another mod 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.01221 $0.01221
Opus 5 $0.00611 $0.00611
Sonnet 5 $0.00244 $0.00244
Haiku 4.5 $0.00122 $0.00122

Measured 10d ago against content hash 3e881edf5f77, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

yoyo 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 10d 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.

Origin

This is a copy

98% identical to yoyo AGENTS.md — 2 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

CLAUDE.md · 146 lines

How it starts

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

yoyo — Instructions for Claude

Operator

Read AVIRAJ.md once per session when context is fresh. It defines the operator's standards, pace, and communication style.

Core stance

  • Dogfood yoyo in every yoyo session. Pain felt while using it is product input; file an issue when it matters.
  • Build feedback loops, not just features. Every change should have a way to measure whether it helped.
  • Prefer durable design over extra instructions. If a rule keeps appearing, push it into the product.

Architecture

yoyo has two layers:

  • Engine: src/engine/, src/lang/. Stable core: AST parsing, indexing, analysis, graph operations.
  • Presentation: src/mcp.rs, src/cli.rs. MCP schemas, CLI commands, formatting.

Work bottom-up. Fix engine problems in the engine, not with presentation-layer workarounds.

MCP vs CLI

  • MCP is the curated surface. Every exposed tool costs tokens; keep only tools that earn their slot.
  • CLI is the full human surface. Do not remove CLI commands just because the MCP surface was simplified.

If the boundary is unclear, read docs/architecture.md.

Documentation ownership

Every fact should have one home:

  • Language support and project metrics: METRICS.md
  • Competitive landscape: COMPETITORS.md
  • Version history: CHANGELOG.md
  • Architecture and working rules: CLAUDE.md
  • Tool and API docs: docs/README.md

README.md is a front door, not a database. Summarize there and link outward. Delete duplicated facts on sight.

Language ground truth

Before generating code in a systems language, read the relevant playbook when one exists.

When integrating a new language or library, read the source first. For tree-sitter grammars, inspect:

  1. src/node-types.json
  2. grammar.js
  3. queries/highlights.scm

Docs and memory drift; source is ground truth.

Language policy

Use systems languages only:

  • Rust for core product code
  • Go for tooling, automation, eval harnesses, CI helpers
  • Zig when it is the right low-level fit

Read the full file on GitHub · 146 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. 10d ago First seen · 146 lines · 1,221 tokens per session scan A 3e881edf5f77

Subscribe to this mod's changes

yoyo CLAUDE.md is an instructions file published in the GitHub repository avirajkhare00/yoyo (24 stars, last pushed 5mo ago), licensed Apache-2.0. It adds 1,221 tokens to every session, about $0.0061 per session on Opus 5. A static security scan graded it A with 0 findings. It is 98% identical to yoyo AGENTS.md, differing in 2 lines, and is treated as a copy.