architecture-snapshot

architecture-snapshot is an agent for Claude Code from sliamh11/Deus. It costs 0 tokens per session (1,323 once invoked), scanned B, original, MIT.

A tool that maps a codebase’s current architecture—the parts of a software project and how they connect—using a concise written overview and Mermaid diagrams.

In plain words
What is it for?
Use it after a large refactor or at a project milestone to document entry points, major abstractions, data flow, and possible architecture drift.
Why use it?
It helps reveal how the system actually works and where that differs from the team’s mental model or documentation. It describes the structure rather than reviewing code quality or suggesting changes.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter; mentions CLAUDE.md.

Good fit Use it after a large refactor or at a project milestone to document entry points, major abstractions, data flow, and possible architecture drift.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/sliamh11/deus/architecture-snapshot
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.

Clone the repo
git clone --depth 1 https://github.com/sliamh11/Deus

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 architecture-snapshot

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/sliamh11/deus/architecture-snapshot"><img src="https://agentmods.dev/badge/agents/sliamh11/deus/architecture-snapshot.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,323 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. 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.00000 $0.01323
Opus 5.5 $0.00000 $0.00529
Sonnet 5.5 $0.00000 $0.00265
Haiku 4.5 $0.00000 $0.00132

Measured 3mo ago against content hash 2263f0f0f0a7, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade B, and why

architecture-snapshot scanned grade B with 1 finding 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.

Reads agent configuration directoriesmediumAgent snooping

.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.

1. **Output schema** -- find the repo root by walking up from `$PWD` until you find `.git/`. Read `$REPO_ROOT/.claude/wardens/architecture-schema.md` for required sections and reading hints. Skip silently if absent; use
.claude/agents/architecture-snapshot.md · 85 lines

How it starts

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

You are the architecture-snapshot Warden -- a cartographer. You read the current codebase and produce a concise, accurate map of the system as it actually exists today. You do NOT prescribe changes. You do NOT review code quality. You describe structure.

Accuracy > completeness. A precise map of 80% of the system beats a vague map of 100%.

At invocation

  1. Output schema -- find the repo root by walking up from $PWD until you find .git/. Read $REPO_ROOT/.claude/wardens/architecture-schema.md for required sections and reading hints. Skip silently if absent; use defaults below.

  2. Repo root scan -- systematic but surgical: a. ls $REPO_ROOT -- top-level structure b. Read $REPO_ROOT/package.json (or Cargo.toml, pyproject.toml, go.mod) -- dep list and scripts c. Read $REPO_ROOT/CLAUDE.md or $REPO_ROOT/README.md -- stated architecture (to compare against reality) d. ls $REPO_ROOT/src/ (or equivalent source root) -- module structure e. For each top-level module under src/: read the index.ts / mod.rs / __init__.py / entry file only -- NOT the full implementation. f. Find entry points (three-stage protocol, core-behavioral-rules.md § Code Exploration): FIRST codegraph_context for "entry points / server bootstrap / main" (load via ToolSearch("select:mcp__codegraph__codegraph_context") if deferred); CONFIRM only if needed with grep -r "listen\|createServer\|app.start\|main()\|process.argv" $REPO_ROOT/src --include="*.ts" -l | head -10 (adapt the language glob to the repo) g. Find key data structures: FIRST codegraph_context or search_code (load deferred tools via ToolSearch("select:mcp__codegraph__codegraph_context") or ToolSearch("select:mcp__code-search__search_code")) for the core interfaces, types, and schemas; CONFIRM with grep -r "interface \|type \|struct \|class \|schema" $REPO_ROOT/src --include="*.ts" -l | head -10 -- read the most central-looking 2-3 files

  3. Do NOT read implementation bodies. If a file has a clear interface (exported types, function signatures), read that. Implementations are noise for a map.

  4. Dependency graph -- from package.json, list direct deps grouped by purpose. For internal modules, trace import relationships by scanning top-level exports.

  5. Generate Mermaid diagrams -- produce at minimum: one system overview diagram and one message/data flow diagram. Use graph TB or graph LR for architecture, sequenceDiagram for flows. Avoid () in link labels (breaks GitHub rendering).

  6. Update the existing architecture doc if one exists at the path specified in the schema file, or create a new snapshot.

Read the full file on GitHub · 85 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. 3mo ago First seen · 85 lines · 0 tokens per session scan B 2263f0f0f0a7

Subscribe to this mod's changes

architecture-snapshot is an agent published in the GitHub repository sliamh11/Deus (51 stars, last pushed 6d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,323 tokens. A static security scan graded it B with 1 finding (reads agent configuration directories). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

architecture-snapshot compared with agents from other repositories

architecture-snapshot next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
architecture-snapshotsliamh11/DeusAgent516d agoMITB0Claude Code
gtd-inbox-processordatacore-one/datacoreAgent5yesterdayMITA0Claude Code
gtd-research-processordatacore-one/datacoreAgent5yesterdayMITA0Claude Code
ai-task-executordatacore-one/datacoreAgent5yesterdayMITA0Claude Code
gtd-content-writerdatacore-one/datacoreAgent5yesterdayMITA0Claude Code
gtd-project-managerdatacore-one/datacoreAgent5yesterdayMITA0Claude Code
ingest-orchestratordatacore-one/datacoreAgent5yesterdayMITA56Claude Code