claude-code-power-config: Agent for Claude Code

.claude/agents/architecture-explainer.md

architecture-explainer is an agent for Claude Code from AlexisBalayre/claude-code-power-config. It costs 88 tokens per session (883 once invoked), scanned A, original, MIT.

An architecture explanation agent for answering questions about how a software system is divided and how its parts exchange data.

In plain words
What is it for?
It helps explain service structure, message flow, provider selection, session lifecycles, authentication, and interactions across services.
Why use it?
It gives explanations grounded in the project’s documentation and code instead of guessing about service boundaries, sessions, authentication, or scaling.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter.

This is AlexisBalayre/claude-code-power-config's own configuration. It tells Claude Code how to work on claude-code-power-config 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 claude-code-power-config configures →

Reuse

Borrowing it

Nothing to install: this file belongs to AlexisBalayre/claude-code-power-config. 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/AlexisBalayre/claude-code-power-config/main/.claude/agents/architecture-explainer.md
Clone the repo
git clone --depth 1 https://github.com/AlexisBalayre/claude-code-power-config

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

README.md
[![agentmods](https://agentmods.dev/badge/agents/alexisbalayre/claude-code-power-config/architecture-explainer.svg)](https://agentmods.dev/agents/alexisbalayre/claude-code-power-config/architecture-explainer)
Your own site
<a href="https://agentmods.dev/agents/alexisbalayre/claude-code-power-config/architecture-explainer"><img src="https://agentmods.dev/badge/agents/alexisbalayre/claude-code-power-config/architecture-explainer.svg" alt="Measured on agentmods" height="20"></a>
Per session 88 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 883 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.00088 $0.00883
Opus 5 $0.00044 $0.00441
Sonnet 5 $0.00018 $0.00177
Haiku 4.5 $0.00009 $0.00088

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

Security

Grade A, and why

architecture-explainer 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 6d 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/agents/architecture-explainer.md · 51 lines

How it starts

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

Architecture Explainer

Answer architecture questions about the Acme monorepo grounded in project documentation. Do NOT invent architecture. Every claim must trace to a file in docs/explanation/, docs/reference/, docs/conventions/, or code reachable via Grep/Read.

1. Route by Question Type

Pick the primary doc(s) to read based on what the user is asking. For cross-cutting questions, start with docs/reference/backend-architecture.md for the topology, then drill down.

Question pattern Primary doc Cross-reference
"Why three services?" / service split / topology docs/explanation/system-architecture.md docs/reference/backend-architecture.md
Realtime message flow, Gateway ↔ Session Engine handoff docs/reference/backend-architecture.md docs/conventions/services.md
Provider/Channel selection, factory + YAML registry docs/conventions/services.md docs/explanation/system-architecture.md
Session lifecycle, state machine, affinity, discovery, TTLs docs/conventions/services.md docs/reference/backend-architecture.md
Auth methods, sessions, tokens, JWT, service-to-service docs/explanation/security-model.md docs/conventions/backend.md
Schema, migrations, partitioning, indexes docs/conventions/backend.md docs/reference/backend-architecture.md
API shape, Hono routes, layering, OpenAPI docs/conventions/backend.md docs/reference/backend-architecture.md
Frontend structure, routing, data fetching docs/reference/frontend-architecture.md docs/conventions/frontend.md

Read the full file on GitHub · 51 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. 6d ago First seen · 51 lines · 88 tokens per session scan A a5761d124be3

Subscribe to this mod's changes

architecture-explainer is an agent published in the GitHub repository AlexisBalayre/claude-code-power-config (2 stars, last pushed 26d ago), licensed MIT. It adds 88 tokens to every session and 883 once invoked, about $0.0004 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.

Related

Other agents, from other repositories

code-reviewer

A code-review agent that checks whether changes follow their specification and assesses code quality, security, maintainability, and performance. It reports findings with severity levels and file-and-line references.

sangrokjung/claude-forge · 96 tokens

planner

An agent that creates plans for complex coding, architecture, or multi-step refactoring work. It interviews the user, examines the codebase, and proposes a short plan with acceptance criteria, without implementing the changes.

sangrokjung/claude-forge · 112 tokens

architect

A software-architecture analysis agent that examines how a codebase is structured and records design decisions. C4 diagrams show a system at several levels, while ADRs are short records explaining why a design choice was made.

sangrokjung/claude-forge · 112 tokens

escalation-fixer

Last-resort fixer in the debugging escalation chain (build-error-resolver -> systematic-debugger -> rca-debugger -> escalation-fixer), invoked when narrower-scoped fixes have failed: most commonly when verify-loop retries and build-error-resolver could not resolve a build/type error, or when rca-debugger's long-term…

sangrokjung/claude-forge · 118 tokens

rca-debugger

Root-cause analyzer for complex multi-system failures — the third stage of the debugging escalation chain (build-error-resolver → systematic-debugger → rca-debugger → escalation-fixer). Escalation from systematic-debugger when the bisect is inconclusive, there is a CI-vs-local discrepancy, the bug is flaky, or the…

sangrokjung/claude-forge · 118 tokens

security-reviewer

A read-only security review agent that checks code for common web risks, exposed secrets, unsafe input handling, authentication and authorization problems, and dependency issues. OWASP Top 10 is a widely used list of major web application security risks.

sangrokjung/claude-forge · 95 tokens