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/rivet-dev/actors/creating-docs-diagramsnpx skills add rivet-dev/actors --skill creating-docs-diagramsgit clone --depth 1 https://github.com/rivet-dev/actorsWrote 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/rivet-dev/actors/creating-docs-diagrams)<a href="https://agentmods.dev/skills/rivet-dev/actors/creating-docs-diagrams"><img src="https://agentmods.dev/badge/skills/rivet-dev/actors/creating-docs-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.00036 | $0.01994 |
| Opus 5 | $0.00018 | $0.00997 |
| Sonnet 5 | $0.00007 | $0.00399 |
| Haiku 4.5 | $0.00004 | $0.00199 |
Grade A, and why
creating-docs-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 — 74 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Creating Docs Diagrams
Create literal, responsive raw SVG that fits Rivet's self-hosted perimeter aesthetic.
Scope
- Apply raw SVG conversion only to documentation pages under
website/src/content/docs/**/*.mdx. - Keep every diagram under
website/src/content/cookbook/**as Mermaid. Do not convert cookbook Mermaid to raw SVG, including during a repository-wide diagram cleanup. - Treat posts, changelog entries, and other content trees as out of scope unless the user explicitly names them.
Workflow
- Inventory Mermaid before editing with
rg -n '```mermaid' website/src/content/docsand record every node, boundary, edge direction, edge label, and line break. Do not broaden this search into cookbooks or posts for conversion work. - Choose an architecture pattern for topology and nested deployment boundaries, or a sequence pattern for time-ordered messages between participants.
- Replace each block with literal inline
<svg>...</svg>. Do not use Mermaid, scripts, imported components, external SVGs, or image assets. - Preserve every semantic detail. Keep
<-->bidirectional with markers at both ends,-->directional, nested boundaries intact, and explicit<text>lines for labels that used<br/>. - Give every SVG
role="img"and a concise but completearia-label. Give marker IDs unique, descriptive names per page and SVG. - Start the website preview and screenshot every changed diagram at a desktop viewport and at 390 CSS pixels. In Playwright, pass
viewport, notviewportSize, and assertwindow.innerWidthbefore trusting a mobile capture. Activate every tab so hidden diagrams are also captured. - Keep sticky site chrome out of element screenshots by scrolling the target below it or hiding the chrome only for the capture. For a horizontally scrollable diagram, capture the full diagram at desktop plus its left and right scroll extents at 390px; record
clientWidthandscrollWidthto confirm the screenshots exercise real overflow. - Inspect screenshot pixels, not only DOM bounds. Reject excessive dead space, unnecessarily long arrows, text touching a line, paths crossing unrelated nodes, clipped labels, or inconsistent node styling. Fix and recapture until every diagram passes.
- Run
rg -n '```mermaid|foreignObject|<style' <changed-pages>as appropriate, then run Astro or the website build validation.
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 · 74 lines · 36 tokens per session scan A 7c984ed2bf2e
creating-docs-diagrams is a skill published in the GitHub repository rivet-dev/actors (6,102 stars, last pushed today), licensed Apache-2.0. It adds 36 tokens to every session and 1,994 once invoked, about $0.0002 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
lint-js
Lint JS/TS code only. Use before opening a PR when only JavaScript or TypeScript files were changed (no Rust).
greptimedb-release
Runbook for publishing a new GreptimeDB version (tag + GitHub release + docs release-note PR) on the upstream GreptimeTeam/greptimedb repo. Use when asked to "release" / "publish" a GreptimeDB version (e.g. v1.1.0, v1.0.3).
tuicr
Use tuicr's review CLI to read and add comments in active TUI review sessions, and launch tuicr in cmux, tmux, Zellij, or Herdr when a user needs an interactive review pane.
rust-pro
Master modern Rust (2024 edition) with async patterns, advanced type system features, and production-ready systems programming. Expert in the current Rust ecosystem including Tokio, axum, and modern crates. Use PROACTIVELY for Rust development, performance optimization, or systems programming.
dd-code-generation
Use pup CLI for immediate Datadog operations or generate code for integration into applications.
moli-webfetch
Fetch, inspect, crawl, and capture live, JavaScript-rendered websites with Moli. Use when Codex needs current web content, web research, fact lookup, link following, a bounded crawl, client-rendered or response-gated content, network diagnostics, or a standalone HTML, Markdown, JSON, semantic-tree, viewport or…