ClaudeCodeMod

All shelves / Mods / Review

ink-figure

By jongwony

ink-figure is a Claude Code review mod by jongwony.

Draws Mermaid diagrams, line charts, and math in the transcript as box art and images, with an output style that writes them.

Draws

Install

The marketplace name is cc-plugin.

In your shell
claude plugin marketplace add jongwony/cc-plugin
claude plugin install ink-figure@cc-plugin
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.11.1
Repo stars
11
Last change
2026-10-18

What it can reach

  • Draws in the session

Needs Claude Code v2.1.287 or later, in the interactive terminal. Then /reload-plugins in a running session. The mod draws as soon as the plugin is enabled. The style takes effect once you pick it, with /output-style, or by setting outputStyle in settings.json to ink-figure:Epistemic Ink. The README does not say how to clear that key. Epistemic Ink formats replies with phase headers, gates, and insights, writes a mermaid fence for a graph, a flow, states, a sequence, classes, or entities, a line chart for measured values, and a math fence for a two-dimensional formula, and flags a departure that recurs against the same clause. The mod draws those fences in the transcript under any output style, not only this one. Flowcharts, sequence, class, state, and ER diagrams are drawn as box art, a line chart as an axis chart, and a math fence as an image. A fence that does not parse, is not a drawn kind, or is wider than the terminal stays as written. The Desktop app draws math fences itself and shows other fences as code. Hangul and other double-width labels line up inside the boxes. A flowchart or state id in Hangul keeps its fence. The math font does not cover Hangul. The figure board is off by default. Turn it on from /config, the Figure board row. With it on, the mod adds one section to the system prompt asking the model to keep this session's figures in one place you can open away from the terminal, such as an Artifact page, a document, or a deck. Whether a reply publishes is the model's to judge, and the session's permission mode governs the publish itself. The publish is Claude's own tool call, so this page does not list it as the mod's network access. In a cloud environment there is no /config. The README gives a setup script that turns the board on. This page does not copy that script. The README does not say anything leaves the machine.

The marketplace name is cc-plugin. The same marketplace lists other plugins. This page installs ink-figure. When a turn ends, each fence the terminal would not draw is reported to the model, with the reason, in a row the reader does not see. The reply itself stays as written. mermaid-mod draws mermaid blocks as Unicode diagrams in place and leaves the stored message as Mermaid source. diagram-pane pins diagrams in a side pane. This one draws box art and math images in the transcript, and the style writes the fences.

Demo

The ink-figure section on the author's GitHub page
Screenshot of the author's GitHub page.

What it hooks into

  • tool.describeA Claude Code eventArtifact
  • prompt.composeWhile you write a prompt
  • session.startWhen a session starts
  • config.setA Claude Code event
  • session.appendWhen an entry is written to the transcript
  • turn.startWhen Claude starts a turn
  • turn.completeWhen a turn ends
  • ui.renderDraws into the sessionAssistantMessage

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

Files

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

Facts

Author
jongwony
Category
Review
Marketplace
cc-plugin
Repo
jongwony/cc-plugin
Folder
ink-figure
Version
0.11.1
Repo stars
11
Last change
2026-10-18
Language
TypeScript
Files
33

Same repo on other shelves

Marketplaces

  1. 1008jongwony/cc-pluginjongwony/cc-plugin11

Other mods in Review

loom-mermaidYassimbaDraws Mermaid in Claude Code replies as colored character art, and a band above the prompt while a reply streams.cc-previewandrew54068Draws hover cards and thumbnails for images in the conversation, and a side pane that previews markdown.paf-tasksfreibergergarciaDraws phone-a-friend reviews, where Claude asks another model for a second opinion, in the conversation and a panel: the question, progress, and findings.prompt-polishVedantAndhaleRewrites the draft in the prompt box when you press Improve, with one model call, and does not send the rewrite.sermo-translatejhao0413By default rewrites each prompt into English before sending it, and draws the reply's translation under the English text.fanyiJrCx7scCBy default translates a prompt that is not already English into English before Claude reads it, and draws a translation under each reply.serpiffserpiffFor serpiff, a local code-review app, draws how far this worktree's review has come and opens that review in the app.coa-deskdavebreamFor Claude of Alexandria, biblical study skills, draws a grounding line under each answer. Passage text comes from coa.davebream.com.receipthoobnnDraws a one-line receipt of the files, lines, and commands from the turn that just ended.figuresnatsukiumDraws diagrams and LaTeX math from Claude's replies, and images from tool results, as pictures in the transcript, in kitty or Ghostty.screen-guarddanyuchnDraws black bars over names, organisations, secrets, and contact details in the transcript while you share your screen.md-renderdeepskyblue86Redraws each finished assistant message as colored markdown: headings, bold, italic, code, lists, and quotes.
All 145 in Review