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.
npx skills add mendixlabs/mxcli --skill report-architecturegit clone --depth 1 https://github.com/mendixlabs/mxcliWrote 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.
[](https://agentmods.dev/skills/mendixlabs/mxcli/report-architecture)<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.
<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>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.
| Model | Per session | Once 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 |
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.
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
- 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.
- "Dead" needs a second look. Every entry under Unused documents marked
verifynames 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). - 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.
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.
- 9d ago Changed · +5 lines 0e685cafede2
- 16d ago First seen · 100 lines · 72 tokens per session scan A 08c10f2a6f86
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.
report-architecture compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| report-architecturemendixlabs/mxcli | Skill | 145 | yesterday | Apache-2.0 | A | 72 | Claude Code |
| stuckQwenLM/qwen-code | Skill | 31k | today | Apache-2.0 | A | 57 | Claude Code |
| e2e-testingQwenLM/qwen-code | Skill | 31k | today | Apache-2.0 | A | 94 | Claude Code, Codex |
| structured-debuggingQwenLM/qwen-code | Skill | 31k | today | Apache-2.0 | A | 85 | Claude Code, Codex |
| desktop-brand-builderQwenLM/qwen-code | Skill | 31k | today | Apache-2.0 | A | 68 | Claude Code, Codex |
| batch-apiQwenLM/qwen-code | Skill | 31k | today | Apache-2.0 | A | 51 | Claude Code |
| workflow-creatorQwenLM/qwen-code | Skill | 31k | today | Apache-2.0 | A | 49 | Claude Code, Codex |