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 agentmods add skills/goadesign/model/editing-model-diagramsnpx skills add goadesign/model --skill editing-model-diagramsgit clone --depth 1 https://github.com/goadesign/modelWrote 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/goadesign/model/editing-model-diagrams)<a href="https://agentmods.dev/skills/goadesign/model/editing-model-diagrams"><img src="https://agentmods.dev/badge/skills/goadesign/model/editing-model-diagrams.svg" alt="Measured on agentmods" 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 | $0.00069 | $0.03335 |
| Opus 5 | $0.00034 | $0.01667 |
| Sonnet 5 | $0.00014 | $0.00667 |
| Haiku 4.5 | $0.00007 | $0.00333 |
Grade A, and why
editing-model-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 4d 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 — 314 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Editing Model diagrams
Produce diagrams whose source model is architecturally true and whose rendered views communicate that model without ambiguous ownership.
Prioritize truth, readability, then polish
Use this order when design goals conflict:
- Represent the real ownership, dependencies, directions, and runtime behavior.
- Make that reality readable through the right abstraction level, focused views, deliberate layout, and clear labels.
- Improve visual balance and polish without changing or hiding architectural meaning.
Never omit, reverse, reparent, or relabel architecture merely to make a diagram look cleaner. If a truthful view is unreadable, reduce its question, remove out-of-scope elements, or split it into additional truthful views while keeping the main view representative of the whole system.
Workflow
- Read the model definitions, the affected view, and imported model packages.
- State the one question the view answers and the expected elements, relationships, and boundaries.
- Identify the owner of every element and the source-model relationship for every intended edge.
- Choose the C4 view level that answers the question.
- Preserve published view keys unless the requested change intentionally renames or removes an output.
- Edit Model DSL source. Do not edit generated SVG or JSON output directly.
- Regenerate every affected view.
- Inspect the rendered diagram, not only the compiling DSL.
Preserve ownership
- A
SoftwareSystemowns theContainerelements declared inside it. - A
Containerowns theComponentelements declared inside it. Add,AddDefault,AddAll, and imported packages change view membership; they do not change element ownership.- A deployment node may contain infrastructure nodes, child deployment nodes, and container instances. A container instance represents deployment of its referenced container; it does not transfer software ownership.
- Do not redefine or reparent an element to make a layout easier. Correct the model first, then select and arrange the view.
- A view cannot create a relationship absent from the source model. Do not invent or reverse an edge to complete a desired narrative; report or correct the model contract when evidence supports that change.
- When a repository inventory reports a missing service or element, verify its ownership and typed callers before adding it. Model the real container and relationships; do not add a name-only placeholder merely to satisfy a check.
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.
- 4d ago First seen · 314 lines · 69 tokens per session scan A 147248dbe3d3
editing-model-diagrams is a skill published in the GitHub repository goadesign/model (466 stars, last pushed 14d ago), licensed MIT. It adds 69 tokens to every session and 3,335 once invoked, about $0.0003 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-30.
Other skills, from other repositories
excalidraw-diagram
Create Excalidraw diagrams as editable .excalidraw JSON that make a visual argument — architecture, flowchart, sequence, state, ER, timeline, swimlane, quadrant, loop/flywheel, layers, nested, tree, org chart, venn, pyramid, process, medallion, data flow, IT current-state, evidence/protocol explainers, before/after…
kroki-diagrams
Create clean, readable diagrams using Kroki with a use-case-first selector. Use when the user wants repository-local diagrams for architecture, runtime topology, request flows, dependency graphs, schemas, planning structures, or tree-like repository layouts from code, docs, or natural-language descriptions. Prefer…
kroki-editorial-diagrams
Create premium, responsive, interactive diagrams (flowcharts, sequence, architecture, data models, timing, data visualization) with an elegant editorial design aesthetic. Chooses the optimal layout engine (PlantUML, C4, D2, Mermaid, Graphviz, Structurizr, WaveDrom, Vega-Lite, ERD, BPMN, and more) and exports to…
excalidraw-diagram
Create Excalidraw diagrams as editable .excalidraw JSON that make a visual argument — architecture, flowchart, sequence, state, ER, timeline, swimlane, quadrant, loop/flywheel, layers, nested, tree, org chart, venn, pyramid, process, medallion, data flow, IT current-state, evidence/protocol explainers, before/after…
arch4-mcp
Use Arch4 MCP tools to create, update, build, and visualize repository architecture maps.
architecture-diagram-creator
Create effective architecture diagrams following established diagramming standards (UML, C4, ArchiMate) with proper visual elements and presentation techniques. Use this skill whenever the user needs to create, review, or improve architecture diagrams, wants guidance on which diagramming standard to use, needs help…