draw-c4 SKILL.md skillA

draw-c4 from shibainu0817/draw-c4-skill is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add shibainu0817/draw-c4-skill/draw-c4@git:20261027.bb3fdce

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

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
shibainu0817/draw-c4-skill
Path
skills/draw-c4/SKILL.md
Versions recorded
4
Latest version
git:20261027.bb3fdce, committed Oct 27, 2026
First version recorded
Aug 14, 2026
Size
16,427 bytes
Repository stars
3
License
MIT

Generate or update an interactive architecture diagram from a codebase — one self-contained HTML file with C4-style drill-down levels, pan and zoom, an inspector, and a step-through player for runtime flows. Use this whenever someone wants to see, draw, map, visualise or document how their code fits together — 'diagram my codebase', 'show me the architecture', 'how does a request flow through this', 'make me a C4 diagram', 'something like IcePanel or Structurizr', or asks to refresh an…

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

# draw-c4 — interactive C4 architecture diagrams

Turns a codebase into an explorable diagram: a single HTML file with no build step
and no dependencies, holding up to four levels of detail and a set of animated
runtime flows.

## Find the skill directory first

**Do this once, before any other step.** This skill's files sit wherever it was
installed, which is never the user's working directory. Resolve that location and
use absolute paths from then on — bare relative paths like `scripts/plot.py` will
not resolve:

```bash
SKILL="$(dirname "$(dirname "$(find "${CLAUDE_PLUGIN_ROOT:-/nonexistent}" \
  ~/.claude/skills ~/.agents/skills "$PWD/.claude/skills" \
  -name plot.py -path '*draw-c4*' 2>/dev/null | head -1)")")"
```

That covers every install route — plugin, `npx skills`, and a hand-copied skill
folder at user or project level. Sanity-check it resolved:

```bash
ls "$SKILL/scripts/plot.py" "$SKILL/assets/plot-template.html"
```

Every command below writes `"$SKILL"` for that directory. Keep the quotes; the
path can contain spaces. Read the bundled reference files by absolute path too —
`$SKILL/references/model-schema.md`, `$SKILL/assets/example-model.json`.
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add shibainu0817/draw-c4-skill/draw-c4@sha256:5619dbdb2d4c5908

The line at the top of this page pins the label git:20261027.bb3fdce, 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_xiyqb45k36vg6faw.svg)](https://markdownregistry.com/a/art_xiyqb45k36vg6faw)

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

Versions

The registry has recorded 4 versions of this file, between Aug 14, 2026 and Oct 27, 2026, about one every 25 days.

versioncommittedcommitsizeaudit
git:20261027.bb3fdce latest2026-10-27 bb3fdce 16,427 BA view · diff
git:20261026.58fe9172026-10-26 58fe917 15,965 BA view · diff
git:20260817.d2a174c2026-08-17 d2a174c 13,046 BA view · diff
git:20260814.80f75042026-08-14 80f7504 11,396 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 (16427 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

shibainu0817/draw-c4-skill · 3 stars · license MIT · pushed 2026-10-29 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_xiyqb45k36vg6faw
GET https://markdownregistry.com/api/v1/resolve?ref=shibainu0817/draw-c4-skill/draw-c4
GET https://markdownregistry.com/api/v1/blob/5619dbdb2d4c5908ae5959df8ef1dc25f7ca970ff6dbd2d00a174b729f580414

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.