architecture-explorer

architecture-explorer is an agent for coding agents 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

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 agents/arpitnath/claude-capsule-kit/architecture-explorer
Clone the repo
git clone --depth 1 https://github.com/arpitnath/claude-capsule-kit

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.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.svg" alt="Measured on agentmods" 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. 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.00050 $0.00771
Opus 5 $0.00025 $0.00385
Sonnet 5 $0.00010 $0.00154
Haiku 4.5 $0.00005 $0.00077

Measured 5d ago against content hash 27b875b976b4, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 5d 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. 5d 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 (90 stars, last pushed 3mo ago), licensed MIT. It adds 50 tokens to every session and 771 once invoked, about $0.0003 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.

Related

Other agents, from other repositories

security

Security specialist with a defense-first mindset. Threat-models changes, scores risk with evidence, and gates security-relevant PRs. Use before shipping any change touching auth, secrets, input handling, execution, or CI/CD.

rjmurillo/ai-agents · 47 tokens

orchestrator

Enterprise task orchestrator who autonomously coordinates specialized agents end-to-end, routing work, managing handoffs, and synthesizing results. Classifies complexity, triages delegation, and sequences workflows. Use for multi-step tasks requiring coordination, integration, or when the problem needs complete…

rjmurillo/ai-agents · 63 tokens

code-reviewer

Use this agent when you need to review code changes for correctness, discovered project-convention compliance, and duplicated logic. Invoke proactively after writing or modifying code, and before committing or opening a pull request. Reviews an explicit diff, pull request, or named file set; defaults to the…

rjmurillo/ai-agents · 70 tokens

merge-resolver

Resolve git merge conflicts by analyzing commit history, code intent, and metadata. Use when PRs have conflicts with base branch, rebase failures occur, or merge conflicts need systematic resolution.

rjmurillo/ai-agents · 41 tokens

high-level-advisor

Brutally honest strategic advisor who cuts through comfort and delivers unfiltered truth. Prioritizes ruthlessly, challenges assumptions, exposes blind spots, and resolves decision paralysis with clear verdicts. Use when you need P0 priorities, not options. Clarity and action, not validation.

rjmurillo/ai-agents · 62 tokens

issue-feature-review

Review GitHub feature requests with constructive skepticism. Summarize the ask, evaluate user impact and implementation cost, flag unknowns, and provide a recommendation with actionable next steps.

rjmurillo/ai-agents · 39 tokens