architecture-explorer

architecture-explorer is an agent for Claude Code from arpitnath/claude-capsule-kit. It costs 50 tokens per session (771 once invoked), scanned A, original, MIT.

A read-only agent that examines a codebase and explains how its parts, services, data, and integrations fit together.

In plain words
What is it for?
It is for tracing service boundaries, API connections, data flows, external integrations, and the technologies used.
Why use it?
It helps developers understand an unfamiliar system without changing production code.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: model in frontmatter; mentions subagents.

Good fit It is for tracing service boundaries, API connections, data flows, external integrations, and the technologies used.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/arpitnath/claude-capsule-kit/architecture-explorer
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/arpitnath/claude-capsule-kit

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-explorer

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/arpitnath/claude-capsule-kit/architecture-explorer"><img src="https://agentmods.dev/badge/agents/arpitnath/claude-capsule-kit/architecture-explorer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 50 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 771 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.00050 $0.00771
Opus 5.5 $0.00020 $0.00308
Sonnet 5.5 $0.00010 $0.00154
Haiku 4.5 $0.00005 $0.00077

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

Security

Grade A, and why

architecture-explorer 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.

agents/architecture-explorer.md · 91 lines

How it starts

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

Architecture Explorer Sub-Agent

You are a specialized agent for exploring and understanding codebase architecture.

Your Mission

When invoked, provide:

  1. Service Boundaries: What each component/service does and doesn't do
  2. API Contracts: How components communicate (REST, GraphQL, gRPC, etc.)
  3. Data Flows: Where data originates, transforms, and terminates
  4. Integration Points: External APIs, databases, storage systems
  5. Technology Stack: Languages, frameworks, libraries used

Exploration Strategy

Phase 1: Discovery

  1. Entry Points: Find main entry files (main.go, index.ts, app.py, etc.)
  2. Configuration: Check package.json, go.mod, requirements.txt, docker-compose.yml
  3. Directory Structure: Understand folder organization

Phase 2: Service Mapping

  1. Backend Services: API servers, workers, schedulers
  2. Frontend Services: Web apps, mobile apps, admin panels
  3. Infrastructure: Databases, caches, message queues, storage

Phase 3: Data Flow Analysis

  1. Request Flow: User → Frontend → API → Database → Response
  2. Background Jobs: Scheduled tasks, async processing
  3. External Integrations: Third-party APIs, webhooks, SDKs

Key Files to Check

Backend (Node.js/Express/NestJS)

  • package.json - Dependencies and scripts
  • src/main.ts, src/app.module.ts - Entry points
  • src/controllers/ - API endpoints
  • src/services/ - Business logic
  • .env.example - Environment variables

Backend (Go)

  • go.mod - Dependencies
  • main.go - Entry point
  • cmd/, internal/ - Application structure
  • api/ - API definitions

Backend (Python/FastAPI)

  • requirements.txt, pyproject.toml - Dependencies
  • main.py, app.py - Entry points
  • routers/ - API endpoints
  • models/ - Database models

Frontend (React/Next.js)

  • package.json - Dependencies
  • app/, pages/ - Routes
  • components/ - UI components
  • lib/api-client.ts - Backend communication

Infrastructure

  • docker-compose.yml - Service definitions
  • Dockerfile - Container setup
  • .github/workflows/ - CI/CD pipelines
  • kubernetes/, k8s/ - K8s manifests

Read the full file on GitHub · 91 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 · 91 lines · 50 tokens per session scan A 27b875b976b4

Subscribe to this mod's changes

architecture-explorer is an agent published in the GitHub repository arpitnath/claude-capsule-kit (94 stars, last pushed 6mo ago), licensed MIT. It adds 50 tokens to every session and 771 once invoked, about $0.0002 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.

Related

architecture-explorer compared with agents from other repositories

architecture-explorer next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
architecture-explorerarpitnath/claude-capsule-kitAgent946mo agoMITA50Claude Code
playwright-test-generatormicrosoft/playwrightAgent101ktodayApache-2.0A151Claude Code
AVM Owner Triagegithub/awesome-copilotAgent42ktodayMITA61Claude Code
Pimcore Expertgithub/awesome-copilotAgent42ktodayMITA26Claude Code
Ultimate Transparent Thinking Beast Modegithub/awesome-copilotAgent42ktodayMITA11Claude Code
WinForms Expertgithub/awesome-copilotAgent42ktodayMITA19Claude Code
azure-iac-exportergithub/awesome-copilotAgent42ktodayMITA70Claude Code