kroki-diagrams SKILL.md skillA

kroki-diagrams from smoldrago/kroki-diagrams is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add smoldrago/kroki-diagrams/kroki-diagrams@git:20261027.e02cd22

Pins git:20261027.e02cd22 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
smoldrago/kroki-diagrams
Path
plugins/kroki-diagrams/SKILL.md
Versions recorded
5
Latest version
git:20261027.e02cd22, committed Oct 27, 2026
First version recorded
Mar 10, 2026
Size
10,374 bytes
Repository stars
6
License
MIT

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 this skill when the user wants versionable diagram source and the right engine chosen for the job. Do not use it for generic UI mockups, freeform graphic design, image editing…

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# Kroki Diagrams

Create repository-friendly visual artifacts that stay readable under change. This skill uses Kroki as the renderer when a diagram is the right answer, but starts by choosing the right artifact family for the user’s intent before picking an engine.

## Workflow

1. Read the relevant code, docs, or user description.
2. Choose the use-case category and diagram type using `references/use-case-taxonomy.md`.
3. If the best artifact is a diagram, choose the engine using `references/diagram-selection.md` and `references/engine-matrix.md`.
4. Choose the output location and folder structure using `references/output-placement.md`.
5. Apply the readability rules in `references/style-guide.md`, the engine scaffold in `references/engine-style-templates.md`, and the layout constraints in `references/layout-control.md`.
6. Write the diagram source or structured text artifact.
7. Render it with `scripts/render_kroki_diagram.py` only if it is a Kroki-backed diagram. Pass `--summary "<one line saying what the diagram shows>"` so the gallery card describes it.
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add smoldrago/kroki-diagrams/kroki-diagrams@sha256:a567a4fce5e90bea

The line at the top of this page pins the label git:20261027.e02cd22, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_lfqnprxgevxsin3j.svg)](https://markdownregistry.com/a/art_lfqnprxgevxsin3j)

1 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 5 versions of this file, between Mar 10, 2026 and Oct 27, 2026, about one every 58 days.

versioncommittedcommitsizeaudit
git:20261027.e02cd22 latest2026-10-27 e02cd22 10,374 BA view · diff
git:20261026.5d752ce2026-10-26 5d752ce 9,426 BA view · diff
git:20260704.a74b1952026-07-04 a74b195 9,395 BA view · diff
git:20260310.2e151262026-03-10 2e15126 8,667 BA view · diff
git:20260310.cffa08c2026-03-10 cffa08c 8,566 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (10374 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

smoldrago/kroki-diagrams · 6 stars · license MIT · pushed 2026-10-27 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_lfqnprxgevxsin3j
GET https://markdownregistry.com/api/v1/resolve?ref=smoldrago/kroki-diagrams/kroki-diagrams
GET https://markdownregistry.com/api/v1/blob/a567a4fce5e90bea72cbd087f1c4c0df2272130bc5899f436280cc6ed33386ef

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

Browse by kind, by grade A, or by owner.