atlas: Command for Claude Code

.claude/commands/atlas.md

atlas is a command for Claude Code from greyw0rks/atlas. It costs 24 tokens per session (417 once invoked), scanned A, original, MIT.

A repository status summary for Atlas memory, showing the last session, unfinished tasks, important decisions, and a suggested next step.

In plain words
What is it for?
Use it when beginning work in a repository to review recent activity, open tasks, decisions, and the next suggested action.
Why use it?
It gives the agent the project context it may otherwise have to reconstruct at the start of each session.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

This is greyw0rks/atlas's own configuration. It tells Claude Code how to work on atlas itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything atlas configures →

Reuse

Borrowing it

Nothing to install: this file belongs to greyw0rks/atlas. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/greyw0rks/atlas/master/.claude/commands/atlas.md
Clone the repo
git clone --depth 1 https://github.com/greyw0rks/atlas

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

README.md
[![agentmods](https://agentmods.dev/badge/commands/greyw0rks/atlas/atlas/github.svg)](https://agentmods.dev/commands/greyw0rks/atlas/atlas)
Your own site
<a href="https://agentmods.dev/commands/greyw0rks/atlas/atlas"><img src="https://agentmods.dev/badge/commands/greyw0rks/atlas/atlas/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.

agentmods 80×15 button for atlas

Your own site · 80×15
<a href="https://agentmods.dev/commands/greyw0rks/atlas/atlas"><img src="https://agentmods.dev/badge/commands/greyw0rks/atlas/atlas.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 24 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 417 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00024 $0.00417
Opus 5 $0.00012 $0.00209
Sonnet 5 $0.00005 $0.00083
Haiku 4.5 $0.00002 $0.00042

Measured 8d ago against content hash 24e97e9c38f8, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

atlas 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 8d 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.md · 33 lines

What it actually says

Call atlas_get_repository_context with the current working directory as repoPath, then call atlas_get_open_tasks and atlas_get_recent_sessions (limit 3) with the same path. Render the results as a single formatted block using this layout:

╔══════════════════════════════════════════════════╗
║  ATLAS — <repo name>                             ║
╠══════════════════════════════════════════════════╣
║  Last session: <summary or "first session">      ║
║  Agent: <agentId>  ·  <date>                    ║
╠══════════════════════════════════════════════════╣
║  Open tasks (<count>)                            ║
║  [1] <kind>: <content>  (importance: N)          ║
║  [2] ...                                         ║
╠══════════════════════════════════════════════════╣
║  Recent decisions                                ║
║  • <title> — <rationale (first sentence)>        ║
╠══════════════════════════════════════════════════╣
║  Suggested next:                                 ║
║  → <suggestions[0].action>                       ║
╚══════════════════════════════════════════════════╝

Rules:

  • If no Atlas data exists for this repo yet, print: "No Atlas memory for this repo yet. Start a session with atlas_start_session to begin tracking."
  • Truncate any field to 60 chars with "…" if longer
  • Show at most 5 open tasks and 3 decisions
  • Do not print anything outside the box
  • Do not call atlas_start_session — this command is read-only
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. 8d ago First seen · 33 lines · 24 tokens per session scan A 24e97e9c38f8

Subscribe to this mod's changes

atlas is a command published in the GitHub repository greyw0rks/atlas (0 stars, last pushed 21d ago), licensed MIT. It adds 24 tokens to every session and 417 once invoked, about $0.0001 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.