ClaudeCodeMod

All shelves / Mods / Review

diagram-pane

By potto007

diagram-pane is a Claude Code review mod by potto007.

Pins each mermaid or ASCII diagram Claude draws in a side pane, keeps a live map of the work, and lets you open its boxes or change them.

Draws

Install

The marketplace name is ottomation.

In your shell
claude plugin marketplace add potto007/ottomation
claude plugin install diagram-pane@ottomation
Open the repo

It runs inside the Claude Code process. The side panel is only what the author's README names. Read the repo before you install, or run claude plugin validate on the plugin folder.

Version
0.2.2
License
MIT
Repo stars
3
Last change
2026-10-13

What it can reach

  • Draws in the session

The pane opens on its own in a terminal 144 columns or wider, and /diagram opens it at any width; with fullscreen rendering it docks beside the transcript, and in the classic renderer it sits above the prompt. Inside Claude Code the same two lines start with /plugin. everyTurns, 3 by default, sets the turns between work-map checks, and maxPins, 5 by default, how many pinned diagrams the pane keeps. Only mermaid graph and flowchart charts are redrawn; other types are pinned as raw code. The map check runs after a turn ends, not while Claude is working. /clear starts the pane fresh.

The marketplace, ottomation, also holds live-vibe. The README says this copy is vendored from potto007/claude-code-mods at commit b8c071e, a fork of Ray Amjad's claude-code-mods, and that the navigation and editing in 0.2.0 come from that fork. Reading Claude's diagrams in the terminal is why this page files it under review. diagram-pane, by ray-amjad, is the mod in claude-code-mods. show-me, by arasovic, draws each mermaid diagram in an answer as a picture in a pane once the turn ends. This one installs from ottomation. It pins each mermaid code block or ASCII box diagram, redraws flowcharts as boxes and arrows that fit a 60 column pane, and every few turns asks Haiku whether the work changed shape; only on yes does a fork of the session return a small graph of the files, components, and steps it is working on. Press a box's number to open its detail, type a change under a diagram for a fork to redraw it, or let Claude edit the pane with its diagram_get and diagram_set tools.

Demo

The author's screenshot of diagram-pane: Claude adds a discount module on the left; on the right the live work map, Shop checkout with 10% discount at turn 5, shows checkout.js fanning out to cart.js, discounts.js, and the pay callback, then prices.js, with the pinned call flow below.
From the author's repo.

What it hooks into

  • session.startWhen a session starts
  • turn.completeWhen a turn ends
  • command.runWhen you run its slash command/diagram
  • tool.callAround a tool call, where it can hold one
  • ui.renderDraws into the sessionPane

Read from the on() calls in its hook modules. Open its source under Files to check what each one does.

Slash commands 1

  • /diagramRedraw the live work map in the diagram pane

Files

The author's README and source, 6 files. They load when you open them.

Facts

Author
potto007
Category
Review
Marketplace
ottomation
Repo
potto007/ottomation
Folder
plugins/diagram-pane
Version
0.2.2
License
MIT
Repo stars
3
Last change
2026-10-13
Language
Python
Files
16

Other mods in Review

doc-previewradumariasDraws a Preview band above the prompt when Claude writes a Markdown or Mermaid file or a mermaid block, and opens it in a side panel with the diagrams drawn.cc-esolrapha-rodriguesCorrects the English you type or dictate into a local learning log, with an esol pane of your corrections and a Review of your recurring patterns.quiet-bashschreibseDraws each tool call as one line, with ✗ exit N on a failure and +N −M on edits, hides result blocks, and shows PNG thumbnails under rows that touch one.pr-review-boardekcmReviews several pull requests at once with Claude and Codex in a live panel, runs each PR's tests, and shows what both agree on and what they still dispute.desk-planKyongSik-YoonHolds a commandAsks for plan approval in a card above the prompt with the plan open in a side pane: 1 approves, typed changes send it back, 9 opens Claude Code's own dialog.desk-reviewKyongSik-YoonOpens the report of /desk-review:simplify-review, which runs /simplify then /code-review medium, in a side pane: each item with its file, line, and reason.grammarjaklimoffChecks the English of each prompt with Haiku and draws the fixes in red and green under it, with stats and a review of the mistakes you make most.flow-planmadmat01Holds a commandDraws Claude's Power Automate flow plan in a pane with licence badges and design checks, and blocks the build tools until you approve that flow's plan.review-radarpedrovelasquez9Reads the branch diff after each turn and draws a pane of only the changes a person must confirm, with diff lines and Reviewed and Request changes buttons.mod-file-treev-amorimDraws a Files panel of what Claude read and changed this session, lit live while it works, with +/- line counts and a replay of the last turn's diffs.mod-transcriptv-amorimRestyles the transcript as chat bubbles, folds each finished turn and each tool row to one line, colors code, and adds a copy button to replies.improve-promptwaltherhuggoDraws an Improve prompt button above the prompt box that rewrites your draft with the session's context; /improve does the same, and you review and send it.
All 145 in Review