atlas
llms.txt4 starsChanged 5 months agoMITView on GitHub
This file is the expanded llms.txt companion for agents that want more context without crawling every repository file. Prefer the linked source documents when exact details matter. atlas is a standalone Rust CLI that turns a repository into a compact structural map for AI coding agents. The map includes signatures, types, imports, reverse dependencies, file ranks, and optional JSON/XML structure. It excludes function bodies so the output stays small enough to fit in an agent context window. Core pipeline: Supported…
In this repository8 other files it gives its agents.
- examples/AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- llms.txtllms.txt
- adr-writingSkill
- benchmark-protocolSkill
- release-processSkill
- tree-sitter-queriesSkill
- atlas-orientSkill
The file
We split this llms-full.txt into the rules it gives an agent
3 rules. About 0 are common, 3 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 59
Keep a committed map fresh: pre-commit hook, CI recipes, API-change gate.
- Distinctive: line 117
Run the MCP server for compatible clients:
- Distinctive: line 133
Do not claim a broad edit-task token reduction.
≈ “Common” is an estimate: at least 1 in 5 of the 4,067 llms.txt files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
# atlas agent documentation index This file is the expanded `llms.txt` companion for agents that want more context without crawling every repository file. Prefer the linked source documents when exact details matter. ## What atlas is atlas is a standalone Rust CLI that turns a repository into a compact structural map for AI coding agents. The map includes signatures, types, imports, reverse dependencies, file ranks, and optional JSON/XML structure. It excludes function bodies so the output stays small enough to fit in an agent context window. Core pipeline: ```text discover -> parse -> link -> rank -> budget -> render ``` Supported languages today: Python, TypeScript/JavaScript, Rust, Go, Java, C, and C++. ## Start here - [README](README.md): installation, quickstart, examples, troubleshooting. - [Docs index](docs/README.md): every guide, grouped by task. - [CONTRIBUTING](CONTRIBUTING.md): local build/test commands and contribution expectations. - [CLAUDE](CLAUDE.md): maintainer workflow rules for agents working in this repository. - [STATUS](STATUS.md): current milestone notes and completed work. - [CHANGELOG](CHANGELOG.md): public release notes and unreleased changes. ## Using atlas with an agent - [`atlas-orient` skill](skills/README.md): a drop-in skill that tells an agent to orient with a map before exploring; ready-to-paste block in [examples/AGENTS.md](examples/AGENTS.md). - [Agent integration cookbook](docs/agent-cookbook.md): per-agent stdout/file recipes (Claude Code, Cursor, Copilot, terminal agents) and flag guidance. - [Generate CLAUDE.md / AGENTS.md sections](docs/agent-files.md): keep a delimited map block fresh without touching manual guidance. - [Editor task snippets](docs/editor-snippets.md): VS Code / JetBrains / shell. - [Claude Code MCP setup](docs/CLAUDE_CODE_MCP.md) and [examples/claude-code.mcp.json](examples/claude-code.mcp.json). - [Prompt-injection threat model](docs/prompt-injection.md): maps are untrusted data; Markdown vs XML and safe wrappers. ## Reference & tuning - [Language support matrix](docs/languages.md): extracted symbol kinds, visibility rules, import-linking behavior, and caveats per language. - [`.atlasignore` & monorepo tuning](docs/monorepos.md): ignore syntax and focusing large/polyglot repos. - [Exit codes & error taxonomy](docs/exit-codes.md): the stable `0/1/2` contract. - [FAQ](docs/FAQ.md), [Windows guide](docs/windows.md), [offline/proxy install](docs/install-offline.md), [repomap → atlas migration](docs/MIGRATION.md). - Keep a committed map fresh: [pre-commit hook](docs/pre-commit.md), [CI recipes](docs/ci-recipes.md), [API-change gate](docs/ci-diff-gate.md). ## Product and architecture - [PRD](docs/PRD.md): target users, non-goals, functional requirements, success metrics, risks. - [ADR 0002](docs/adr/0002-index-based-graph.md): index-based graph model. - [ADR 0003](docs/adr/0003-budget-packing-ladder.md): budget degradation ladder. - [ADR 0004](docs/adr/0004-symbol-index-for-collapsed-tail.md): collapsed-tail symbol index. - [ADR 0005](docs/adr/0005-structural-diff-between-trees.md): structural diff design. - [ADR 0008](docs/adr/0008-mcp-server-over-stdio.md): MCP server over stdio. - [ADR 0009](docs/adr/0009-stable-symbol-anchors-progressive-disclosure.md): stable symbol anchors for progressive disclosure. ## Agent workflows Generate a Markdown map: ```sh atlas . --budget 2048 ``` Save a map with an agent preamble: ```sh atlas . --for-agent -o atlas-map.md ``` Focus the map on the area being changed: ```sh atlas . --focus src/api --focus tests ``` Use structured output: ```sh atlas . --format json atlas . --format xml ``` Gate a committed map's freshness (exit 1 if stale — CI / pre-commit): ```sh atlas . --check ATLAS.md ``` Review structural change between revisions: ```sh atlas diff HEAD~1 HEAD atlas diff main . --no-private --exit-code ``` Run the MCP server for compatible clients: ```sh atlas serve --mcp --root . ``` See [Claude Code MCP setup](docs/CLAUDE_CODE_MCP.md) and [examples/claude-code.mcp.json](examples/claude-code.mcp.json). ## Benchmarks and claim hygiene The safest public benchmark claim is from the comprehension benchmark in [benchmark/history](benchmark/history.md): the default map achieved 20/20 accuracy in both arms while reducing median tokens from 85,670 to 29,781 (-65.2%) and median turns from 3 to 1 on the constrained read-only task suite. Do not claim a broad edit-task token reduction. The edit-task benchmark is valuable for characterizing behavior, but the recorded runs are too noisy for a headline token claim. If you mention edit tasks, say that atlas tends to reduce turns and helps "find the existing thing" tasks, while token deltas remain inconclusive until the suite is larger and lower variance. ## Positioning atlas is not a full-repo concatenator, semantic code search engine, LSP, editor, or code generator. It is a compact structural index that makes an agent's first navigation pass cheaper and more grounded. Adjacent-tool framing: - Versus full source dumps: atlas preserves navigation signal under a fixed token budget and omits implementation bodies. - Versus ctags/tree-sitter raw output: atlas ranks and budgets the structure for LLM consumption. - Versus Aider repo-map: atlas is standalone, Rust-native, CLI/MCP-oriented, and usable with any agent. - Versus prompt packers: atlas focuses on structural signal, not collecting arbitrary file contents. See [docs/comparison.md](docs/comparison.md). ## Safety and operations - [SECURITY.md](SECURITY.md): disclosure path and supported versions. - [CODE_OF_CONDUCT.md](CODE_OF_CONDUCT.md): contributor conduct expectations. - [docs/PRIVACY.md](docs/PRIVACY.md): local/offline operation and map sensitivity. - [docs/ADOPTION_METRICS.md](docs/ADOPTION_METRICS.md): public-source launch metrics without product telemetry. - [docs/LAUNCH_CHECKLIST.md](docs/LAUNCH_CHECKLIST.md): release, metadata, and community-profile checks. - [docs/release-readiness.md](docs/release-readiness.md): alpha, beta, and stable release-channel gates. - [docs/post-launch-outreach.md](docs/post-launch-outreach.md): channel-specific launch copy and public-source follow-up metrics. atlas is local-first and read-only in normal use. The MCP server also uses read-only parsing and rejects paths outside its configured `--root`.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

