nicobailon/visual-explainer
Developer ToolsCoding skillsTurns agent output into self-contained HTML diagrams, diff reviews, slides, and project recaps for developers.
This repo is an agent skill pack · 1 skillsSkill list and install →What it does
Coding agents default to ASCII art and pipe tables when asked for diagrams or comparisons, which quickly becomes unreadable. Visual-explainer is an agent skill that instead writes a self-contained HTML page and opens it in the browser: figure-first layouts, hand-drawn inline SVG diagrams, status chips, bars and sparklines, and switchable dark/light themes. It targets architecture explanations, diff reviews, plan audits, state-machine walkthroughs, data tables, slide decks, and project recaps. Normal use needs no build step and no dependency beyond a browser; optional MCP and PPTX utilities add small Node dependencies.
Quick start
For Claude Code, install through the plugin marketplace:
/plugin marketplace add nicobailon/visual-explainer
/plugin install visual-explainer@visual-explainer-marketplace
Commands are namespaced, so invoke them as /visual-explainer:diff-review and similar. Then ask for a visual, for example draw a diagram of our authentication flow, /diff-review, or /plan-review ~/docs/refactor-plan.md. Output goes to ~/.agents/diagrams/filename.html by default and opens in the browser. Other harnesses — Pi, Cursor, Codex CLI, Antigravity CLI, OpenCode, MCP hosts — have their own copy or package install paths described in the installation table; Pi users can instead run pi install git:github.com/nicobailon/visual-explainer.
Commands and modes
Bundled commands include /generate-web-diagram, /generate-visual-plan, /generate-slides, /generate-video, /diff-review, /plan-review, /project-recap, /compare, /fact-check, and /state-machine. Any scrollable page command accepts --slides for a deck version, and /generate-slides --pptx or the visual-explainer-pptx exporter produces a static PPTX. Themes are opt-in: ask for a palette by name (Dracula, Nord, Gruvbox, Solarized Light, and others) to get a live theme picker.
Constraints
Auto-opening the page depends on the harness, browser access, and sandbox rules. The MCP server is local stdio only, does not call an LLM, and writes only inside its configured output directory (VISUAL_EXPLAINER_OUTPUT_DIR, default ~/.agents/diagrams/); symlinked jail paths are rejected, and the directory should not be world- or group-writable. PPTX export is best-effort and static: animations, live Mermaid/Chart.js/SVG rendering, responsive layout, and custom fonts are not preserved, so HTML remains the source of truth. The /generate-video path needs ffmpeg, Chrome, and playwright-core. Results vary by model capability. Licensed MIT.
HotRepo's take
On the 2026-12-05 JavaScript daily list the repository reached position 4 with 39 stars gained and a total of 11,502 stars and 715 forks. Even on that single snapshot, the pattern is a skill that spreads through the install paths of many agent harnesses rather than one binary, which matches the package's deliberately low-friction setup. With no longer trend series available, the record supports only a strong single-day showing, not a persistent ranking.
Written by AI from the project's public information and HotRepo's records, updated . The project's own docs are the source of truth.
Hacker News
You might also like
- shadcn/improveAn agent skill that audits a codebase and writes self-contained plans for cheaper models to execute.
- forguse/ref-to-pptx-skillA Codex skill that turns a visual reference and your content into an HTML-previewed, editable PowerPoint deck.
- tt-a1i/archifyTurns an idea, plan, or codebase into a shareable interactive HTML diagram through your coding agent.
- humanlayer/skillsA collection of installable Claude Code and Codex skills for research, implementation, visual PRs, and agent-loop design.
- caru-ini/stack-diagramAn agent skill that turns a one-sentence stack description into an architecture diagram with official logos.