architecture-breakdown

architecture-breakdown is a skill for Claude Code from autohandai/code-cli. It costs 51 tokens per session (434 once invoked), scanned A, original, Apache-2.0.

A method for mapping an unfamiliar codebase into its modules, entry points, dependencies, data flows, and high-risk areas. It produces a practical guide to where responsibilities and important files live.

In plain words
What is it for?
Use it before a major change, during onboarding, or when you need to explain system structure, module responsibilities, request flows, shared state, and architectural risks.
Why use it?
It reduces the time spent searching through a large or unfamiliar project and helps engineers understand where changes may cross boundaries or cause problems.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Good fit Use it before a major change, during onboarding, or when you need to explain system structure, module responsibilities, request flows, shared state, and architectural risks.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/autohandai/code-cli/architecture-breakdown
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.

Any agent
npx skills add autohandai/code-cli --skill architecture-breakdown
Clone the repo
git clone --depth 1 https://github.com/autohandai/code-cli

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/autohandai/code-cli/architecture-breakdown/github.svg)](https://agentmods.dev/skills/autohandai/code-cli/architecture-breakdown)
Your own site
<a href="https://agentmods.dev/skills/autohandai/code-cli/architecture-breakdown"><img src="https://agentmods.dev/badge/skills/autohandai/code-cli/architecture-breakdown/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-breakdown

Your own site · 80×15
<a href="https://agentmods.dev/skills/autohandai/code-cli/architecture-breakdown"><img src="https://agentmods.dev/badge/skills/autohandai/code-cli/architecture-breakdown.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 51 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 434 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.00051 $0.00434
Opus 5.5 $0.00020 $0.00174
Sonnet 5.5 $0.00010 $0.00087
Haiku 4.5 $0.00005 $0.00043

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

Security

Grade A, and why

architecture-breakdown 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 2mo 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.

src/skills/builtin/architecture-breakdown/SKILL.md · 40 lines

What it actually says

Break the architecture down

Produce a map, not a summary. The reader should be able to open the right file for any responsibility without searching.

Survey

  1. Entry points: binaries, main, CLI commands, HTTP routes, jobs, event handlers. Find them from the build config and manifests, then follow imports.
  2. Layers and boundaries: what talks to what. Note the direction of dependencies and any cycles.
  3. State: where data lives (stores, caches, files), who owns each piece, and how it moves between layers.
  4. Cross-cutting concerns: config, auth, logging, errors, retries, feature flags, i18n.
  5. Hot spots: largest files, most-changed files (git_log --stat style via run_command), most-imported modules. These are where changes hurt.

Write the breakdown

  • One-paragraph shape: what the system is and its top three modules.
  • Module table: module, responsibility, key files, depends on, depended on by, owner if known.
  • Data flow: two or three end-to-end traces from entry point to effect, with file:line references.
  • Boundaries to respect: the seams that keep layers separate and the rules the code already follows.
  • Risks: cycles, god files, duplicated logic, missing tests, hidden global state, with evidence.
  • Where to start for the change the user has in mind.

Keep every claim tied to a path. Mark inferences. Do not propose rewrites unless asked; the breakdown exists so changes fit the structure that is there.

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. 2mo ago First seen · 40 lines · 51 tokens per session scan A dda1e951d10c

Subscribe to this mod's changes

architecture-breakdown is a skill published in the GitHub repository autohandai/code-cli (219 stars, last pushed 4d ago), licensed Apache-2.0. It adds 51 tokens to every session and 434 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-09-15.

Related

architecture-breakdown compared with skills from other repositories

architecture-breakdown next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
architecture-breakdownautohandai/code-cliSkill2194d agoApache-2.0A51Claude Code
neuron-laravel-integrationneuron-core/neuron-aiSkill2.2k3d agoMITA253Claude Code, Codex
neuron-agentneuron-core/neuron-aiSkill2.2k3d agoMITA48Claude Code, Codex
neuron-evaluationneuron-core/neuron-aiSkill2.2k3d agoMITA102Claude Code, Codex
neuron-structured-outputneuron-core/neuron-aiSkill2.2k3d agoMITA104Claude Code, Codex
neuron-ragneuron-core/neuron-aiSkill2.2k3d agoMITA127Claude Code, Codex
neuron-tool-approvalneuron-core/neuron-aiSkill2.2k3d agoMITA103Claude Code, Codex