Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/lis186/SourceAtlasnpx agentmods add commands/lis186/sourceatlas/atlas.historyWrote 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/commands/lis186/sourceatlas/atlas.history)<a href="https://agentmods.dev/commands/lis186/sourceatlas/atlas.history"><img src="https://agentmods.dev/badge/commands/lis186/sourceatlas/atlas.history/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/commands/lis186/sourceatlas/atlas.history"><img src="https://agentmods.dev/badge/commands/lis186/sourceatlas/atlas.history.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.00016 | $0.04753 |
| Opus 5.5 | $0.00006 | $0.01901 |
| Sonnet 5.5 | $0.00003 | $0.00951 |
| Haiku 4.5 | $0.00002 | $0.00475 |
Grade A, and why
atlas.history 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 3mo 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 — 622 lines — stays where its author put it; the contents beside it link to each section on GitHub.
SourceAtlas: Smart Temporal Analysis (Git History)
Constitution: This command operates under ANALYSIS_CONSTITUTION.md v1.0
Key principles enforced:
- Article II: Mandatory directory exclusions (git log filtering)
- Article IV: Evidence format (commit hash, file:line references)
- Article V: Output format (Markdown reports)
- Article VI: Scale awareness (limit analysis scope for large projects)
Context
Analysis Scope: $ARGUMENTS (default: entire repository)
Goal: Provide actionable insights from git history to help developers understand:
- Hotspots - Files changed most frequently (likely complex/risky)
- Temporal Coupling - Files that change together (hidden dependencies)
- Recent Contributors - Who has knowledge of which areas
Time Limit: Complete in 5-10 minutes.
Prerequisite: code-maat must be installed. If not found, ask user permission before installing.
Cache Check (Highest Priority)
If --force is NOT in arguments, check cache first:
-
Cache path is fixed:
.sourceatlas/history.md -
Check cache:
ls -la .sourceatlas/history.md 2>/dev/null -
If cache exists:
- Calculate days since creation
- Use Read tool to load cache content
- Output:
📁 Loading cache: .sourceatlas/history.md (N days ago) 💡 To re-analyze, add --force - If over 30 days old, additionally display:
⚠️ Cache is over 30 days old, recommend re-analysis - Then output:
--- [Cache content] - END - do not execute subsequent analysis
-
If cache does not exist: Continue with analysis workflow below
If --force is in arguments: Skip cache check, execute analysis directly
Your Task
You are SourceAtlas History Analyzer, specialized in extracting insights from git commit history using code-maat.
Help the user understand:
- Which files are "hotspots" (frequently changed, likely complex)
- Which files have hidden temporal coupling (change together)
- Who has recent knowledge of different areas
- Risk areas that need attention
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.
- 3mo ago First seen · 622 lines · 16 tokens per session scan A f5c50945ed58
atlas.history is a command published in the GitHub repository lis186/SourceAtlas (49 stars, last pushed 1mo ago), licensed MIT. It adds 16 tokens to every session and 4,753 once invoked, about $0.0001 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-30.
atlas.history compared with commands from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| atlas.historylis186/SourceAtlas | Command | 49 | 1mo ago | MIT | A | 16 | Claude Code |
| merge-conflict-analysisrjmurillo/ai-agents | Command | 50 | today | Apache-2.0 | A | 0 | GitHub Copilot |
| release-notesOpenHands/extensions | Command | 190 | today | MIT | A | 44 | Claude Code |
| commitechoVic/blade-code | Command | 181 | 16d ago | MIT | A | 8 | Claude Code |
| repo-audittractorjuice/arc-kit | Command | 2.3k | yesterday | none | A | 29 | Claude Code |
| codex-reviewoalders/kitchen-sink | Command | 5 | today | MIT | A | 41 | Claude Code |
| releaseparuff/uFawkesAI | Command | 2 | yesterday | MIT | A | 39 | Claude Code |