Borrowing it
Nothing to install: this file belongs to yzhao062/anywhere-agents. 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/yzhao062/anywhere-agents/main/CLAUDE.mdgit clone --depth 1 https://github.com/yzhao062/anywhere-agentsWrote 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/yzhao062/anywhere-agents/claude-md)<a href="https://agentmods.dev/instructions/yzhao062/anywhere-agents/claude-md"><img src="https://agentmods.dev/badge/instructions/yzhao062/anywhere-agents/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/yzhao062/anywhere-agents/claude-md"><img src="https://agentmods.dev/badge/instructions/yzhao062/anywhere-agents/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.06479 | $0.06479 |
| Opus 5.5 | $0.02592 | $0.02592 |
| Sonnet 5.5 | $0.01296 | $0.01296 |
| Haiku 4.5 | $0.00648 | $0.00648 |
Grade D, and why
anywhere-agents CLAUDE.md scanned grade D with 3 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.
Reads agent configuration directoriesmediumAgent snooping
.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.
- Bootstrap also refreshes user-level files: `~/.claude/hooks/guard.py` (PreToolUse), `~/.claude/hooks/session_bootstrap.py` (SessionStart), the statusline scripts, and the shared `env` entries of `~/.claude/settings.jso Recursive force deletehighDestructive command
rm -rf with a variable or a broad path is one typo away from removing the wrong tree.
| File or device destruction | `Bash`, `PowerShell` | Bash `rm -rf`/`-fr`/`-r -f`, `dd`, `mkfs*`, `shred`; PowerShell `Remove-Item` and its aliases with `-Recurse`/`-r`/`/s` | **ask** | Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
curl -sfL https://raw.githubusercontent.com/yzhao062/anywhere-agents/main/bootstrap/bootstrap.sh -o .agent-config/bootstrap.sh How it starts
The opening of the file, as written. The whole thing — 219 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Shared agent rules (anywhere-agents)
This file holds rules. A rule says what to do, plus one clause on why when the rule is counter-intuitive. Longer rationale, measurements, version history, and how-to material go to the docs linked at the end or to CHANGELOG.md, never here. Tests enforce the size of this file.
Determine your context before proceeding.
Dispatched reviewer: A dispatched reviewer whose task, lens, and response format are supplied is exempt from this file's bootstrap, router, and coordinator-skill discovery instructions; it applies substantive project policy, including applicable local overrides, reads missing instruction files once, and may read any of these files when they are themselves in scope or answer a concrete verification question.
Source repo test: If
bootstrap/bootstrap.sh,bootstrap/bootstrap.ps1,scripts/generate_agent_configs.py, andskills/all exist at the repo root, you are in a source repo (anywhere-agents,agent-config, or a fork with the same layout). Skip the bootstrap block below and proceed directly to## Session Start Check. Do not execute the bootstrap script in a source repo; it would try to bootstrap itself.Consumer repo path: Otherwise, you are in a project that consumes the shared config. You MUST execute the matching bootstrap block below at the start of every session, before responding to any user request or running session checks. Use the PowerShell block on Windows and the Bash block on macOS/Linux. Bootstrap is idempotent: run it every session even if
.agent-config/already exists, so shared config, skills, and settings are refreshed from upstream before any work begins. After running, report the refresh result in one line (for example, "bootstrap: refreshed AGENTS.md, skills, settings").
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.
- 4d ago Changed bce326d4a541
- 5d ago Changed · -10 tokens per session 15e3c7112bfb
- 6d ago Changed · +19 tokens per session 7cb12ad15d91
- 8d ago Changed · -6 tokens per session 697df985be40
- 9d ago Changed · +6 tokens per session 9d98438ddebf
- 10d ago Changed · -28 tokens per session c0af81457bbb
- 11d ago Changed · +6 tokens per session b605a7ea3d94
- 19d ago Changed · +1 lines · +2 tokens per session 8faf9f63720a
- 20d ago Changed · +1 lines · -3 tokens per session cc4f66b7110a
- 22d ago First seen · 217 lines · 6,493 tokens per session scan D dae4f5d98325
anywhere-agents CLAUDE.md is an instructions file published in the GitHub repository yzhao062/anywhere-agents (259 stars, last pushed 2d ago), licensed Apache-2.0. It adds 6,479 tokens to every session, about $0.0259 per session on Opus 5.5. A static security scan graded it D with 3 findings (reads agent configuration directories, recursive force delete, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
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).
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.
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).
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.
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).
vscode model-prompts.instructions.md
Model-specific prompt authoring and registry guidelines.