atlas.list

atlas.list is a command for Claude Code from lis186/SourceAtlas. It costs 6 tokens per session (781 once invoked), scanned A, original, MIT.

A command that lists saved SourceAtlas code-analysis results stored in the .sourceatlas/ directory, including their type, size, modification time, and whether they are more than 30 days old.

In plain words
What is it for?
Use it to review saved overview, pattern, history, flow, impact, or dependency analyses before deciding whether to reuse or regenerate them.
Why use it?
It makes previously saved analyses easy to find and shows which results may be outdated. SourceAtlas is a tool for examining a codebase’s structure, dependencies, patterns, and data flows.

Command for Claude Code

Install

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.

agentmods
npx agentmods add commands/lis186/sourceatlas/atlas.list
Clone the repo
git clone --depth 1 https://github.com/lis186/SourceAtlas

Made for: Claude Code.

Wrote 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.

agentmods badge for atlas.list

README.md
[![agentmods](https://agentmods.dev/badge/commands/lis186/sourceatlas/atlas.list.svg)](https://agentmods.dev/commands/lis186/sourceatlas/atlas.list)
Your own site
<a href="https://agentmods.dev/commands/lis186/sourceatlas/atlas.list"><img src="https://agentmods.dev/badge/commands/lis186/sourceatlas/atlas.list.svg" alt="Measured on agentmods" height="20"></a>
Per session 6 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 781 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5 $0.00006 $0.00781
Opus 5 $0.00003 $0.00391
Sonnet 5 $0.00001 $0.00156
Haiku 4.5 $0.00001 $0.00078

Measured 4d ago against content hash de233fd46b5c, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

atlas.list 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 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.

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.

.claude/commands/atlas.list.md · 103 lines

How it starts

The opening of the file, as written. The whole thing — 103 lines — stays where its author put it; the contents beside it link to each section on GitHub.

SourceAtlas: List Saved Results

Your Task

List all saved analysis results in the .sourceatlas/ directory.

Step 1: Check directory exists

ls -la .sourceatlas/ 2>/dev/null || echo "NOT_FOUND"

If output contains NOT_FOUND or directory is empty:

📁 No saved analyses yet

Use the `--save` parameter to save analysis results:
- `/atlas.overview --save`
- `/atlas.pattern "api" --save`
- `/atlas.history --save`

End.

Step 2: List all files with details

find .sourceatlas -type f -exec ls -lh {} \; 2>/dev/null | sort

Step 3: Format output

Format results into a table, calculate days since modification, and mark expired status (>30 days):

📁 .sourceatlas/ saved analyses:

| Type | File | Size | Modified | Status |
|------|------|------|----------|--------|
| overview | overview.yaml | 2.3 KB | 3 days ago | ✅ |
| pattern | patterns/api.md | 1.5 KB | 45 days ago | ⚠️ |
| pattern | patterns/repository.md | 2.1 KB | 5 days ago | ✅ |
| history | history.md | 4.2 KB | 60 days ago | ⚠️ |
| flow | flows/checkout.md | 3.1 KB | 2 days ago | ✅ |
| impact | impact/user-model.md | 1.8 KB | 4 days ago | ✅ |
| deps | deps/react.md | 2.5 KB | 6 days ago | ✅ |

📊 Stats: 7 cached, 2 expired (>30 days)

💡 Tips:
- Clear cache: `/atlas.reset`
- Clear specific type: `/atlas.reset patterns`

Step 4: List expired items with refresh commands

If there are expired items (>30 days), output copyable re-analysis commands:

⚠️ Expired items (recommend re-analysis):

| File | Days | Re-analyze Command |
|------|------|-------------------|
| patterns/api.md | 45 days | `/atlas.pattern "api" --force --save` |
| history.md | 60 days | `/atlas.history --force --save` |

💡 Copy the commands above to re-analyze

Command generation rules:

Type Command Format
overview /atlas.overview --force --save
overview-{dir} /atlas.overview {dir} --force --save
patterns/{name}.md /atlas.pattern "{name}" --force --save
history.md /atlas.history --force --save
flows/{name}.md /atlas.flow "{name}" --force --save
impact/{name}.md /atlas.impact "{name}" --force --save
deps/{name}.md /atlas.deps "{name}" --force --save

Read the full file on GitHub · 103 lines

Changes

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.

  1. 4d ago First seen · 103 lines · 6 tokens per session scan A de233fd46b5c

Subscribe to this mod's changes

atlas.list is a command published in the GitHub repository lis186/SourceAtlas (48 stars, last pushed 1mo ago), licensed MIT. It adds 6 tokens to every session and 781 once invoked, about $0.0000 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-30.