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 stefanrossmeier/ai-craftkit --skill mermaiddocgit clone --depth 1 https://github.com/stefanrossmeier/ai-craftkitWrote 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/stefanrossmeier/ai-craftkit/mermaiddoc)<a href="https://agentmods.dev/skills/stefanrossmeier/ai-craftkit/mermaiddoc"><img src="https://agentmods.dev/badge/skills/stefanrossmeier/ai-craftkit/mermaiddoc/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/stefanrossmeier/ai-craftkit/mermaiddoc"><img src="https://agentmods.dev/badge/skills/stefanrossmeier/ai-craftkit/mermaiddoc.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.00048 | $0.01196 |
| Opus 5.5 | $0.00019 | $0.00478 |
| Sonnet 5.5 | $0.00010 | $0.00239 |
| Haiku 4.5 | $0.00005 | $0.00120 |
Grade A, and why
mermaiddoc 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 1mo 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 — 157 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Mermaiddoc Skill
Command: /mermaiddoc
mermaiddoc is a diagram helper, not a repository-documentation workflow.
Use it when a specific document or question is clearer with one focused Mermaid diagram. It may return a Mermaid block for insertion into an existing document, or write/update a file when the user names an output location.
It does not own a default docs/diagrams/ tree and should not create one unless the user explicitly asks for standalone diagram files.
Preferred Diagram Types
Prefer:
flowchart LR
sequenceDiagram
Use flowchart LR for:
- components and dependencies
- request/data/process flow
- module boundaries
- build or deployment flow
- simple decision flow
Use sequenceDiagram for:
- interactions over time
- request/response sequences
- service calls
- retries and important failure paths
- user/system interaction
Use another standard Mermaid diagram only when it is materially better for the requested concept and is likely to render in GitHub.
Do not use Mermaid C4 syntax.
Scope
One diagram should answer one question.
Examples:
- “How does an incoming request reach persistence?”
- “Which modules depend on the domain package?”
- “What happens during token refresh?”
- “How does the worker process a queued job?”
Do not attempt to visualize the entire repository unless the user explicitly requests that scope and the result can remain readable.
Repository Evidence
When the diagram represents repository behavior:
- inspect only the files needed for the requested diagram
- prefer current code/config/tests and existing architecture docs
- use
docs/archdoc/anddocs/adr/as context when present - distinguish inferred relationships from verified ones in surrounding prose when it matters
- do not invent missing components, calls, or rationale to make a diagram look complete
For a purely conceptual diagram supplied by the user, repository inspection is unnecessary.
Diagram Rules
Keep diagrams deliberately small.
What ships with it
2 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.
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.
- 1mo ago Changed · -867 lines · +48 tokens per session af25fa08265a
- 2mo ago First seen · 1,024 lines · 0 tokens per session scan A c994f1255adf
mermaiddoc is a skill published in the GitHub repository stefanrossmeier/ai-craftkit (5 stars, last pushed 4d ago), licensed Apache-2.0. It adds 48 tokens to every session and 1,196 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-08-31.
mermaiddoc compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| mermaiddocstefanrossmeier/ai-craftkit | Skill | 5 | 4d ago | Apache-2.0 | A | 48 | Claude Code, Codex |
| knowledge-generatorpan94u/forge | Skill | 40 | 5d ago | none | A | 35 | Claude Code |
| doc-generatorchainlesschain/chainlesschain | Skill | 11 | yesterday | none | A | 23 | Claude Code |
| code-to-diagramzebbern/claude-code-guide | Skill | 4.7k | 3d ago | MIT | A | 74 | Claude Code, Codex |
| architecture-decision-record-maintainer-skillarchitecture-decision-record/architecture-decision-record | Skill | 17k | 8d ago | none | A | 92 | Claude Code, Codex |
| architecture-decision-record-skillarchitecture-decision-record/architecture-decision-record | Skill | 17k | 8d ago | none | A | 108 | Claude Code, Codex |
| Folio Contentevergreen-it-dev/folio | Skill | 81 | yesterday | MIT | A | 37 | Claude Code, Codex |