architecture-review

architecture-review is a skill for Claude Code, Codex from thixpin/pitway. It costs 0 tokens per session (684 once invoked), scanned A, original, MIT.

A method for assessing how a codebase is organised and how its parts depend on one another. It looks at modules, layers, duplication, responsibilities and coupling between components.

In plain words
What is it for?
Architecture assessments, technical-debt reviews, refactoring plans, and evaluating module boundaries and dependencies.
Why use it?
It shows where the structure makes changes risky or expensive and recommends small improvements instead of a full rewrite.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions CLAUDE.md.

Good fit Architecture assessments, technical-debt reviews, refactoring plans, and evaluating module boundaries and dependencies.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/thixpin/pitway/architecture-review
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 thixpin/pitway --skill architecture-review
Clone the repo
git clone --depth 1 https://github.com/thixpin/pitway

Made for: Claude Code, Codex.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/thixpin/pitway/architecture-review"><img src="https://agentmods.dev/badge/skills/thixpin/pitway/architecture-review.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 684 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.00000 $0.00684
Opus 5 $0.00000 $0.00342
Sonnet 5 $0.00000 $0.00137
Haiku 4.5 $0.00000 $0.00068

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

Security

Grade A, and why

architecture-review 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 9d 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/integrations/common/skills/architecture-review/SKILL.md · 53 lines

How it starts

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

Architecture Review

Judge structure by how safely the system can change, not by resemblance to a textbook pattern. Recommend the smallest set of moves that improves changeability; never propose a rewrite when an incremental path exists.

Scope

Reviews the system — modules, layers, and dependencies across the codebase.

Use for structural assessment: technical debt, module boundaries, coupling, duplication across modules, planning a refactor.

Do not use for:

  • Reviewing a single diff or file for quality — use code-quality-review. The same concerns (DRY, single responsibility) appear in both; the difference is altitude. Within one change, they are that skill's; across modules, they are this one's.
  • Implementing the refactor. This skill produces recommendations; carrying them out is ordinary work under CLAUDE.md.

Method

  1. Map before judging. Identify the modules/layers, what depends on what, and where the domain logic actually lives. Use the dependency direction the code has, not the one the docs claim.
  2. Find where change hurts. Ask of recent or likely changes: how many places must be touched? Files that always change together but live far apart, or single files that change for unrelated reasons, mark the real problems.
  3. Diagnose against the checklist below.
  4. Recommend minimally. Each recommendation: the problem, the concrete evidence (files/modules), the smallest fix, and what it unblocks. Order by pain relieved per effort. Explicitly list what should be left alone.

Checklist

Duplication

  • Same business rule or knowledge implemented in multiple places (the dangerous kind — they drift apart).
  • Copy-paste variants of one workflow differing only in details that should be parameters.
  • Do not flag incidental similarity between things that change for different reasons; merging those creates coupling, not reuse.

Single responsibility

  • Modules or classes that change for unrelated reasons (e.g., a "service" doing validation, persistence, formatting, and notifications).
  • God objects most of the codebase imports; files disproportionately large for their layer.

Read the full file on GitHub · 53 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. 9d ago First seen · 53 lines · 0 tokens per session scan A d3c79781c122

Subscribe to this mod's changes

architecture-review is a skill published in the GitHub repository thixpin/pitway (19 stars, last pushed 2d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 684 tokens. 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.