architectural-analysis

architectural-analysis is a skill for Claude Code, Codex from NickCrew/Claude-Cortex. It costs 180 tokens per session (4,178 once invoked), scanned A, original, MIT.

User-triggered deep architectural analysis of a codebase or scoped subtree across eight modes — information architecture, data flow, integration points, UI surfaces, interaction patterns, data model, control flow, and failure modes. This skill should be used when the user asks to "diagram this codebase," "map the…

Skill for Claude CodeCodex

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 skills/nickcrew/claude-cortex/architectural-analysis
Any agent
npx skills add NickCrew/Claude-Cortex --skill architectural-analysis
Clone the repo
git clone --depth 1 https://github.com/NickCrew/Claude-Cortex

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 architectural-analysis

README.md
[![agentmods](https://agentmods.dev/badge/skills/nickcrew/claude-cortex/architectural-analysis.svg)](https://agentmods.dev/skills/nickcrew/claude-cortex/architectural-analysis)
Your own site
<a href="https://agentmods.dev/skills/nickcrew/claude-cortex/architectural-analysis"><img src="https://agentmods.dev/badge/skills/nickcrew/claude-cortex/architectural-analysis.svg" alt="Measured on agentmods" height="20"></a>
Per session 180 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,178 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin unknown 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.00180 $0.04178
Opus 5 $0.00090 $0.02089
Sonnet 5 $0.00036 $0.00836
Haiku 4.5 $0.00018 $0.00418

Measured today against content hash 4104d3f58332, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

architectural-analysis 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 today.

The scan reads SKILL.md. This mod also ships 4 executable files (scripts/compile-html.sh, scripts/compile-pdf.sh, scripts/render.sh, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

skills/architectural-analysis/SKILL.md · 261 lines

How it starts

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

Architectural Analysis

Overview

Produce diagram-first architectural reports for a codebase or a scoped subtree. The primary artifact is a set of mermaid diagrams under docs/architecture/<report-date>/<mode>/, accompanied by markdown reports that resolve every callout to a path:line citation. Every node and every edge in every diagram is grounded in the source — no exceptions outside the explicit synthesized-concept escape hatch.

When to use

Trigger this skill when the user asks for:

  • A full architectural snapshot of a codebase ("run a full architectural analysis")
  • A scoped diagram of a subsystem ("diagram the data flow through <path>")
  • A specific mode by name ("ERD for this app", "where are the failure modes in <path>", "map the integration points")

Do not trigger for:

  • Pure prose explanations with no diagram requirement (use code-explanation)
  • New-system design from a blank page (use system-design)
  • Single-file walkthroughs (use diffity-tour)

Modes

Eight analysis modes. Each has its own callout prefix, primary mermaid diagram type, and dedicated reference file in references/.

Mode Prefix Primary diagram Reference
Information architecture I- graph TD (module hierarchy) or C4 container references/mode-information.md
Data flow D- flowchart LR + sequenceDiagram per critical path references/mode-data-flow.md
Integrations X- C4 context boundary references/mode-integrations.md
UI surfaces U- route tree + component graph references/mode-ui-surfaces.md
Interaction patterns P- graph TD per-surface pattern decomposition references/mode-interaction-patterns.md
Data model M- erDiagram references/mode-data-model.md
Control flow C- stateDiagram-v2 + sequenceDiagram references/mode-control-flow.md
Failure modes F- annotated flowchart with error edges references/mode-failure-modes.md

Callout IDs are stable across modes — I-12 referenced from a data-flow report points to the same physical node in the IA diagram. The cross-mode index in the synthesis README binds them.

Read the full file on GitHub · 261 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. today First seen · 261 lines · 180 tokens per session scan A 4104d3f58332

Subscribe to this mod's changes

architectural-analysis is a skill published in the GitHub repository NickCrew/Claude-Cortex (37 stars, last pushed 2mo ago), licensed MIT. It adds 180 tokens to every session and 4,178 once invoked, about $0.0009 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-09-03.

Related

Other skills, from other repositories

bug-triage

Read all open bugs in production/qa/bugs/, re-evaluate priority vs. severity, assign to sprints, surface systemic trends, and produce a triage report. Run at sprint start or when the bug count grows enough to need re-prioritization.

Donchitos/Claude-Code-Game-Studios · 59 tokens

solid-principles

SOLID principles checklist with Java examples. Use when a class has too many responsibilities, an abstraction leaks, or a dependency points the wrong way, and when the user asks about Single Responsibility, Open/Closed, Liskov, Interface Segregation or Dependency Inversion. For naming, duplication and method length…

decebals/claude-code-java · 73 tokens

dotnet-testing-advanced-testcontainers-nosql

Testcontainers NoSQL 整合測試完整指南。當需要對 MongoDB 或 Redis 進行容器化整合測試時使用。涵蓋 MongoDB 文件操作、Redis 五種資料結構、Collection Fixture 模式。包含 BSON 序列化、索引效能測試、資料隔離策略與容器生命週期管理。 Make sure to use this skill whenever the user mentions Testcontainers MongoDB, Testcontainers Redis, NoSQL integration test, BSON serialization, or Redis data structure…

kevintsengtw/dotnet-testing-agent-skills · 191 tokens

cad-executor-contract

Internal role contract, preloaded into every cad-executor rung agent. Not a user command.

crenshawdev/cadence · 24 tokens

arch-audit

Audit Claude Code architecture files against Anthropic docs and release notes, and verify internal ecosystem consistency. Run on demand to maintain compliance, catch new features, and keep the context system clean.

marcoguillermaz/Tierward · 41 tokens

cad-capture

Capture a phase-linked todo, a seed idea for a future milestone, or a note, without losing your place - .planning/CAPTURE.md, or --cadence for friction with Cadence itself.

crenshawdev/cadence · 44 tokens