Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/rcarmo/piclaw-addonsnpx agentmods add skills/rcarmo/piclaw-addons/diagram-workflowWrote 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/rcarmo/piclaw-addons/diagram-workflow)<a href="https://agentmods.dev/skills/rcarmo/piclaw-addons/diagram-workflow"><img src="https://agentmods.dev/badge/skills/rcarmo/piclaw-addons/diagram-workflow/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/rcarmo/piclaw-addons/diagram-workflow"><img src="https://agentmods.dev/badge/skills/rcarmo/piclaw-addons/diagram-workflow.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.00020 | $0.01120 |
| Opus 5 | $0.00010 | $0.00560 |
| Sonnet 5 | $0.00004 | $0.00224 |
| Haiku 4.5 | $0.00002 | $0.00112 |
Grade A, and why
diagram-workflow 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 10d 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 — 160 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Diagram Workflow
End-to-end architecture diagram pipeline: define a JSON graph → render SVG → inject into project markdown → rebuild site.
When to use
When creating or updating architecture diagrams for portfolio project pages.
Prerequisites
bunruntimersvg-convert(for PNG previews, optional)- The scripts in this addon's
scripts/directory
Graph JSON spec
Each diagram is a JSON file in _diagrams/{project-id}.json:
{
"title": "Caption below the diagram",
"nodes": [
{
"id": "unique-id",
"label": "Box label",
"sub": "Subtitle text",
"tag": "web",
"column": 0,
"row": 0,
"children": [
{ "id": "child", "label": "Child box", "sub": "detail", "tag": "scripting" }
]
}
],
"edges": [
{ "from": "source-id", "to": "target-id", "label": "optional annotation", "accent": true }
]
}
Semantic tags
| Tag | Use for |
|---|---|
web |
frontends, browsers, UIs |
backend |
servers, APIs, runtimes |
state |
databases, stores, config |
artifacts |
builds, files, models |
processing |
engines, pipelines, transforms |
scripting |
scripting, plugins, extensions |
infra |
containers, VMs, infrastructure |
external |
external services, APIs, providers |
input |
user input, sources, triggers |
output |
results, exports, destinations |
monitor |
monitoring, logging, observability |
Tags control box colours consistently across all diagrams. Use "style": "box-accent" to override.
Layout rules
column(0-based, left-to-right) androw(0-based, top-to-bottom) control placement- Nodes with
childrenget a dashed group container; children render as smaller boxes below the parent - Column width auto-expands when children are wider than
BOX_W - Arrows are orthogonal with rounded corners (r=14), routed to the inner parent rect
Edge guidelines
- Be sparing with labels — only annotate when the relationship isn't obvious
- Use
"accent": truefor the primary data flow path - Use
"color": "#hex"for custom arrow colours
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.
- 10d ago First seen · 160 lines · 20 tokens per session scan A c2b728839614
diagram-workflow is a skill published in the GitHub repository rcarmo/piclaw-addons (23 stars, last pushed today), licensed MIT. It adds 20 tokens to every session and 1,120 once invoked, about $0.0001 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
design-taste-frontend
Anti-slop frontend skill for landing pages, portfolios, and redesigns. The agent reads the brief, infers the right design direction, and ships interfaces that do not look templated. Real design systems when applicable, audit-first on redesigns, strict pre-flight check.
html-artifacts
Author the HTML for a plan artifact, dashboard iframe, or Slack attachment — structure, design plan, available runtime, theming, and craft. Read this before writing HTML for saveplan, outputiframe, or slackattachhtml.
image-to-code
Elite website image-to-code skill for Codex. For visually important web tasks, it must first generate the design image(s) itself, deeply analyze them, then implement the website to match them as closely as possible. In Codex, it must prefer large, readable, section-specific images instead of tiny compressed boards…
brandkit
Premium brand-kit image generation skill for creating high-end brand-guidelines boards, logo systems, identity decks, and visual-world presentations. Trained for minimalist, cinematic, editorial, dark-tech, luxury, cultural, security, gaming, developer-tool, and consumer-app brand systems. Optimized for intentional…
minimalist-ui
Clean editorial-style interfaces. Warm monochrome palette, typographic contrast, flat bento grids, muted pastels. No gradients, no heavy shadows.
skin-creator
Create and apply a two-asset LobsterAI visual skin from the user's style description. Use only when the AI Skin Designer kit supplies the structured skinpack workflow marker; do not use for ordinary theme or image requests.