npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

visual-explanation-engine

v0.1.2

Published

A Codex skill that turns explanations into visual, interactive, multimodal learning experiences.

Readme

Visual Explanation Engine

Visual Explanation Engine hero

Visual Explanation Engine is a Codex skill that helps an agent turn any explanation request into the clearest possible learning experience: concise text when text is enough, diagrams when structure matters, generated educational visuals when they improve understanding, and interactive UI when exploration teaches better than reading.

English | 한국어 | 日本語 | 简体中文 | Español

The goal is not to generate HTML. The goal is to maximize understanding.

What It Does

  • Chooses the right explanation format instead of defaulting to paragraphs.
  • Detects the structure of a topic: process, timeline, comparison, hierarchy, architecture, algorithm, decision flow, data flow, lifecycle, math, science, business logic, or story.
  • Designs progressive disclosure: summary, visual map, walkthrough, examples, details, and references only when needed.
  • Encourages interactive learning with selectable concepts, step controls, timelines, diagrams, charts, examples, and misconception callouts.
  • Guides when to use generated educational images, Mermaid diagrams, SVG, tables, charts, code examples, interactive HTML, or a frontend app.
  • Packages the workflow as an installable skill that works with the standard skills CLI and npm.

How It Works

Visual Explanation Engine process

  1. Understand the learner and topic: identify audience level, complexity, desired outcome, and likely misconceptions.
  2. Extract explanation structure: decide whether the topic is a process, timeline, comparison, algorithm, architecture, system, concept map, or mixed structure.
  3. Select modalities: choose the smallest useful set of text, diagrams, images, charts, examples, animation, or interaction.
  4. Layer the explanation: start with orientation, then reveal depth step by step.
  5. Build the artifact: produce a chat answer, diagram, generated visual, interactive HTML, or app depending on what teaches best.
  6. Quality-check understanding: remove decorative visuals, filler text, and interactions that do not teach anything.

Why It Is Different

Most explanation prompts accidentally become long text or a generic web page. Visual Explanation Engine makes the agent ask a better first question:

What is the fastest and clearest way for this learner to truly understand this?

That changes the output:

| Default explainer | Visual Explanation Engine | | --- | --- | | Starts writing immediately | Plans the learning shape first | | Treats HTML as the goal | Treats understanding as the goal | | Uses one layout for many topics | Matches format to structure | | Adds images as decoration | Uses visuals only when they teach | | Dumps all details at once | Uses progressive disclosure | | Gives isolated definitions | Links concepts, examples, and misconceptions |

Install

Recommended: skills CLI

Install directly from GitHub with the standard selector:

npx --yes skills add Jun0zo/visual-explanation-engine

For a non-interactive Codex + Claude Code install:

npx --yes skills add Jun0zo/visual-explanation-engine --skill visual-explanation-engine --agent codex claude-code --yes

To confirm the repository is discoverable before installing:

npx --yes skills add Jun0zo/visual-explanation-engine --list

npm fallback

Install from npm:

npm install -g visual-explanation-engine

The npm postinstall step quietly installs the packaged skill for Codex:

${CODEX_HOME:-~/.codex}/skills/visual-explanation-engine

If the skill already exists, the installer leaves it untouched. To replace it:

visual-explanation-engine install --force

Run the npm installer without a target to install to Codex global and Claude Code global. Use the skills CLI above when you want the richer standard selector.

visual-explanation-engine install

You can also skip automatic Codex installation:

VEE_SKIP_CODEX_INSTALL=1 npm install -g visual-explanation-engine

npx

npx --yes visual-explanation-engine install --force

Manual

cp -R skills/visual-explanation-engine "${CODEX_HOME:-$HOME/.codex}/skills/"

Usage

Invoke the skill explicitly in Codex:

Use $visual-explanation-engine to explain how transformers handle attention for a beginner.

Other good prompts:

Use $visual-explanation-engine to make an interactive lesson for OAuth login flow.
Use $visual-explanation-engine to visualize the difference between TCP and UDP.
Use $visual-explanation-engine to teach gradient descent with diagrams and examples.
Use $visual-explanation-engine to explain our backend architecture to a new engineer.

CLI

The npm package includes a small installer CLI:

visual-explanation-engine install
visual-explanation-engine install codex
visual-explanation-engine install claude
visual-explanation-engine install all
visual-explanation-engine install --force
visual-explanation-engine doctor
visual-explanation-engine path

Install targets:

| Target | Destination | | --- | --- | | codex | ${CODEX_HOME:-~/.codex}/skills | | claude | ${CLAUDE_HOME:-~/.claude}/skills | | project-codex | ./.codex/skills | | project-claude | ./.claude/skills | | all | every target above |

Short alias:

vee doctor

Included Skill Files

skills/visual-explanation-engine/
├── SKILL.md
├── agents/openai.yaml
└── references/modality-playbook.md

The modality playbook maps explanation structures to the best formats: flow diagrams, timelines, comparison matrices, architecture diagrams, algorithm traces, relationship networks, decision trees, charts, mathematical visuals, scientific illustrations, and interactive lessons.

Development

npm test
npm pack --dry-run
node bin/visual-explanation-engine.js doctor

Generated README Images

The README visuals are real generated PNG assets saved under docs/assets/:

  • hero.png: transformation from a question into a multimodal lesson.
  • process.png: the six-stage visual explanation workflow.