Home / Claude Code mods / Interface / diagram-mod

diagram-mod

diagram-mod is a Claude Code mod by mustafa89 that show_diagram: animated box-and-arrow explainers in the terminal.

Updated 2026-10-09

What is diagram-mod?

diagram-mod is a Claude Code mod by mustafa89 that show_diagram: animated box-and-arrow explainers in the terminal. It is listed under Interface and has 1 GitHub stars.

TypeClaude code mod
Authormustafa89
Repositorymustafa89/my-claude-code-mods
Popularity1 GitHub stars
CategoryInterface
SecurityLow risk (96/100)
Rank#1,988 of 5,272 Claude Code mods; #795 in Interface
LicenseMIT
Last commit2026-10-09
Stars this week+1
Hooks6 events
Seesmcp__diagram-mod__show_diagram calls
Draws onToolUse, ToolResult, Pane

Is diagram-mod safe to install?

diagram-mod scores 96/100 on the MCPMods security check: Low risk. No checks raised a concern. It passed 7 of 8 checks.

Mod footprints come from claude plugin validate, which lists every event a mod hooks and every API call it makes without running it.

CheckResult
No network accessPass
Starts no processesPass
Writes no files or configPass
Doesn't read environment variablesPass
Only sees the events it hooksPass
Doesn't drive ClaudePass
Validator reported problemsNote
Has an open-source licensePass

API calls in its code

CallWhat it means
$.clock.every
$.tool.registerdrives Claude
$.ui.blitdraws interface
$.ui.closedraws interface
$.ui.invalidatedraws interface
$.ui.opendraws interface
$.ui.resolvedraws interface

How do I install diagram-mod?

  1. Check your Claude Code version. Mods need Claude Code 2.1.287 or later and are on by default.
    claude --version
  2. Read its footprint. This lists every event it hooks and every API call it makes, without running it.
    git clone https://github.com/mustafa89/my-claude-code-mods
    claude plugin validate ./my-claude-code-mods/diagram-mod
  3. Install it. Run this in your terminal, then /reload-plugins in an open session.
    git clone https://github.com/mustafa89/my-claude-code-mods && claude --plugin-dir ./my-claude-code-mods/diagram-mod

Or ask Claude to set it up

Paste this into Claude Code and it installs diagram-mod for you:

Install the "diagram-mod" Claude Code mod from https://github.com/mustafa89/my-claude-code-mods/tree/main/diagram-mod. Run claude plugin validate on it first and show me what it can access before you enable it.

More from mustafa89/my-claude-code-mods

This repository has 6 Claude Code mods on MCPMods.

  • cache-warm: Keeps the prompt cache warm on idle chats with a capped fork ping, and tracks cache hits and misses (Low risk)
  • image-peek: Previews pasted images in colour: above the prompt while drafting, and under the message in the transcript (Review before installing)
  • slick-bar: One-line session bar above the prompt: model, effort, repo, branch, context gauge, prompt cache health, rate limits, cos (Review before installing)
  • tool-cards: Draws tool calls as boxed cards: header, highlighted command, output preview, timing footer (Low risk)
  • week-calendar: /week: weekly calendar of Claude Code and Codex sessions, with commits, no-commit sessions, hours per project and a 3-li (Review before installing)