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 bharathgnana/archdiagram --skill skillgit clone --depth 1 https://github.com/bharathgnana/archdiagramWrote 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/bharathgnana/archdiagram/skill)<a href="https://agentmods.dev/skills/bharathgnana/archdiagram/skill"><img src="https://agentmods.dev/badge/skills/bharathgnana/archdiagram/skill/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/bharathgnana/archdiagram/skill"><img src="https://agentmods.dev/badge/skills/bharathgnana/archdiagram/skill.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.00085 | $0.01071 |
| Opus 5 | $0.00043 | $0.00535 |
| Sonnet 5 | $0.00017 | $0.00214 |
| Haiku 4.5 | $0.00009 | $0.00107 |
Grade A, and why
architecture-diagrams 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 — 107 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Architecture Diagrams (vendor-icon)
Translate an architecture description into a small JSON spec, then render it
with the archdiagram engine. Nodes become the real vendor service icons, not
labelled boxes.
Workflow
- [ ] 1. Read the architecture (text, image, or existing diagram)
- [ ] 2. Map each component to a catalog service id (search the catalog)
- [ ] 3. Write the JSON spec (nodes, edges, groups)
- [ ] 4. Validate the spec
- [ ] 5. Render to the requested format(s)
Setup (once)
git clone https://github.com/bharathgnana/archdiagram.git
cd archdiagram
python -m tools.download_icons # fetch vendor icons into ./icons (not committed)
cd node && npm install && cd .. # optional: enables PDF + crisp raster icons
The Python core is stdlib-only. Node is only needed for .pdf and for
rasterising SVG icons into .vsdx/.pdf.
Step 2: find service ids
python -m archdiagram.cli catalog search "kubernetes"
python -m archdiagram.cli catalog list --vendor azure
A service id is "<vendor>.<service_key>", e.g. azure.aks, aws.s3,
gcp.cloud_run. Unknown ids still render as a clean vendor-accented fallback
box, so prefer the closest real id and proceed.
Step 3: spec format
{
"title": "Web platform on Azure",
"direction": "LR",
"groups": [
{ "id": "app", "label": "Application tier", "vendor": "azure" }
],
"nodes": [
{ "id": "web", "service": "azure.app_service", "label": "Web App", "group": "app" },
{ "id": "aks", "service": "azure.aks", "label": "AKS", "group": "app" },
{ "id": "kv", "service": "azure.key_vault", "label": "Key Vault" }
],
"edges": [
{ "source": "web", "target": "aks", "label": "api" },
{ "source": "aks", "target": "kv", "label": "secrets" }
]
}
Rules:
direction:LR,RL,TB, orBT(defaultLR).nodes[].service: required,"<vendor>.<service_key>".nodes[].group: optional; must match agroups[].id.nodes[].x/nodes[].y: optional explicit coordinates (override auto-layout).edges[].source/target: must reference node ids.directeddefaults true.- Layout is automatic and deterministic; only set coordinates to override.
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 First seen · 107 lines · 85 tokens per session scan A 7a394e36449e
architecture-diagrams is a skill published in the GitHub repository bharathgnana/archdiagram (3 stars, last pushed 2mo ago), licensed MIT. It adds 85 tokens to every session and 1,071 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.
Other skills, from other repositories
azure-diagrams
Comprehensive technical diagramming toolkit for solutions architects, presales, and developers. Creates Azure architecture diagrams (800+ Azure service icons), business process flows (swimlanes, workflows), ERD diagrams (database schemas), project timelines, UI wireframes, and network topology diagrams. Perfect for…
drawio-aws
Use when the user asks for an AWS architecture diagram — VPC/networking, event-driven, landing zone, multi-AZ, serverless pipeline, or any diagram built with AWS service icons. Builds with the declarative layout engine using ground-truth mxgraph.aws4 stencils, validates (stencils/colors/nesting/geometry), runs a…
aws-architecture-diagram
AWS architecture diagrams — generate visual network topology diagrams from live AWS infrastructure. Use when drawing AWS network diagrams, visualizing VPCs, mapping Transit Gateway topology, or generating architecture documentation.
drawio-gcp
Use when the user asks for a GCP or Google Cloud architecture diagram — VPC/networking, GKE, Cloud Run, landing zone, multi-region, or any diagram built with GCP service icons. Builds with the declarative layout engine using ground-truth GCP stencils, validates (stencils/colors/nesting/geometry), runs a render-based…
drawio-azure
Use when the user asks for an Azure architecture diagram — VNet/networking, App Service, AKS, landing zone, multi-region, or any diagram built with Azure service icons. Builds with the declarative layout engine using ground-truth Azure stencils, validates (stencils/colors/nesting/geometry), runs a render-based vision…
aws-architecture-diagram
Generate validated AWS architecture diagrams as draw.io XML using official AWS4 icon libraries. Use this skill whenever the user wants to create, generate, or design AWS architecture diagrams, cloud infrastructure diagrams, or system design visuals. Also triggers for requests to visualize existing infrastructure from…