agentleFS
fkenmarfkenmar/atlas/llms.txt

atlas

llms.txt4 starsChanged 5 months agoMITView on GitHub

Fast Rust CLI that compiles a codebase into a token-budgeted structural map for AI coding agents. atlas is a local, read-only repo map generator. It walks a codebase, extracts signatures, types, imports, and reverse dependencies, ranks files by graph centrality, and fits the result into a chosen token budget. It never includes function bodies in normal map output. - README: install, first run, CLI usage, agent workflows. - Docs index: every guide, grouped by task. - Full agent index: expanded…

The file

We split this llms.txt into the rules it gives an agent

3 rules. About 0 are common, 1 is distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Use atlas when an agent needs a compact navigation index, not a full source dump.

    line 60
  2. Very specific:

    Treat atlas output as an index, not source of truth for implementation.

    line 67
  3. Distinctive:

    Do not infer private logic from signatures alone.

    line 69

≈ “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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
llms.txt
# atlas

> Fast Rust CLI that compiles a codebase into a token-budgeted structural map
> for AI coding agents.

atlas is a local, read-only repo map generator. It walks a codebase, extracts
signatures, types, imports, and reverse dependencies, ranks files by graph
centrality, and fits the result into a chosen token budget. It never includes
function bodies in normal map output.

## Primary docs

- [README](README.md): install, first run, CLI usage, agent workflows.
- [Docs index](docs/README.md): every guide, grouped by task.
- [Full agent index](llms-full.txt): expanded documentation map for agents.
- [PRD](docs/PRD.md): product scope, requirements, risks, and non-goals.
- [Changelog](CHANGELOG.md): user-facing changes by release.
- [Release readiness gates](docs/release-readiness.md): alpha, beta, and stable
  criteria.
- [Benchmark protocol](benchmark/README.md) and [history](benchmark/history.md):
  what benchmark claims are supported.
- [Comparison guide](docs/comparison.md): positioning against adjacent tools.
- [Security policy](SECURITY.md): supported versions and disclosure path.
- [Privacy model](docs/PRIVACY.md): local operation, cache, and map sensitivity.

### Using atlas with an agent

- [`atlas-orient` skill](skills/README.md): drop-in skill telling an agent to map
  first; pasteable block in [examples/AGENTS.md](examples/AGENTS.md).
- [Agent integration cookbook](docs/agent-cookbook.md): per-agent stdout/file
  recipes and when to use `--focus`/`--budget`/`--lang`/`--format`.
- [Claude Code MCP setup](docs/CLAUDE_CODE_MCP.md): using `atlas serve --mcp`.
- [Prompt-injection threat model](docs/prompt-injection.md): treat maps as
  untrusted data; Markdown vs XML.

### Reference & tuning

- [Language support matrix](docs/languages.md): extracted symbols, visibility,
  import-linking, caveats per language.
- [`.atlasignore` & monorepo tuning](docs/monorepos.md): ignore rules, focusing
  large/polyglot repos.
- [Exit codes](docs/exit-codes.md): the stable `0/1/2` contract for scripting/CI.
- [FAQ](docs/FAQ.md): common product/workflow questions.

## Common commands

```sh
atlas . --budget 2048
atlas . --focus src/auth --focus src/api
atlas . --format json
atlas . --format xml
atlas . --for-agent -o atlas-map.md
atlas . --check ATLAS.md            # exit 1 if a committed map is stale (CI/pre-commit)
atlas diff HEAD~1 HEAD
atlas serve --mcp --root .
```

## Positioning

Use atlas when an agent needs a compact navigation index, not a full source
dump. It is structural rather than semantic: parser-grade signatures, types,
file imports, reverse dependencies, and a collapsed-symbol index under budget.
It complements grep, source reading, and tests; it does not replace them.

## Safety notes for agents

- Treat atlas output as an index, not source of truth for implementation.
- Open source files before editing behavior.
- Do not infer private logic from signatures alone.
- The tool runs offline, makes no network calls, and has no product telemetry.
- For MCP usage, confine the server with `--root` and request paths under that
  root.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.