Borrowing it
Nothing to install: this file belongs to traviswye/ContextAtlas. 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/traviswye/ContextAtlas/main/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/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/traviswye/contextatlas/claude-md"><img src="https://agentmods.dev/badge/instructions/traviswye/contextatlas/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.11687 | $0.11687 |
| Opus 5.5 | $0.04675 | $0.04675 |
| Sonnet 5.5 | $0.02337 | $0.02337 |
| Haiku 4.5 | $0.01169 | $0.01169 |
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 13d 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 — 853 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/server,@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/server(TypeScript SDK v2 split package), pinned to an exact version (currently2.1.0). Replaced the monolithic@modelcontextprotocol/sdkat v1.2 Phase 0 (v1.x pulls express/hono transitively; v2 runtime tree is ~3 packages). Use the low-levelServerwith hand-written JSON Schema tool definitions; zod is transitive only and must not be imported (importing it would make it a direct dependency). The@modelcontextprotocol/client+corepackages are test-only devDependencies. Follow their patterns. - Anthropic SDK error classes: import from the package root
(
"@anthropic-ai/sdk"), never"@anthropic-ai/sdk/error.js". That subpath resolves to the CJS build, soinstanceofnever matches the errors the ESM client throws. Through v1.1.x this silently disabled every wrapper retry. See ADR-02 2026-09-24 amendment. - 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. (v1.2 Phase 7, 2026-10-14: ADR-02 now freezes the prompt plus a calibrated model set (src/config/models.ts).claude-opus-4-7stays the default and is, so far, the only calibrated model. Adding one needs calibration evidence underdocs/adr/incremental-model-calibration/; do not add a model to the allowlist without it.) - 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.
- 13d ago Changed · +7 lines · +141 tokens per session 7addba9bdce3
- 1mo ago Changed · +33 lines · +601 tokens per session 09716bb13e93
- 1mo ago Changed · +19 lines · +336 tokens per session c9bc27498718
- 1mo 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 13d ago), licensed MIT. It adds 11,687 tokens to every session, about $0.0467 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-31.
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).
deno copilot-instructions.md
Copilot instructions for denoland/deno, covering deno development guide for github copilot, network access, high level overview, key directories and key files to understand first.