Agent skill · Visual Explainer
/visual-explainer Get diagrams and reviews as readable HTML pages, not ASCII art
The visual-explainer skill tells the agent to answer with a single HTML page whose backbone is figures, with text kept to captions. It writes a short source file that links a shared kit, renders it, fixes any errors the renderer reports, and checks a contact sheet of the result. Pages follow strict rules about claims, labels and style, and can become slide decks or narrated videos on request.
Works with
- Claude Code
- Pi
- Codex CLI
- OpenCode
- Antigravity CLI
Used forDiagrams and codebase maps
When to use it
- You ask the agent to explain a system and want a drawing of the actual request path, not a box per component.
- A review, audit or requirements comparison would otherwise end up as a long terminal table.
- You need a short slide deck or an animated walkthrough of a state machine or queue.
How it works
- 1Write a source page
The agent writes a .src.html file in the output directory, picks a register and links the bundled kit stylesheet instead of hand-writing base CSS.
- 2Render and fix
It renders through Pi, the MCP tool or the kit's Node script, fixes each reported error with small edits, and looks at the generated sheet once.
- 3Lead with figures
Each figure carries one claim in its caption, arrows carry verbs, numbers get a visual such as bars or a dimension line, and the first screen shows the answer.
- 4Write plain words
Prose follows a simplified technical English style: headings state the takeaway, sentences stay short and active, and hedges and idioms are dropped.
- 5Run the delivery check
Before handing over, it confirms the render has no errors, every figure has a caption and the page would not pass for a generic template.
What it steers the agent away from
- Defaulting to Mermaid or decorative hero images when a hand-drawn figure explains more
- Generic styling such as violet accents, glassmorphism, gradient text and emoji markers
- Rewriting the whole page or taking screenshots to verify it
Install this skill
It installs with the Visual Explainer pack.
Claude CodeCommands are namespaced, for example /visual-explainer:diff-review.
/plugin marketplace add nicobailon/visual-explainer
/plugin install visual-explainer@visual-explainer-marketplacePiAlso adds a native Pi tool that plans and renders pages.
pi install git:github.com/nicobailon/visual-explainerCodex CLICommand 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-explainerOpenCodeOptional 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-explainerAntigravity CLIGlobal 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-explainerCommands come from the author’s README; check it for changes before you run them.
Questions
Does it need a build step?
No. Normal use needs only a browser; the page check and contact sheet run when Chrome and playwright-core are available.
Can readers respond inside the page?
Yes. Readers can select text or click part of a figure to comment, then paste or send one reply back, which the agent applies within the page's scope.
Summary by trendhub. The skill itself lives in nicobailon/visual-explainer/plugins/visual-explainer by Nico Bailon (MIT); read the full, current text there.