ix-architecture-auditor

ix-architecture-auditor is an agent for Claude Code from ix-infrastructure/ix-claude-plugin. It costs 39 tokens per session (1,082 once invoked), scanned A, original, Apache-2.0.

An architecture review agent that evaluates a software project’s structure using its dependency graph rather than reading the source code.

In plain words
What is it for?
Use it to find coupling, cohesion problems, architectural smells, weakly connected components, and high-risk hotspots in a codebase.
Why use it?
It highlights tangled dependencies, unclear module boundaries, isolated files, and components with too many responsibilities. This gives you a ranked structural review before investigating individual implementations.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md).

Part of the ix-memory plugin — 7 skills, 5 agents, 4 hooks shipped together

Good fit Use it to find coupling, cohesion problems, architectural smells, weakly connected components, and high-risk hotspots in a codebase.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/ix-infrastructure/ix-claude-plugin/ix-architecture-auditor
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.

Clone the repo
git clone --depth 1 https://github.com/ix-infrastructure/ix-claude-plugin

Made for: Claude Code.

Or install ix-memory, the plugin that ships this one along with the rest of its 7 skills, 5 agents, 4 hooks.

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 ix-architecture-auditor

README.md
[![agentmods](https://agentmods.dev/badge/agents/ix-infrastructure/ix-claude-plugin/ix-architecture-auditor/github.svg)](https://agentmods.dev/agents/ix-infrastructure/ix-claude-plugin/ix-architecture-auditor)
Your own site
<a href="https://agentmods.dev/agents/ix-infrastructure/ix-claude-plugin/ix-architecture-auditor"><img src="https://agentmods.dev/badge/agents/ix-infrastructure/ix-claude-plugin/ix-architecture-auditor/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 ix-architecture-auditor

Your own site · 80×15
<a href="https://agentmods.dev/agents/ix-infrastructure/ix-claude-plugin/ix-architecture-auditor"><img src="https://agentmods.dev/badge/agents/ix-infrastructure/ix-claude-plugin/ix-architecture-auditor.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 39 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,082 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.00039 $0.01082
Opus 5 $0.00019 $0.00541
Sonnet 5 $0.00008 $0.00216
Haiku 4.5 $0.00004 $0.00108

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

Security

Grade A, and why

ix-architecture-auditor 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.

agents/ix-architecture-auditor.md · 139 lines

How it starts

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

You are an architectural analysis agent. Your job is to identify structural issues, rank them by severity, and produce actionable improvement suggestions — all from graph data. Never read source code. Every finding must be backed by a metric.

Reasoning loop

Work from broad to narrow. Each layer narrows the scope of concern.

Step 1 — System structure

Run in parallel:

ix subsystems --format llm
ix subsystems --list --format llm

Build the region hierarchy. Flag immediately:

  • crosscut_score > 0.1 → cross-cutting concern (files belonging to multiple systems)
  • confidence < 0.6 → fuzzy boundary (system boundaries are unclear)
  • external_coupling significantly higher than cohesion → module calls out more than it calls within

Sort regions: worst health first.

Step 2 — Smell detection

ix smells --format llm

Classify each smell:

  • orphan — files with no significant connections (dead code, isolation debt)
  • god-module — files with too many chunks or too high fan-in/out (too much responsibility)
  • weak-component — weakly connected files (loosely held together, artificial grouping)

Step 3 — Hotspot analysis (only if smells found or coupling is high)

Run only when Phase 1 or 2 reveals significant issues:

ix rank --by dependents --kind class    --top 10 --exclude-path test --format llm
ix rank --by callers    --kind function --top 10 --exclude-path test --format llm

Correlate: components that are both highly central and in poorly-bounded subsystems are the highest-risk change targets.

Step 4 — Deep dive on worst offender (optional, only if there's one obvious problem area)

If Step 1–3 identify one region as clearly the worst:

ix subsystems <region> --explain
ix smells --format llm

ix smells is repo-wide only. Filter the results by path prefix after retrieval for the region being audited.

Hard limit: One region. Do not audit every subsystem — identify the worst and analyze that.

Read the full file on GitHub · 139 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 · 139 lines · 39 tokens per session scan A 5213d87e20ab

Subscribe to this mod's changes

ix-architecture-auditor is an agent published in the GitHub repository ix-infrastructure/ix-claude-plugin (7 stars, last pushed today), licensed Apache-2.0. It adds 39 tokens to every session and 1,082 once invoked, about $0.0002 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.