Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx agentmods add instructions/traviswye/contextatlas/claude-mdgit clone --depth 1 https://github.com/traviswye/ContextAtlasWrote 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/traviswye/contextatlas/claude-md)<a href="https://agentmods.dev/instructions/traviswye/contextatlas/claude-md"><img src="https://agentmods.dev/badge/instructions/traviswye/contextatlas/claude-md.svg" alt="Measured on agentmods" 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.10609 | $0.10609 |
| Opus 5 | $0.05305 | $0.05305 |
| Sonnet 5 | $0.02122 | $0.02122 |
| Haiku 4.5 | $0.01061 | $0.01061 |
Grade A, and why
ContextAtlas 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 6d 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.
How it starts
The opening of the file, as written. The whole thing — 794 lines — stays where its author put it; the contents beside it link to each section on GitHub.
CLAUDE.md
Instructions for Claude Code working on the ContextAtlas project.
What This Project Is
ContextAtlas is an MCP server that gives Claude Code a curated atlas of a user's codebase — fusing LSP-grade structural precision with architectural intent from ADRs, docs, and git history, delivered in single-call context bundles.
Read DESIGN.md for the full architecture. Read RUBRIC.md for benchmark
methodology. Read README.md for the public-facing positioning.
Critical Constraints
These are decisions already made. Do not relitigate them.
- Language: TypeScript (Node 20+). No Python or Go in the server code itself — those are supported as target languages via language adapters, not as implementation languages.
- Dependencies: Minimize. Required:
@modelcontextprotocol/sdk,@anthropic-ai/sdk,better-sqlite3, a YAML parser, a glob library. Do not add state management libraries, ORMs, or HTTP frameworks. typescript-language-serverplacement: User-provided, not a bundled dependency. The TS adapter spawns it as a subprocess, but the binary itself is expected to be on the user's PATH or pointed to via config. This keeps the package lean and lets users choose their tsserver version.package.jsonlists it as apeerDependency— do not promote to a direct dependency.- LSP client strategy: Raw JSON-RPC over stdio. No
vscode-languageclient/vscode-jsonrpcdependency. The LSP subset we need (initialize, documentSymbol, references, diagnostics, shutdown) is ~150 lines of framing and fits comfortably insrc/adapters/lsp-client.tswithout pulling VS Code's client machinery. Rationale: dependency minimization per the constraint above, and cleaner control over subprocess lifecycle. - Storage: SQLite via
better-sqlite3. Single file. No Postgres, no Redis, no external services. - MCP SDK:
@modelcontextprotocol/sdk. Follow their patterns. - Output format: Compact text by default, JSON available via input parameter. Compact format is defined in DESIGN.md.
- Symbol ID format:
sym:<lang-short-code>:<path>:<name>(see ADR-01). Line numbers are NOT part of the ID — they live as a field on the Symbol record. Locked; do not change without updating ADR-01, DESIGN.md, and bumping the version. - Extraction model:
claude-opus-4-7at default effort. Not extended thinking. See DESIGN.md section on extraction pipeline. - Pre-drafted extraction prompt:
src/extraction/prompt.tsholds theEXTRACTION_PROMPTconstant — validated on two empirical bases: (1) pre-scaffolding ADR validation on 12 production-grade documents (100% JSON parse success, 169 claims extracted correctly across hono and httpx ADRs); (2) v0.3 Step 9 docstring calibration on 13 samples across TypeScript / Python / Go (11/13 PASS; JSON parse 100%; severity discipline 100%; cost $0.45). The prompt handles ADR + docstring inputs via H1 (single shared prompt) design. The extraction pipeline imports from this file; do not duplicate the prompt elsewhere. The prompt content, severity taxonomy, and model choice are frozen per ADR-02; call signatures, error handling, and output validation around it evolve with the pipeline. Refinements within the prompt require calibration evidence parallel to v0.3 Step 9.
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.
- 6d ago First seen · 794 lines · 10,609 tokens per session scan A 8ec23a8743ef
ContextAtlas CLAUDE.md is an instructions file published in the GitHub repository traviswye/ContextAtlas (7 stars, last pushed 2mo ago), licensed MIT. It adds 10,609 tokens to every session, about $0.0530 per session on Opus 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-31.
Other instructions, from other repositories
mcp-adr-analysis-server copilot-instructions.md
Copilot instructions for tosin2013/mcp-adr-analysis-server, covering mcp adr analysis server - ai coding agent instructions, project overview, critical technical conventions, esm-only module system and typescript configuration.
adrkit copilot-instructions.md
Instructions for mbeacom/adrkit, covering adrkit — github copilot and github copilot specifics.
adrkit CLAUDE.md
Instructions for mbeacom/adrkit, covering adrkit — claude code and claude code specifics.
cairn AGENTS.md
Instructions for isaacriehm/cairn, covering cairn — agent orientation, what this project is, document index, hard rules and workspace layout.
code-decisions CLAUDE.md
Instructions for zimalabs/code-decisions, covering claude.md, what this is, commands, key concepts and storage.
ai-software-architect AGENTS.md
AGENTS.md instructions for codenamev/ai-software-architect, covering agents.md - ai software architect framework, project overview, framework development setup, repository structure and installation for framework development.