DEDUPED Hot AI repos. Real use cases. What people build. Get the Monday 5

How to draw a flowchart or chart inside a Claude Code reply with Prismantis

Have Claude answer with a mermaid diagram that draws as colored text, then copy it as art or markdown.

Short answer: Install Prismantis as described in its README and confirm it is active with /prismantis; then ask Claude for the flow, for example: explain the request path of this service as a mermaid flowchart; check that the mermaid block draws as colored text art and fits the terminal width. All steps.

Who it is forAn engineer who wants to explain a process, service flow or data pipeline to a teammate from inside a Claude Code session.

The problemClaude Code prints mermaid as source, so the flow is hard to read without rendering it elsewhere.

The outcomeA flowchart, sequence diagram, bar chart or pie chart appears in the reply and can be copied as text art.

What you need first

  • Claude Code version 2.1.287 or later
  • A terminal that can show colors; kitty or Ghostty if you want LaTeX math drawn as images
  • RaTeX's ratex-render binary, only if you want LaTeX math

Steps

  1. Install Prismantis as described in its README and confirm it is active with /prismantis.
  2. Ask Claude for the flow, for example: explain the request path of this service as a mermaid flowchart.
  3. Check that the mermaid block draws as colored text art and fits the terminal width.
  4. Use the ⧉ art copy button to copy the drawn text, or ⧉ md to copy the markdown.
  5. If the diagram is wider than the window or over 80 lines, shorten the question and ask again, since the README says those stay as code.

Prompt for your agent

Using the NahumLitvin/prismantis plugin in Claude Code, ask Claude to explain <process name> as a mermaid flowchart. Expected output: a colored text diagram with one color per box, not raw mermaid source. Verify that the diagram fits the terminal width and that the copy button on the diagram works.

Caveat. Diagrams that are too wide for the window or longer than 80 lines stay as code, so large systems need to be split into smaller questions.

Use this in your AI agent

Ask your agent

Using the Deduped MCP, get the setup steps for NahumLitvin/prismantis and "Draw a flowchart or chart inside a Claude Code reply"

Add Deduped to Claude Code once

claude mcp add --transport http deduped https://dedupedai.com/mcp

Cursor, ChatGPT, others

Share: X LinkedIn Hacker News Email Copy link

Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer