Visual Explainer logo

Visual Explainer

Community
coco-research
visual-explainer

Generate self-contained HTML visual explanations for systems, code changes, plans, data, and technical concepts. Use for diagrams, architecture overviews, diff or plan reviews, project recaps, comparison tables, slide decks, and other visual explanations.

Overview

Publishercoco-research
Repositorycoco
Skill namevisual-explainer
Stars
550
Forks
12
Bundled files
15
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 15 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by coco-research on GitHub. Read the source before you install it.

Installation

Install the Visual Explainer AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/coco-research/coco/tree/main/skills/visual-explainer
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/coco-research/coco.git /tmp/coco
mkdir -p .claude/skills
cp -r /tmp/coco/skills/visual-explainer .claude/skills/visual-explainer
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Visual Explainer in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Visual Explainer on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Visual Explainer is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Visual Explainer

Generate self-contained HTML pages that explain systems, code changes, plans, data, and technical concepts visually. Use this skill for diagram requests, architecture overviews, diff/plan reviews, project recaps, comparison tables, slide decks, and any visual explanation.

Trigger and delivery rules

  • Prefer an HTML page over terminal ASCII when the output is inherently visual.
  • If a table would have 4+ rows or 3+ columns, render it as HTML and give only a short chat summary.
  • Write files to ~/.agent/diagrams/ or the explicit eval output path. Use descriptive filenames.
  • Open generated pages in the browser when running normally. In Pi package installs, use visual_explainer with prepare for planning/context and render only after the complete HTML document exists.
  • The final page must be a complete self-contained HTML document, including embedded CSS and any needed JS.

Reference routing

Read only the references needed for the current output:

NeedRead
Text-heavy architecture/cards./templates/architecture.html
Mermaid flowcharts, sequence, ER, state, class, C4, data flow./templates/mermaid-flowchart.html, Mermaid sections in ./references/libraries.md
Data tables, comparisons, audits./templates/data-table.html
Slide decks./templates/slide-deck.html, ./references/slide-patterns.md
CSS layout, overflow, depth, collapsibles, SVG connectors, generated images./references/css-patterns.md
Pages with 4+ major sections./references/responsive-nav.md
Prose-heavy pages“Prose Page Elements” in css-patterns.md, typography sections in libraries.md

Choose the representation

ContentDefault representation
Flowchart, pipeline, state machine, decision treeMermaid
Sequence, ER/schema, class, C4, topology-focused architectureMermaid
Text-heavy architecture, module internals, implementation plansCSS grid cards, optionally with a Mermaid overview
15+ element architectureHybrid: small Mermaid overview + CSS detail cards
Comparison/audit/status matrixSemantic HTML <table>
Timeline/roadmapCSS timeline
Dashboard/metricsCSS grid + charts/KPIs
Slide deck100dvh slides using slide template patterns

Mermaid invariants

  • Use theme: 'base' with custom themeVariables matching the page palette.
  • For complex diagrams use ELK layout when available.
  • Never use bare <pre class="mermaid">.
  • Use the canonical diagram-shell pattern from templates/mermaid-flowchart.html: .diagram-shell > .mermaid-wrap > .zoom-controls + .mermaid-viewport > .mermaid-canvas.
  • Every Mermaid diagram needs zoom in/out/reset/expand controls, Ctrl/Cmd+scroll zoom, drag panning, and click-to-expand.
  • Prefer flowchart TD for complex diagrams. Use LR only for simple 3–4 node linear flows.
  • Use <br/> in quoted flowchart labels. Do not use escaped \n labels.
  • Never define page-level .node; Mermaid uses it internally. Use namespaced page classes such as .ve-card.
  • For 15+ elements, do not cram everything into one Mermaid diagram. Use the hybrid overview + cards pattern.

Layout and style invariants

  • Use semantic HTML where it helps accessibility and copy/paste: <table>, headings, lists, <details>, captions.
  • Use CSS custom properties for palette: --bg, --surface, --border, --text, --text-dim, and 3–5 accents.
  • Pick a clear aesthetic direction before writing: blueprint, editorial, paper/ink, terminal, IDE-inspired, or data-dense.
  • Avoid generic defaults: no body font that is only Inter, Roboto, Arial, Helvetica, or system-ui; no violet/fuchsia Tailwind-default accents as the main palette (#8b5cf6, #7c3aed, #a78bfa, #d946ef); no cyan+magenta+purple neon dashboard; no gradient-mesh blobs.
  • Good font pair families: DM Sans + Fira Code; Instrument Serif + JetBrains Mono; IBM Plex Sans + IBM Plex Mono; Bricolage Grotesque + Fragment Mono; Plus Jakarta Sans + Azeret Mono.
  • Good accent directions: terracotta+sage, teal+slate, rose+cranberry, amber+emerald, deep blue+gold.
  • Prevent overflow: min-width: 0 on grid/flex children, overflow-wrap: break-word for long text, and scroll containers for wide tables/code.
  • Do not set display: flex directly on <li> when list markers matter.
  • Use depth sparingly: hero/elevated only for primary sections; flat/recessed for reference material.
  • Use entrance/hover animation only when it clarifies hierarchy. Respect prefers-reduced-motion. Do not use continuous glow, pulse, or breathing effects on static content.

Slide deck mode

Use slides only when explicitly requested or when a command asks for slides. Slides are a different medium, not a paginated article:

  • Each slide is one viewport (100dvh) with no page-level scrolling.
  • Use larger type, fewer objects per slide, varied compositions, and visible navigation.
  • Include slide nav chrome from slide-deck.html: prev/next controls, slide count, keyboard navigation, and carousel dots/indicators.
  • Before writing HTML, inventory the source and map every source item to slides.
  • Do not drop content to fit a fixed slide count. Add slides instead.
  • Use the 10 slide types from slide-patterns.md: Title, Section Divider, Content, Split, Diagram, Dashboard, Table, Code, Quote, Full-Bleed.

Optional generated images

If surf is available, generated images may be embedded as base64 for hero banners, conceptual illustrations, or educational visuals. Skip images for data-heavy, structural, or Mermaid/CSS-suitable content. Pages must stand on CSS, typography, and diagrams without images.

Final checklist

Before delivery, verify:

  • complete HTML document;
  • output written to the requested path;
  • no console errors when opened;
  • no horizontal overflow at normal desktop width;
  • fonts load with fallbacks;
  • tables preserve rows/columns and wrap long text;
  • Mermaid diagrams use diagram-shell with zoom/pan/expand;
  • slides fit one viewport, include carousel dots, and preserve source coverage;
  • visual hierarchy makes the main idea obvious in the first viewport;
  • styling would still be recognizable if compared against a generic dark/violet template.

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Visual Explainer AI skill do?

Generate self-contained HTML visual explanations for systems, code changes, plans, data, and technical concepts. Use for diagrams, architecture overviews, diff or plan reviews, project recaps, comparison tables, slide decks, and other visual explanations.

Why use Visual Explainer on TypingMind?

Because you install it once and use it with any model. Visual Explainer is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Visual Explainer in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/coco-research/coco/tree/main/skills/visual-explainer. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Visual Explainer?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Visual Explainer?

As many as you like. As long as a model supports skills, you can use Visual Explainer with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Visual Explainer AI skill free?

Yes. It is published on GitHub by coco-research under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇