# Visual Explainer

Source: https://trendhub.net/skills/nicobailon-visual-explainer
Repository: https://github.com/nicobailon/visual-explainer
Author: Nico Bailon (https://github.com/nicobailon)
License: MIT
GitHub stars: 11,467

Visual Explainer is Nico Bailon's agent skill that replaces ASCII diagrams and wide terminal tables with self-contained HTML pages built around hand-drawn SVG figures. It turns architecture questions, diffs, plans, state machines and recaps into figure-first pages or slide decks that open in the browser. It suits developers who review code and plans with Claude Code, Codex, Cursor, Pi and similar agents.

## What problems it solves

- **ASCII diagrams fall apart past three boxes**: The agent draws the mechanism as inline SVG on an HTML page, with labelled arrows and steps that can be replayed.
- **Wide comparison tables break in terminals**: Any terminal table of four or more rows or three or more columns becomes a styled page with status chips instead.
- **Diff and plan reviews read poorly**: Commands such as diff review, plan review and fact check lay out evidence and fixes as figures you can comment on in the page.
- **Returning to a project after time away**: A project recap page rebuilds the mental model of the codebase so you can pick up where you left off.

## Install

### Claude Code

Commands are namespaced, for example /visual-explainer:diff-review.

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

### Pi

Also adds a native Pi tool that plans and renders pages.

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

### Codex CLI

Command templates can also be copied to ~/.codex/prompts when your Codex version handles prompt files.

```
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
rm -rf /tmp/visual-explainer
```

### OpenCode

Optional command templates can go into ~/.config/opencode/command/.

```
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
rm -rf /tmp/visual-explainer
```

### Antigravity CLI

Global install; the README also gives a workspace variant under .agents/skills.

```
git clone --depth 1 https://github.com/nicobailon/visual-explainer.git /tmp/visual-explainer
mkdir -p ~/.gemini/antigravity-cli/skills
cp -R /tmp/visual-explainer/plugins/visual-explainer ~/.gemini/antigravity-cli/skills/visual-explainer
rm -rf /tmp/visual-explainer
```

Pick the route for your agent from the README table; Claude Code and Pi have package installs, while Codex, OpenCode, Antigravity and Cursor copy plugins/visual-explainer into their skills folder. Ordinary use needs only a browser, while page checks, PPTX and MP4 export rely on extra Node packages, Chrome, playwright-core and ffmpeg.

## Skills

Skill names are shown as /name. Depending on the agent, a skill runs when it is relevant or when you call it by name; plugin installs may add a prefix.

- `/visual-explainer`: Renders diagrams, diff and plan reviews, recaps and comparisons as figure-first HTML pages or decks, then checks them in a browser. (https://trendhub.net/skills/nicobailon-visual-explainer/visual-explainer.markdown)

## Questions

### Is Visual Explainer free?

Yes, the repository is MIT-licensed.

### Which agents does it support?

The README covers Claude Code, Pi, Codex CLI, OpenCode, Cursor and Antigravity CLI, a local MCP server for MCP hosts, and lighter guidance files for OpenClaw and Copilot.

### Where do the generated pages go?

By default to ~/.agent/diagrams/; Pi can change this in its settings, and Pi and MCP also honour a VISUAL_EXPLAINER_OUTPUT_DIR variable.

### Can I get a PowerPoint file?

Yes, through a best-effort static PPTX export of simple HTML decks. Animations, live charts and custom fonts stay in the HTML version only.

## Before you install

The skill writes HTML files, by default to ~/.agent/diagrams/, and runs a bundled Node renderer that can open your browser. The optional MCP server works over local stdio only, makes no LLM calls and writes only inside its configured output directory; video narration uses a speech API only when you set a key.
