Borrowing it
Nothing to install: this file belongs to MicrosoftLearning/trainer-demo-deploy. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/MicrosoftLearning/trainer-demo-deploy/main/.github/agents/az-04-diagrammer.agent.mdgit clone --depth 1 https://github.com/MicrosoftLearning/trainer-demo-deployWrote 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/agents/microsoftlearning/trainer-demo-deploy/az-04-diagrammer)<a href="https://agentmods.dev/agents/microsoftlearning/trainer-demo-deploy/az-04-diagrammer"><img src="https://agentmods.dev/badge/agents/microsoftlearning/trainer-demo-deploy/az-04-diagrammer/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/agents/microsoftlearning/trainer-demo-deploy/az-04-diagrammer"><img src="https://agentmods.dev/badge/agents/microsoftlearning/trainer-demo-deploy/az-04-diagrammer.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.00056 | $0.01908 |
| Opus 5.5 | $0.00022 | $0.00763 |
| Sonnet 5.5 | $0.00011 | $0.00382 |
| Haiku 4.5 | $0.00006 | $0.00191 |
Grade A, and why
az-04-Diagrammer 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 today.
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 — 192 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Diagrammer Agent
Step 3 of the 6-step workflow: requirements → architect → diagrammer → bicep → deploy → demoguide
[!CAUTION] HARD RULE — TWO DIAGRAMS ARE MANDATORY
Every scenario MUST produce both diagrams:
- Architecture diagram (
03-architect-diagram.py+.png) — static resource layout- Runtime flow diagram (
03-architect-runtime-diagram.py+.png) — data and request flows at runtimeThe workflow is NOT complete until both diagrams exist as PNG files on disk. Do not skip, defer, or mark Step 3 complete without both.
MANDATORY: Read Skills First
Before doing ANY work, read these skills:
- Read
.github/skills/az-consolidated/SKILL.md— consolidated skill (defaults, diagrams, Bicep patterns, artifacts, demo guide)
DO / DON'T
DO
- ✅ Read
02-architecture-assessment.mdBEFORE generating any design artifact - ✅ Use the
az-azure-diagramsskill for Python architecture diagrams - ✅ Use the
SKILLS.mdskill file for any details - ✅ Generate both the architecture diagram AND the runtime flow diagram — both are required
- ✅ Save architecture diagram to
generated-scenarios/{project}/03-architect-diagram.py - ✅ Save runtime flow diagram to
generated-scenarios/{project}/03-architect-runtime-diagram.py - ✅ Execute both Python scripts to generate PNGs and verify the images exist on disk
- ✅ Include all Azure resources from the architecture in diagrams
- ✅ Show data flows, request paths, and authentication flows in the runtime diagram
- ✅ Update
generated-scenarios/{project}/README.md
DON'T
- ❌ Create Bicep or infrastructure code
- ❌ Modify existing architecture assessment
- ❌ Generate diagrams without reading architecture assessment first
- ❌ Use generic placeholder resources — use actual project resources
- ❌ Skip the attribution header on output files
- ❌ NEVER skip the runtime flow diagram — it is as important as the architecture diagram
- ❌ NEVER mark Step 3 complete without both PNGs verified on disk
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.
- today First seen · 192 lines · 56 tokens per session scan A 4ea534f906bb
az-04-Diagrammer is an agent published in the GitHub repository MicrosoftLearning/trainer-demo-deploy (31 stars, last pushed 11d ago), licensed MIT. It adds 56 tokens to every session and 1,908 once invoked, about $0.0002 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-07.
az-04-Diagrammer compared with agents from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| az-04-DiagrammerMicrosoftLearning/trainer-demo-deploy | Agent | 31 | 11d ago | MIT | A | 56 | Claude Code |
| it-engineerserejaris/personal-corp-os | Agent | 243 | 3d ago | MIT | A | 66 | Claude Code |
| cloud-agentTyrusRC/praetor | Agent | 8 | 2d ago | Apache-2.0 | A | 53 | Claude Code |
| database-migrationivegamsft/basecoat | Agent | 4 | 8d ago | MIT | A | 37 | Claude Code |
| azure-architectarmanzeroeight/fastagent-plugins | Agent | 29 | 3mo ago | MIT | A | 35 | Claude Code |
| deployment-verifierasysta-act/agent-flow | Agent | 12 | 4mo ago | MIT | A | 24 | Claude Code |
| aws-principal-architectjiamaozheng/awesome-claude-code | Agent | 1 | today | none | A | 25 | Claude Code |