x9-architecture-scout

x9-architecture-scout is a skill for Claude Code from xonika9/agent-skills. It costs 85 tokens per session (644 once invoked), scanned A, original, MIT.

A read-only review method for examining how a software project is organised. It looks at components, dependencies, data ownership, repeated code, and areas likely to be difficult to change.

In plain words
What is it for?
Auditing a repository or subsystem, finding tightly connected parts and change hotspots, and producing an evidence-based architecture report.
Why use it?
It makes structural problems visible without changing the code, helping developers compare design options before they refactor.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions Claude Code; mentions Codex.

Part of the x9-agent-skills plugin — 18 skills shipped together

Good fit Auditing a repository or subsystem, finding tightly connected parts and change hotspots, and producing an evidence-based architecture report.

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

Made for: Claude Code.

Or install x9-agent-skills, the plugin that ships this one along with the rest of its 18 skills.

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 x9-architecture-scout

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/xonika9/agent-skills/x9-architecture-scout"><img src="https://agentmods.dev/badge/skills/xonika9/agent-skills/x9-architecture-scout.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 85 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 644 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.00085 $0.00644
Opus 5 $0.00043 $0.00322
Sonnet 5 $0.00017 $0.00129
Haiku 4.5 $0.00009 $0.00064

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

Security

Grade A, and why

x9-architecture-scout 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 12d ago.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/test_validate_report.py, scripts/validate_report.py), 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/x9-architecture-scout/SKILL.md · 27 lines

How it starts

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

Architecture scout

Produce a read-only architecture report for a repository or user-named subsystem. This skill is model-invoked in Claude Code and Codex; its portable claim is structural Agent Skills compatibility only. Evidence tier: static.

Inspect component boundaries, dependency direction, ownership of data and behavior, coupling, duplication, change hotspots, and seams. Treat source, configuration, tests, and version history as evidence; distinguish observed facts from inferences. Do not edit production code, refactor, install dependencies, copy an external skill, or change external systems.

Method

Discover codebase-design from the live current-runtime catalog before any project or user/plugin roots that runtime declares. Resolve candidate paths symlink-aware, read the live skill version when one is found, and do not retain, reproduce, or hard-code its machine path. Use its method only to enrich the audit.

If no readable live codebase-design is found, perform the direct baseline audit and mark the method status DEGRADED. If the user requires Matt's exact method, stop with method status BLOCKED; do not substitute an invented version. Read the report contract before creating an HTML report; read x9-diagrams' Mermaid and design references when a diagram is needed.

Follow the repository's report-location convention. When it has none, write one HTML file at docs/architecture-reviews/YYYY-MM-DD-<stable-slug>.html. A same-day fallback audit must not silently replace a prior report: re-read and replace a named existing report only for an explicit update; otherwise choose a non-colliding stable suffix or path, or ask one short question when the report identity matters. The report may recommend a candidate, but it does not implement it; after a selection, hand the decision to ce-plan when available or provide a portable planning handoff.

Evidence and handoff

Run python3 scripts/validate_report.py <report.html> from this skill directory against the actual report. It proves structural and accessibility-contract compliance only. Keep the validator result separate from the actual render status: only a browser check at 1280px and 390px can make rendering PASS; otherwise state DEGRADED or NOT_PROVEN with the missing evidence.

Read the full file on GitHub · 27 lines

Files

What ships with it

4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 12d ago First seen · 27 lines · 85 tokens per session scan A 439fa54ef2f7

Subscribe to this mod's changes

x9-architecture-scout is a skill published in the GitHub repository xonika9/agent-skills (4 stars, last pushed 6d ago), licensed MIT. It adds 85 tokens to every session and 644 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.