← Back to Leaderboard
PNahumLitvin

NahumLitvin/prismantis

TypeScript render hooks bring diagrams, tables, and compact tool output to Claude Code

Engineering Health (Methodology)
A+ · 93/100
Maintenance Activity
● Updated 3d ago
Latest Release
v0.52.1
Commercial License Check
MIT · Commercial Friendly

Automated SPDX check for reference only — not legal advice. Disclaimer

Maintenance35/35
Fork Adoption18/25
Release Cadence20/20
License Clarity20/20
CLI
Total Stars
★ 534
24h Growth
+0
7d Growth
+24
Forks
81

GitHub Star History

Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.

NahumLitvin/prismantis Star History (2026-10-01 - 2026-12-03) ALL-TIME STAR HISTORY (2026-10 – 2026-12) +533 in 63d · avg +8/day 564 282 0 2026-10-01: ★ 12026-10-10: ★ 742026-10-17: ★ 1232026-10-24: ★ 1822026-10-31: ★ 2692026-11-04: ★ 2992026-11-08: ★ 3282026-11-12: ★ 3472026-11-16: ★ 4482026-11-20: ★ 4762026-11-24: ★ 4972026-11-28: ★ 5162026-12-03: ★ 534 ★ 534 10-01 11-01 12-03

Evidence-Backed Technical Brief

AI Deep Review

Architecture & Core Mechanics

Prismantis is a TypeScript presentation plugin, not an MCP server or a model backend. In Claude Code, function hooks redraw assistant replies, slash-command output, tool rows, turn footers, and user prompts. Prism handles syntax highlighting, and other mods can use the width- and surface-aware $.prismantis.markdown({ surface, text, columns }) interface. The plugin manifest at plugin/.claude-plugin/plugin.json defines the option schema under userConfig.

Rendering and prompt augmentation are separate concerns: diagramHints tells the model what the host can draw, while the hooks handle presentation. The root tree separates the opencode/, codex/, and antigravity/ integrations. Those hosts render their own replies, so Prismantis supplies hints and adds only what the respective plugin APIs expose, rather than reproducing the Claude Code integration wholesale.

Key Capabilities & Differentiators

The Claude Code integration renders Mermaid flowcharts, sequence, state, and ER diagrams, plus bar, line, pie, and Gantt charts. Tables adapt to terminal width and align numeric cells; code cards include a language header and Prism highlighting. The 18 palettes cover 13 dark and five light themes. Copy controls can export Markdown, text art, HTML, or PNG.

quiet hides read and search results; rows also hides successful call output. Both preserve edit diffs and errors. The off-by-default highlightOutput option colors JSON, JSON Lines, and unified diffs in tool results. OpenCode adds colored figures, selected Mermaid charts, and code and prose themes; Codex themes code, prose, tables, and diagrams, but draws figures as text. Antigravity keeps its own colors and gets a /prismantis demo.

Trade-offs & Limitations

Compared with Claude Code's built-in renderer, Prismantis makes diagrams and dense outputs easier to scan in place, at the cost of another plugin whose reach depends on host APIs and terminal features. Oversized diagrams fall back to source, and LaTeX rendering requires kitty or Ghostty outside tmux. Teams that need to see every tool result should stick with the default full output rather than quiet or rows.

The full-demo measurement on an M4 Pro is about 5 ms cold and 1 ms warm for layout, not end-to-end response latency. Default diagram hints add about 630 tokens of model-only context per prompt, or roughly 710 with LaTeX enabled. Use once-per-session hints if repeated guidance is unnecessary, or disable both diagram and issue hints to eliminate those additions. The plugin's lack of network calls does not change the host's own data path.

Hardware & Deployment Guide

Install in Claude Code 2.1.287+ with /plugin marketplace add NahumLitvin/prismantis and /plugin install prismantis@prismantis, then use /reload and /prismantis setup. Configure it in /config or under pluginConfigs["prismantis@prismantis"].options in ~/.claude/settings.json. Full Desktop Code-tab coloring requires 2.1.324+; the separate integrations require OpenCode 2.2.5+ or Codex 0.164.0+, respectively.

No Prismantis service or model runtime is required, and the plugin makes no network calls. Rich clipboard actions invoke a local helper on click, and optional LaTeX uses ratex-render in kitty or Ghostty outside tmux. v0.51.0 added support for Claude Code's experimental Code Mode, v0.52.0 added themed tool results and once-per-session diagram hints, and v0.52.1 fixed a missing backward edge in left-to-right flowcharts and a stacked-subgraph title issue.

Integration: TypeScript function hooks redraw replies, prompts, slash-command output, tool rows, and turn footers.
Rendering: Mermaid diagrams and charts, width-aware tables, and Prism highlighting in roughly two dozen languages.
Tool output: quiet and rows retain edit diffs and errors; v0.52.0 added opt-in coloring for JSON, JSON Lines, and unified diffs.
Export: Copy controls support Markdown, text art, HTML, or PNG; rich clipboard operations rely on platform-specific helpers.
Prompt budget: Diagram hints default to about 630 tokens per prompt; v0.52.0 added a once-per-session option.
Host coverage: Claude Code has the full feature set; OpenCode and Codex have narrower integrations, and Antigravity gets a demo without theming.
Best For

Claude Code users who routinely review Mermaid diagrams, wide tables, and tool diffs inline and want control over how much tool output stays visible.

Skip If

You need an MCP tool server, identical rendering across hosts, or an unchanged client and prompt context with no extra configuration.

Reviewed on 2026-12-01 · Grounded in GitHub README, root file tree & releasesMethodology

Quick Start & Installation

CLI
claude plugin marketplace update prismantis && claude plugin update prismantis@prismantis

Comparison vs. Top Coding, Skills & MCP Alternatives

Full comparison →
RepositoryStars7d TrendStackLicenseCore Positioning
prismantis ★534+24TypeScriptMITTypeScript render hooks bring diagrams, tables, and compact tool output to Claud
ponytail204.4k+4.1kJavaScriptMITA prompt-driven coding-agent plugin for smaller changes and focused tests.
obsidian-skills56.2k+1.7kShellMITAgent Skills plugins for editing Obsidian files and working with vaults
ECC316.1k+4.2kJavaScriptMITPlugins and CLI workflows for planning, reviewing, and verifying agent-written c

AI Context Briefing (for Claude / Cursor / Windsurf)

Standardized architecture summary & quickstart commands ready to paste into coding agents.

Raw .md ↗
curl -sL https://repoforai.com/repo/NahumLitvin/prismantis.md

Embed Star History Chart & Badges in README.md

Full-history Star History SVGs and velocity cards on GitHub Camo: drop-in replacement for OSSInsight and Star History widgets.

NahumLitvin/prismantis Star History on RepoForAI

Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).

Frequently Asked Questions about prismantis

How does Prismantis integrate with Claude Code and other mods?

TypeScript function hooks redraw Claude Code replies, slash-command output, tool rows, turn footers, and user prompts. Other mods can call $.prismantis.markdown({ surface, text, columns }) to render Markdown for a given surface and width. It is a presentation plugin, not an MCP server; displaying an MCP reply does not make it a tool provider.

Does it need a GPU, and what overhead should we measure?

Prismantis renders on the client and does not run a model, so there is no separate model VRAM budget. The full demo reply took about 5 ms cold and 1 ms warm on an M4 Pro; npm --prefix scripts run bench lets you measure your own machine. Separately, default diagram hints add about 630 tokens of model-only context per prompt, so rendering time alone does not capture the overhead.

Can we use it commercially, and does it need a self-hosted service?

The MIT license allows commercial use, modification, and redistribution; retain the copyright and license notice when distributing copies or substantial portions. There is no Prismantis server to self-host, and the plugin itself makes no network calls. Review the host's data handling separately, along with the local clipboard and optional LaTeX subprocesses.

When is Claude Code's built-in renderer the better choice?

Claude Code's built-in renderer is the closest baseline: it requires no extra plugin and adds none of Prismantis's model hints. Choose Prismantis when inline diagrams, width-aware tables, and compact tool rows improve review enough to justify the extra extension. Choose the built-in renderer if you mainly read prose and code or want to minimize changes to the client and its prompt context.

Upstream README & Documentation

This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.

Maintaining NahumLitvin/prismantis? Pin to Homepage + competitor /alternatives pages with a custom Cloud/Demo CTA.Feature NahumLitvin/prismantis on Homepage & Alternatives ($19)
WEEKLY BREAKOUT DIGEST

Top 10 Breakout Open-Source AI Repos, Every Thursday

Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.

Zero spam · 1-click unsubscribe · Privacy Policy

Saved in your browser · Export Markdown RFC tables or jump into /vs compare