karpathy-graph-visualize skillA
karpathy-graph-visualize is agent-read markdown (skill) from andersonlimahw/lemon-ai-hub: Render a karpathy-graph for humans — an interactive HTML explorer, a Mermaid diagram for docs and PRs, and a health report — then explain what the picture actually shows. Use when the user asks to see, visualize, draw, or open the graph, wants a diagram for documentation, or asks what the graph looks like..
Indexed from public GitHub and served as immutable, content-addressed versions. Install it pinned to an exact SHA-256 with the mdr CLI, and every file is verified against the hash recorded here before it reaches your agent. The deterministic audit below grades the latest version, and the same file always earns the same grade.
What the file says
# Visualize
The graph is machine memory. This is the part humans read.
Agents query subgraphs; a human needs to see the shape — where the clusters
are, what is disconnected, which nodes carry the structure, where provenance is
thin.
## Render
```bash
KG="${CLAUDE_PLUGIN_ROOT:-plugins/karpathy-graph}/scripts/kgraph.py"
python3 "$KG" --name "<graph>" render
```
Three artifacts, one command:
| File | For | Notes |
|---|---|---|
| `graph.html` | exploring | self-contained, no network, no dependencies |
| `graph.mmd` | docs and PRs | Mermaid; renders on GitHub |
| `REPORT.md` | reviewing | health, composition, violations |
Run this after **every** build. A stale `graph.html` is worse than none — a
human will trust it.
## The HTML explorer
Open it directly in a browser:
```bash
open ./.karpathy-graphs/<slug>/graph.html # macOS
xdg-open ./.karpathy-graphs/<slug>/graph.html # Linux
```
It embeds the graph data inline, so it works offline and can be attached to an
issue or emailed.
What it does:
- **Header pills** — nodes, edges, components, invariant violations. The
violations pill turns red when non-zero.
…Read the whole file at its exact version.
How to install
mdr add andersonlimahw/lemon-ai-hub/karpathy-graph-visualize@v1.0.0mdr add andersonlimahw/lemon-ai-hub/karpathy-graph-visualize@sha256:8d4a766ce64e732ePin to a label to follow the author's releases, or to a sha256 to freeze the exact bytes forever. Either way the resolved hash is written to mdr.lock, and mdr install reproduces it on any machine.
[](https://markdownregistry.com/a/art_7ulaf6uhqpul73zk)
1 badge views in 30 days
Versions
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (4033 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
andersonlimahw/lemon-ai-hub · 14 stars · license none · pushed 2026-09-20 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_7ulaf6uhqpul73zk GET https://markdownregistry.com/api/v1/resolve?ref=andersonlimahw/lemon-ai-hub/karpathy-graph-visualize GET https://markdownregistry.com/api/v1/blob/8d4a766ce64e732e7334ef3ee2d5c4fc767641a50c2ea4ac23e700b206e5f207
Your agent 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.