Repolode
NahumLitvin

NahumLitvin/prismantis

A Claude Code mod that draws mermaid diagrams, charts, tables and code in color, with 16 themes and copy buttons in the terminal.

Stars
315
Forks
52
Open issues
11
Last commit
15 hours ago

What is it?

prismantis is a plugin for Claude Code that changes how its replies and tool calls look in the terminal. Claude Code normally prints mermaid diagrams as source text and tool calls as plain blocks of output. prismantis draws flowcharts, sequence and state diagrams, bar and line charts, and pie charts as colored text art, and draws display math as typeset images in kitty and Ghostty.

Tables, code blocks, headings, lists, quotes and task lists get colored styling, with 16 palettes plus a monochrome option. Copy buttons appear on tables, code and diagrams, and tool rows are condensed into single lines such as "Ran 3 commands, read 2 files". Setup runs through a /prismantis setup command, and the plugin can be turned off with /plugin to return to Claude Code's own renderer.

The plugin makes no network calls. It runs an external program only when a user clicks the HTML or PNG copy buttons or enables LaTeX rendering. It also ships with support for Codex and OpenCode.

Key features

  • 01Draws mermaid flowcharts, sequence, state, class and ER diagrams as colored text.
  • 02Renders bar, line and pie charts in the terminal.
  • 03Offers 16 color themes plus a monochrome mode, switchable with one command.
  • 04Adds copy buttons for Markdown, plain text, HTML and PNG on tables and code.
  • 05Condenses tool calls into single summary rows and supports diff cards for edits.
  • 06Typesets LaTeX formulas as images in kitty and Ghostty when RaTeX is installed.

Use cases

  • Reading architecture or flow diagrams that Claude produces during a coding session.
  • Scanning long Claude Code sessions where many tool calls clutter the transcript.
  • Pasting tables or diagrams from the terminal into Slack, docs or slides via the PNG copy button.
  • Customizing the look of Claude Code output to match a favorite terminal color scheme.

Quick start

  1. 1

    Add the marketplace in Claude Code

    /plugin marketplace add NahumLitvin/prismantis
  2. 2

    Install the plugin

    /plugin install prismantis@prismantis
  3. 3

    Run setup to pick a theme and styles

    /prismantis setup

Things to know

  • Requires Claude Code 2.1.287 or later.
  • LaTeX math needs RaTeX's renderer installed separately and only displays as images in kitty and Ghostty.

In collections

Topics

FAQ

What is prismantis?
A Claude Code mod that draws mermaid diagrams, charts, tables and code in color, with 16 themes and copy buttons in the terminal. prismantis is a plugin for Claude Code that changes how its replies and tool calls look in the terminal. Claude Code normally prints mermaid diagrams as source text and tool calls as plain blocks of output. prismantis draws flowcharts, sequence and state diagrams, bar and line charts, and pie charts as colored text art, and draws display math as typeset images in kitty and Ghostty.
Is prismantis free to use? What license does it have?
prismantis is open source under the MIT license. Check the license terms before using it in commercial products.
Is prismantis still maintained?
Actively maintained. The last commit to prismantis was on Nov 6, 2026.
What can I use prismantis for?
Reading architecture or flow diagrams that Claude produces during a coding session. Scanning long Claude Code sessions where many tool calls clutter the transcript. Pasting tables or diagrams from the terminal into Slack, docs or slides via the PNG copy button. Customizing the look of Claude Code output to match a favorite terminal color scheme.
How do I install prismantis?
Add the marketplace in Claude Code: /plugin marketplace add NahumLitvin/prismantis Install the plugin: /plugin install prismantis@prismantis Run setup to pick a theme and styles: /prismantis setup
Where can I get prismantis?
The source code and installation instructions are on GitHub: https://github.com/NahumLitvin/prismantis

Summary generated by AI from the project's README. GitHub stats refresh daily.

Related projects