report-architecture

report-architecture is a skill for Claude Code from mendixlabs/mxcli. It costs 72 tokens per session (1,252 once invoked), scanned A, original, Apache-2.0.

An architecture-report workflow that maps an application's modules and their dependencies. It shows layers, module health, tightly related areas called bounded contexts, cycles, heavily connected modules, and unused documents.

In plain words
What is it for?
Use it to create and render an architecture report, inspect dependency cycles and coupling, identify central or isolated modules, and add team annotations.
Why use it?
It turns a large dependency graph into information a team can inspect when deciding where the design is tangled or where a module may need to be split. The tool measures the graph, while the workflow adds human conclusions.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

Good fit Use it to create and render an architecture report, inspect dependency cycles and coupling, identify central or isolated modules, and add team annotations.

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

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 report-architecture

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/mendixlabs/mxcli/report-architecture"><img src="https://agentmods.dev/badge/skills/mendixlabs/mxcli/report-architecture.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 72 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,252 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.00072 $0.01252
Opus 5.5 $0.00029 $0.00501
Sonnet 5.5 $0.00014 $0.00250
Haiku 4.5 $0.00007 $0.00125

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

Security

Grade A, and why

report-architecture 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.

.claude/skills/mendix/report-architecture/SKILL.md · 105 lines

How it starts

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

Find it fast

sed -n '<from>,<to>p' SKILL.md one section rather than reading the file; ./mxcli syntax <topic> answers how do I write this for a fraction of either.

lines section
29-47 Run it
48-64 Checks before you trust the page
65-82 Reading it
83-99 Annotations file
100-104 Related

Architecture Report

mxcli report architecture turns the catalog's reference graph into a page a team can read: each app module on its layer, module health, the coupling matrix in layer order, bounded contexts (Leiden clusters × modules), god nodes, bridges, entity hotspots, cycles with the exact edges that close them, and unused documents.

The command does the measuring. This skill is the judgement it cannot make.

Run it

# measure once, keep the data
mxcli report architecture -p app.mpr --format json -o docs/architecture/arch.json
# render with a person's names and verdicts, as often as needed
mxcli report architecture --from docs/architecture/arch.json \
  --annotations docs/architecture/notes.yaml -o docs/architecture/architecture.html

Marketplace modules, System and MxTest are outside the app by default — they dominate god nodes and coupling otherwise. --include-marketplace brings them in; --modules A,B or --exclude C choose the app's modules by hand.

Generated code, probes and fixtures inside an app module can dominate the clusters, god nodes and unused list. --exclude-docs 'Shop.FaultProbe*,RestClient.*' (name globs on the qualified name) leaves them out of every figure; the page states how many documents the patterns matched, so a too-wide glob shows.

Checks before you trust the page

  1. Domain versus navigation. Layers, the matrix and cycles use domain edges only; menus, layouts and page links are listed under "Navigation dependencies". The stat "N with navigation counted" shows what the page would claim otherwise — on a 14-module app every module was in one cycle until navigation was split out. Do not "fix" a navigation cycle: the shell links every screen by design.
  2. "Dead" needs a second look. Every entry under Unused documents marked verify names why the graph cannot see a use: a microflow named in a constant (OIDC.GlobalUserProvisioningMicroflow), a snippet in a layout region when the catalog has no layout references, a name in text. Search for the name before deleting anything. Java actions calling a microflow are invisible too (#1819).
  3. Cluster labels are not names. A cluster is labelled by its dominant module and, when that collides, its most central member. Name each one from its members in the annotations file — three clusters all called after one big module is the normal case, not an error.

Read the full file on GitHub · 105 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 Changed · +5 lines 0e685cafede2
  2. 16d ago First seen · 100 lines · 72 tokens per session scan A 08c10f2a6f86

Subscribe to this mod's changes

report-architecture is a skill published in the GitHub repository mendixlabs/mxcli (145 stars, last pushed yesterday), licensed Apache-2.0. It adds 72 tokens to every session and 1,252 once invoked, about $0.0003 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-11-14.

Related

report-architecture compared with skills from other repositories

report-architecture next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
report-architecturemendixlabs/mxcliSkill145yesterdayApache-2.0A72Claude Code
stuckQwenLM/qwen-codeSkill31ktodayApache-2.0A57Claude Code
e2e-testingQwenLM/qwen-codeSkill31ktodayApache-2.0A94Claude Code, Codex
structured-debuggingQwenLM/qwen-codeSkill31ktodayApache-2.0A85Claude Code, Codex
desktop-brand-builderQwenLM/qwen-codeSkill31ktodayApache-2.0A68Claude Code, Codex
batch-apiQwenLM/qwen-codeSkill31ktodayApache-2.0A51Claude Code
workflow-creatorQwenLM/qwen-codeSkill31ktodayApache-2.0A49Claude Code, Codex