BeClaude

visual-explainer

New
8.5kCommunity RegistryGeneralby nicobailon · MIT

Generate beautiful HTML pages for diagrams, diff reviews, plan reviews, slides, and data tables

First seen 5/22/2026

Summary

This skill transforms complex terminal output—like system diagrams, code diffs, plan reviews, slides, and data tables—into beautiful, self-contained HTML pages that open in your browser.

  • It replaces hard-to-read ASCII art and box-drawing tables with real typography, dark/light themes, and interactive Mermaid diagrams with zoom and pan, making technical explanations clear and enjoyable.

Overview

<p> <img src="banner.png" alt="visual-explainer" width="1100"> </p>

visual-explainer

An agent skill that turns complex terminal output into styled HTML pages you actually want to read.

![License: MIT](LICENSE)

Ask your agent to explain a system architecture, review a diff, or compare requirements against a plan. Instead of ASCII art and box-drawing tables, it generates a self-contained HTML page and opens it in your browser.

code
> draw a diagram of our authentication flow
> /diff-review
> /plan-review ~/docs/refactor-plan.md

https://github.com/user-attachments/assets/55ebc81b-8732-40f6-a4b1-7c3781aa96ec

Why

Every coding agent defaults to ASCII art when you ask for a diagram. Box-drawing characters, monospace alignment hacks, text arrows. It works for trivial cases, but anything beyond a 3-box flowchart turns into an unreadable mess.

Tables are worse. Ask the agent to compare 15 requirements against a plan and you get a wall of pipes and dashes that wraps and breaks in the terminal. The data is there but it's painful to read.

This skill fixes that. Real typography, dark/light themes, interactive Mermaid diagrams with zoom and pan. No build step, no dependencies beyond a browser.

Install

HarnessSupportInstall path / behavior
Claude CodeMarketplace pluginPreserved marketplace shape with source at plugins/visual-explainer/
PiPackage metadata plus installerpackage.json advertises the skill and prompts; install-pi.sh installs to ~/.pi/agent/skills/visual-explainer and ~/.pi/agent/prompts/
Codex CLINative skill path plus optional promptsCopy to ~/.codex/skills/visual-explainer; optional prompts go in ~/.codex/prompts/ if your Codex build supports them
OpenCode/opencodeObserved skill/command pathsCopy to ~/.config/opencode/skill/visual-explainer; optional commands go in ~/.config/opencode/command/
CursorRules-based guidanceAdd the supplied .mdc rule; Cursor is not treated as native Agent Skills support
OpenClawLightweight AGENTS/rules guidanceUse the supplied AGENTS guidance with the canonical skill directory

Claude Code (marketplace):

shell
/plugin marketplace add nicobailon/visual-explainer
/plugin install visual-explainer@visual-explainer-marketplace

Note: Claude Code plugins namespace commands as /visual-explainer:command-name.

Pi:

bash
pi install git:github.com/nicobailon/visual-explainer

Or from a local checkout:

bash
git clone --depth 1 https://github.com/nicobailon/visual-explainer.git
pi install ./visual-explainer

The package manifest advertises the canonical skill and command templates:

json
"pi": {
  "skills": ["./plugins/visual-explainer"],
  "prompts": ["./plugins/visual-explainer/commands"]
}

If you previously used the old curl/manual installer, remove those copied files before using pi install; otherwise Pi will report skill and prompt conflicts because the user-level copies shadow the package resources:

bash
rm -rf ~/.pi/agent/skills/visual-explainer
rm -f ~/.pi/agent/prompts/{diff-review,fact-check,generate-slides,generate-visual-plan,generate-web-diagram,plan-review,project-recap,share-page}.md

The legacy installer still works if you prefer copied files over package management:

bash
curl -fsSL https://raw.githubusercontent.com/nicobailon/visual-explainer/main/install-pi.sh | bash

Codex CLI:

bash
git clone --depth 1 https://github.com/nicobailon/visual-explainer.git /tmp/visual-explainer

mkdir -p ~/.codex/skills ~/.codex/prompts
cp -R /tmp/visual-explainer/plugins/visual-explainer ~/.codex/skills/visual-explainer

# Optional, only if your Codex build supports prompt templates:
cp /tmp/visual-explainer/plugins/visual-explainer/commands/*.md ~/.codex/prompts/

rm -rf /tmp/visual-explainer

Invoke with $visual-explainer or ask Codex to use the visual-explainer skill. If prompts are installed and supported, use /prompts:diff-review, /prompts:plan-review, etc.

OpenCode/opencode:

bash
git clone --depth 1 https://github.com/nicobailon/visual-explainer.git /tmp/visual-explainer

mkdir -p ~/.config/opencode/skill ~/.config/opencode/command
cp -R /tmp/visual-explainer/plugins/visual-explainer ~/.config/opencode/skill/visual-explainer

# Optional command templates:
cp /tmp/visual-explainer/plugins/visual-explainer/commands/*.md ~/.config/opencode/command/

rm -rf /tmp/visual-explainer

Activate it by asking OpenCode to use the visual-explainer skill. Command-template behavior depends on the installed OpenCode/opencode build.

Cursor:

Add configs/cursor/visual-explainer.mdc to your Cursor rules, or copy its contents into the project rules UI. This is rules-based guidance that points Cursor at the canonical skill; it does not claim native Agent Skills support.

OpenClaw:

Use configs/openclaw/AGENTS.md as lightweight project guidance and copy or reference plugins/visual-explainer/ as the canonical skill source. No native OpenClaw plugin adapter is included.

Commands

CommandWhat it does
/generate-web-diagramGenerate an HTML diagram for any topic
/generate-visual-planGenerate a visual implementation plan for a feature or extension
/generate-slidesGenerate a magazine-quality slide deck
/diff-reviewVisual diff review with architecture comparison and code review
/plan-reviewCompare a plan against the codebase with risk assessment
/project-recapMental model snapshot for context-switching back to a project
/fact-checkVerify accuracy of a document against actual code
/share-pageDeploy an HTML page to Vercel and get a live URL

The agent also kicks in automatically when it's about to dump a complex table in the terminal (4+ rows or 3+ columns) — it renders HTML instead.

Slide Deck Mode

Any command that produces a scrollable page supports --slides to generate a slide deck instead:

code
/diff-review --slides
/project-recap --slides 2w

https://github.com/user-attachments/assets/342d3558-5fcf-4fb2-bc03-f0dd5b9e35dc

How It Works

code
.claude-plugin/
├── plugin.json           ← marketplace identity
└── marketplace.json      ← plugin catalog
plugins/
└── visual-explainer/
    ├── .claude-plugin/
    │   └── plugin.json   ← plugin manifest
    ├── SKILL.md           ← workflow + design principles
    ├── commands/          ← slash commands
    ├── references/        ← agent reads before generating
    │   ├── css-patterns.md   (layouts, animations, theming)
    │   ├── libraries.md      (Mermaid, Chart.js, fonts)
    │   ├── responsive-nav.md (sticky TOC for multi-section pages)
    │   └── slide-patterns.md (slide engine, transitions, presets)
    ├── templates/         ← reference templates with different palettes
    │   ├── architecture.html
    │   ├── mermaid-flowchart.html
    │   ├── data-table.html
    │   └── slide-deck.html
    └── scripts/
        └── share.sh       ← deploy HTML to Vercel for sharing

Output: ~/.agent/diagrams/filename.html → opens in browser

The skill routes to the right approach automatically: Mermaid for flowcharts and diagrams, CSS Grid for architecture overviews, HTML tables for data, Chart.js for dashboards.

Limitations

  • Generated HTML is portable and self-contained, but auto-opening depends on the harness, browser access, and sandbox rules.
  • All harnesses write visual output to ~/.agent/diagrams/ unless the user asks for a different path.
  • Switching OS theme requires a page refresh for Mermaid SVGs.
  • /share-page uses plugins/visual-explainer/scripts/share.sh, which expects a Pi-compatible vercel-deploy skill in a standard Pi skill location. Other harnesses can still generate and open pages, but sharing may need that dependency installed separately.
  • Results vary by model capability.

Credits

Borrows ideas from Anthropic's frontend-design skill and interface-design.

License

MIT

Install & Usage

1
Add a marketplace
/plugin marketplace add <org/repo>
2
Install the plugin

Add the configuration to /plugin install visual-explainer@<marketplace>

3
Manage with /plugin
/plugin

Use Cases

Generate an interactive Mermaid diagram of an authentication flow to share with your team.
Review a git diff in a styled HTML page with syntax highlighting and side-by-side comparison.
Compare a list of requirements against a project plan in a clean, sortable data table.
Create a slide deck from markdown content for a quick presentation or walkthrough.
Visualize a system architecture with multiple layers and dependencies in an expandable diagram.
Export a complex data table from a database query or CSV as a formatted HTML report.

Usage Examples

1

/visual-explainer draw a diagram of our authentication flow

2

/visual-explainer diff-review

3

/visual-explainer plan-review ~/docs/refactor-plan.md

View source on GitHub
code-reviewdiagramshtmlvisualizationdiff-reviewslideshtml-generationmermaid

Security Audits

LicensePassSourceWarnRepositoryPass

Frequently Asked Questions

What is visual-explainer?

This skill transforms complex terminal output—like system diagrams, code diffs, plan reviews, slides, and data tables—into beautiful, self-contained HTML pages that open in your browser. It replaces hard-to-read ASCII art and box-drawing tables with real typography, dark/light themes, and interactive Mermaid diagrams with zoom and pan, making technical explanations clear and enjoyable.

How to install visual-explainer?

To install visual-explainer: add a marketplace (/plugin marketplace add <org/repo>), then add the config to /plugin install visual-explainer@<marketplace>. Finally, /plugin in Claude Code.

What is visual-explainer best for?

visual-explainer is a plugin categorized under General. It is designed for: code-review, diagrams, html, visualization, diff-review, slides, html-generation, mermaid. Created by nicobailon.

What can I use visual-explainer for?

visual-explainer is useful for: Generate an interactive Mermaid diagram of an authentication flow to share with your team.; Review a git diff in a styled HTML page with syntax highlighting and side-by-side comparison.; Compare a list of requirements against a project plan in a clean, sortable data table.; Create a slide deck from markdown content for a quick presentation or walkthrough.; Visualize a system architecture with multiple layers and dependencies in an expandable diagram.; Export a complex data table from a database query or CSV as a formatted HTML report..