diagram skillA
diagram is agent-read markdown (skill) from yeachan-heo/oh-my-claudecode: Use the smallest visual when prose must carry structure—control flow, call depth, module ownership, or change shape: pseudocode, call tree, component/file tree, Mermaid diagram, or diff. Skip it when prose already answers the question..
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
**Diagrams are load-bearing, not decoration.** Reach for one only when prose forces the reader to hold a whole shape in their head at once — then pick the smallest view that lets them see the shape instead of reconstructing it from sentences. Everything here renders in the conversation as text blocks or Mermaid; at most one artifact file is ever written.
## The vocabulary
Pick one view; two at most. More is noise.
**Pseudocode** — logic without language noise. Reduces a decision to its branching shape:
```text
on(request)
if state file locked by another writer
queue and return pending
acquire lock
write
release
```
**Call tree** — runtime control flow. Depth shows who owns the flow; annotate where the interesting edge is:
```text
acquireStateFileLockSync()
resolveLockPath()
openExclusive()
writePid()
```
**Component tree** — UI or module structure, with the boundaries that matter annotated inline:
```tsx
<SettingsPage> (src/routes/settings)
<SessionList> (owns its fetches)
<DangerZone>
<ConfirmButton> (disabled until typed confirmation)
```
**File tree** — where responsibility lives; keep it shallow, one annotation per directory:
```text
src/
…Read the whole file at its exact version.
How to install
mdr add yeachan-heo/oh-my-claudecode/diagram@git:20260912.85ca3bcmdr add yeachan-heo/oh-my-claudecode/diagram@sha256:13e51a5ccc2e4e2fPin 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_np7qfrmk6v6kaqw5)
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 (3604 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
yeachan-heo/oh-my-claudecode · 39,312 stars · license MIT · pushed 2026-09-23 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_np7qfrmk6v6kaqw5 GET https://markdownregistry.com/api/v1/resolve?ref=yeachan-heo/oh-my-claudecode/diagram GET https://markdownregistry.com/api/v1/blob/13e51a5ccc2e4e2f585342f879277b415ef6d5cfa0aee137feea9daabc48d278
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.
More from yeachan-heo/oh-my-claudecode
Every file in yeachan-heo/oh-my-claudecode