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 diagrid-labs/dapr-skills --skill create-diagramgit clone --depth 1 https://github.com/diagrid-labs/dapr-skillsWrote 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/diagrid-labs/dapr-skills/create-diagram)<a href="https://agentmods.dev/skills/diagrid-labs/dapr-skills/create-diagram"><img src="https://agentmods.dev/badge/skills/diagrid-labs/dapr-skills/create-diagram/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/diagrid-labs/dapr-skills/create-diagram"><img src="https://agentmods.dev/badge/skills/diagrid-labs/dapr-skills/create-diagram.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.00050 | $0.02070 |
| Opus 5.5 | $0.00020 | $0.00828 |
| Sonnet 5.5 | $0.00010 | $0.00414 |
| Haiku 4.5 | $0.00005 | $0.00207 |
Grade A, and why
create-diagram 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 5d 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 — 110 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Create a Dapr Diagram
Overview
This skill draws a Dapr diagram as code and exports it to an SVG (and, with Chromium, PNGs) in the user's project. It copies a small engine into a diagrams/ folder, you write one scene file per diagram, and the exporter renders it. The design rules and the layout method are in REFERENCE.md, the engine API in API.md, and specialised topics in topics/. This file is only the workflow.
<skill dir> is the directory that contains this SKILL.md. Relative paths in this file, such as scripts/setup.mjs, resolve from there. <diagramsDir> is the folder you set up below, diagrams by default. Run every command from the project root, because a relative <diagramsDir> resolves against the current directory. Remember the absolute path of the setup.mjs you run: you need it again for refreshes.
Prerequisites
Check before creating any file:
- Node.js 22 or newer: run
node --version. If it is older or missing, tell the user and stop.
Set up
- Pick the folder name:
diagrams, unless the user names another one. - Run
node <skill dir>/scripts/setup.mjs <diagramsDir>and act on the exit code:- 0: created, or already up to date. Missing scaffold files are restored.
- 2: the skill ships a newer engine than the project's copy. Ask the user whether to refresh. On yes, re-run with
--refresh. Scenes andout/are not touched. - 3: the folder exists and is not a create-diagram folder. Ask the user for another folder name and re-run.
- 1: read the message. If the Chromium install failed, continue with SVG only and tell the user. Otherwise fix the cause or report it. Setup prints a "Next: ... --no-browser" hint. It is only a default, so still ask the PNG question below.
- Ask the user once whether they want PNGs for slides. Chromium gives three things: drawings centred in their canvas, a check that labels still fit when Inter is not installed, and light and dark PNGs. On yes, run the setup command again with
--with-browser. On no, you get SVG only. Do not ask again.- Only the
@playwright/test1.56.1 package (about 13 MB) goes into the diagrams folder. The Chromium browser (about 150 MB) downloads once to the per-user Playwright cache and is shared by every project. - npm may print install-scripts warnings during the install (for example about
fsevents). Ignore them. Setup prints "Chromium ready" when it worked. - On Linux the font check needs Arial and Courier-metric fonts, for example the
fonts-liberationpackage. - If the project or a parent folder already has its own
@playwright/test, the engine may use that one. Its Chromium still has to be downloaded, so--with-browseris still needed unlessnpx playwright install chromiumwas already run. - To enable Chromium later, re-run setup with
--with-browser, then re-export (node "<diagramsDir>/_engine/export.mjs") so the PNGs andbbox.jsonare produced.
- Only the
What ships with it
60 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.
- API.md 12 KB
- engine/apis.mjs 3.8 KB runs code
- engine/app.mjs 5.6 KB runs code
- engine/brands.mjs 4.9 KB runs code
- engine/browser.mjs 4.9 KB runs code
- engine/cards.mjs 2.8 KB runs code
- engine/engine.mjs 6.0 KB runs code
- engine/export.mjs 17 KB runs code
- engine/flow.mjs 7.6 KB runs code
- engine/font-guard.mjs 8.0 KB runs code
- engine/fonts/geist-400.woff2 33 KB
- engine/fonts/geist-500.woff2 34 KB
- engine/fonts/geist-600.woff2 34 KB
- engine/fonts/geist-700.woff2 35 KB
- engine/fonts/geist-mono-400.woff2 12 KB
- engine/fonts/geist-mono-500.woff2 13 KB
- engine/fonts/inter-400.woff2 23 KB
- engine/fonts/inter-500.woff2 24 KB
- engine/fonts/inter-600.woff2 24 KB
- engine/fonts/OFL-Geist.txt 4.3 KB
- engine/fonts/OFL-Inter.txt 4.3 KB
- engine/hash.mjs 326 B runs code
- engine/icons.mjs 31 KB runs code
- engine/icons/alibaba-cloud.svg 547 B
- engine/icons/anthropic.svg 271 B
- engine/icons/aws-bedrock.svg 4.2 KB
- engine/icons/aws-dynamodb.svg 5.9 KB
- engine/icons/aws-s3.svg 2.0 KB
- engine/icons/aws-secrets-manager.svg 2.9 KB
- engine/icons/aws-sqs.svg 5.9 KB
- engine/icons/aws.svg 3.4 KB
- engine/icons/azure-app-configuration.svg 2.1 KB
- engine/icons/azure-cosmos-db.svg 2.5 KB
- engine/icons/azure-key-vault.svg 2.2 KB
- engine/icons/azure-service-bus.svg 2.6 KB
- engine/icons/azure-storage.svg 1.1 KB
- engine/icons/azure.svg 2.1 KB
- engine/icons/consul.svg 1.7 KB
- engine/icons/cpp.svg 764 B
- engine/icons/crewai.svg 756 B
- engine/icons/datadog.svg 4.8 KB
- engine/icons/deepseek.svg 2.6 KB
- engine/icons/dotnet.svg 1.1 KB
- engine/icons/etcd.svg 1.8 KB
- engine/icons/firebase.svg 1.1 KB
- engine/icons/fluent-arrow-clockwise.svg 337 B
- engine/icons/fluent-arrow-move.svg 758 B
- engine/icons/fluent-arrow-step-in-right.svg 344 B
- engine/icons/fluent-bot.svg 915 B
- engine/icons/fluent-brain-circuit.svg 1.3 KB
- engine/icons/fluent-certificate.svg 628 B
- engine/icons/fluent-chat.svg 572 B
- engine/icons/fluent-checkmark-circle.svg 384 B
- engine/icons/fluent-clock.svg 349 B
- engine/icons/fluent-cloud-archive.svg 552 B
- engine/icons/fluent-data-scatter.svg 478 B
- engine/icons/fluent-database.svg 1.0 KB
- engine/icons/fluent-dismiss-circle.svg 592 B
- engine/icons/fluent-document-checkmark.svg 553 B
- engine/icons/fluent-document-multiple.svg 606 B
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.
- 5d ago First seen · 110 lines · 50 tokens per session scan A e922cd39bfe9
create-diagram is a skill published in the GitHub repository diagrid-labs/dapr-skills (13 stars, last pushed 5d ago), licensed MIT. It adds 50 tokens to every session and 2,070 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-25.
create-diagram compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| create-diagramdiagrid-labs/dapr-skills | Skill | 13 | 5d ago | MIT | A | 50 | Claude Code |
| visual-planfabiandistler/agents | Skill | 2 | today | none | A | 54 | Claude Code, Codex |
| customer-journey-mapmohitagw15856/pm-claude-skills | Skill | 1.6k | today | MIT | A | 86 | Claude Code, Codex |
| user-research-synthesismohitagw15856/pm-claude-skills | Skill | 1.6k | today | MIT | A | 114 | Claude Code, Codex |
| design-handoff-briefmohitagw15856/pm-claude-skills | Skill | 1.6k | today | MIT | A | 83 | Claude Code |
| architectural-programme-briefmohitagw15856/pm-claude-skills | Skill | 1.6k | today | MIT | A | 109 | Claude Code |
| architecture-client-presentationmohitagw15856/pm-claude-skills | Skill | 1.6k | today | MIT | A | 117 | Claude Code |