Agent skill

Hai Visual Explainer

by hylarucoder in hylarucoder/hai-stack

Turns supplied content into self-contained HTML and PNG in two modes: card for one shareable frame(知识卡、信息卡、金句卡、封面、把要点做成一张图), report for multi-section documents(可视化报告、HTML 汇报页、PRD/计划/评审做成网页).

Custom licenceAuto-check passedFrontend & Design

Install Hai Visual Explainer

skills CLI
$ npx skills add hylarucoder/hai-stack --skill hai-visual-explainer -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install hylarucoder/hai-stack hai-visual-explainer --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/hylarucoder/hai-stack.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/hai-visual-explainer .claude/skills/hai-visual-explainer && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
hai-visual-explainer
GitHub stars
380
Token cost
~2k tokens
SKILL.md length
1,060 words
Files
11 (incl. scripts, references, assets)
Skills in repo
18
Repo updated
First seen
Licence
Custom licence

At a glance

Turns supplied content into self-contained HTML and PNG in two modes: card for one shareable frame(知识卡、信息卡、金句卡、封面、把要点做成一张图), report for multi-section documents(可视化报告、HTML 汇报页、PRD/计划/评审做成网页).

  • Works in 8 steps: Header: title, scope, generation date. → Verdict (optional): if the source itself… → Structure Map: Mermaid or layout diagram… → …
  • Tasks that involve Infographics
  • SKILL.md covers Overview, Select the mode, Core Principle and Report Content Model, plus 4 more sections
  • Runs JavaScript scripts from its folder; calls node

What it does

Hai Visual Explainer is an agent skill from hylarucoder/hai-stack. Turns supplied content into self-contained HTML and PNG in two modes: card for one shareable frame(知识卡、信息卡、金句卡、封面、把要点做成一张图), report for multi-section documents(可视化报告、HTML 汇报页、PRD/计划/评审做成网页). Preserve source meaning and use structure-appropriate typography, diagrams, matrices, and evidence. Owns presentation, not the underlying architecture or product judgment; use a frontend or document-design skill for apps or print artifacts.

Its SKILL.md is about 2k tokens, which your agent loads only when the skill is triggered. The skill folder holds 14 other files, including scripts, reference files and assets (for example `SKILL.zh_CN.md`, `agents/openai.yaml` and `references/card-design.md`).

It sits in Frontend & Design, covering Infographics, Diagrams and PRD writing.

When your agent uses it

  • Tasks that involve Infographics
  • Tasks that involve Diagrams
  • Tasks that involve PRD writing

Example prompts

  • “Use the hai-visual-explainer skill to turn supplied content into self-contained HTML and PNG in two modes: card for one shareable…”
  • “/hai-visual-explainer”

Requirements

  • Node.js

Workflow steps

8 steps, taken from the first numbered list in SKILL.md.

  1. Header: title, scope, generation date.
  2. Verdict (optional): if the source itself states a conclusion, surface it here as an entry point. Don't manufacture a condensed judgment…
  3. Structure Map: Mermaid or layout diagram of actors, relationships, flow, or decision path — placed near the top as the reader's coordinate…
  4. Core Sections: the source body carried through theme by theme, with visuals only where they
  5. Decision Matrix: options, risks, cost, value, or priority.
  6. Timeline / Phases: stages, exit proof, and next step when execution is involved.
  7. Risks and Proof: key risks, validation method, pass/fail signal.
  8. Next Move: explicit next action.

What it can do on your machine

Read from SKILL.md and the folder at commit a6c7ed2. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 3 files in scripts/ (JavaScript), which the agent can run.

    Shell commands in SKILL.md call:

    • node

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Hai Visual Explainer loads about 2k tokens when it runs, and up to ~4.3k if it reads all its reference files. Until then it costs about 113 tokens; SKILL.md has 1,060 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~113
When it runs · the whole SKILL.md, loaded when a task matches
~2k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~4.3k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

Its licence (Custom licence) doesn't allow us to republish the file, so here is its outline and opening line. It has 1,060 words (~2,023 tokens).

“For Chinese readers, see SKILL.zh_CN.md. The English SKILL.md is the execution source of truth.”

— opening of SKILL.md by hylarucoder, Custom licence
name
hai-visual-explainer

Read the full SKILL.md on GitHub

Files

SKILL.md and 10 other files (scripts, references, assets) in skills/hai-visual-explainer of hylarucoder/hai-stack.

  • SKILL.md
  • SKILL.zh_CN.md
  • agents/openai.yaml
  • assets/card-template.html
  • references/card-design.md
  • references/card-output-template.md
  • references/html-skeleton.md
  • references/output-template.md
  • scripts/README.md
  • scripts/lint_mermaid.js
  • scripts/render_report.mjs

Open the folder on GitHubat commit a6c7ed2

Compare with similar skills

Hai Visual Explainer next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Hai Visual Explainer compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Hai Visual Explainer this skillhylarucoder/hai-stack380—~2kAutomated safety check: PassCustom licence
Opencharttryopendata/skills141—~11kAutomated safety check: PassMIT
HTML Explainergreenfield-inc/Pane519—~1.6kAutomated safety check: NotesCustom licence
Concept DiagramsTommy-yw/RunbookHermes5463 repos~4.3kAutomated safety check: PassMIT
Data Viz Rendererzebbern/claude-code-guide4.6k—~1.3kAutomated safety check: PassMIT
Alt Text DesignOwl-Listener/inclusive-design-skills103—~946Automated safety check: PassMIT

Similar skills

  • Openchart

    tryopendata/skills

    Generates OpenChart (https://github.com/tryopendata/openchart) chart, table, graph, sankey, tilemap, and geo map specs from data, and guides editorial design decisions.

    141 GitHub stars~11k tokensUpdated 2 mo ago
    DevelopmentAuto-check passed
  • HTML Explainer

    greenfield-inc/Pane

    The house standard for any skill that renders an HTML page for a person to read, covering design tokens, typography, components, diagrams, and quality gates so every generated page shares one calm…

    519 GitHub stars~1.6k tokensUpdated today
    Frontend & DesignAuto-check: notes
  • Concept Diagrams

    Tommy-yw/RunbookHermes

    Generate flat, minimal light/dark-aware SVG diagrams as standalone HTML files, using a unified educational visual language with 9 semantic color ramps, sentence-case typography, and automatic dark…

    546 GitHub starsUsed in 3 repos~4.3k tokens
    Frontend & DesignAuto-check passed
  • Data Viz Renderer

    zebbern/claude-code-guide

    Generate self-contained HTML/SVG infographics from JSON data, including stat cards, bar charts, flow diagrams, and mixed dashboards.

    4.6k GitHub stars~1.3k tokensUpdated today
    Media & CreativeAuto-check passed
  • Alt Text Design

    Owl-Listener/inclusive-design-skills

    Write meaningful alternative text for images, charts, diagrams, and visual content.

    103 GitHub stars~946 tokensUpdated 3 mo ago
    Media & CreativeAuto-check passed
  • Visual Design

    aws-samples/sample-strands-agent-with-agentcore

    Official

    Use this skill any time the user needs a visual output as an image or PDF — charts, diagrams, posters, infographics, abstract artwork, or any visual design.

    194 GitHub stars~1.5k tokensUpdated yesterday
    Media & CreativeAuto-check passed

More from hylarucoder/hai-stack

All 18 skills in this repo
  • Verify a defined software change against requirements and produce a proportional, evidence-backed acceptance report with specification precedence, scope boundaries, requirement-to-evidence…

    380 GitHub stars~2.1k tokensUpdated 2 days ago
    Auto-check passed
  • Hai Ast Grep

    hylarucoder/hai-stack

    Produces a ready-to-run ast-grep command or reusable YAML lint/codemod rule, validated against positive and negative fixtures.

    380 GitHub stars~1.5k tokensUpdated 2 days ago
    Auto-check passed
  • Readme Beautifier

    hylarucoder/hai-stack

    Reformats and restructures a README or similar Markdown project document without changing its factual content, voice, or scope, then summarizes formatting-only edits.

    380 GitHub stars~1.8k tokensUpdated 2 days ago
    Auto-check passed
  • Code Review And Quality

    hylarucoder/hai-stack

    Reviews a code change for correctness, security, maintainability, architecture, performance, and verification gaps, or performs a local code-smell review.

    380 GitHub stars~934 tokensUpdated 2 days ago
    Auto-check passed
  • Entity Model Auditor

    hylarucoder/hai-stack

    Audits an entity model field by field: what should exist, what exists now, where each value belongs (column, config, computed runtime value, or removal), and what must migrate.

    380 GitHub stars~1.5k tokensUpdated 2 days ago
    Auto-check passed
  • Geju

    hylarucoder/hai-stack

    Challenges an overly conservative, incremental, or compatibility-led proposal with a bold target model, a concrete kill/merge/split list, materially different options, and a falsifiable first proof…

    380 GitHub stars~1.8k tokensUpdated 2 days ago
    Auto-check passed

Questions about Hai Visual Explainer

What does Hai Visual Explainer do?

Turns supplied content into self-contained HTML and PNG in two modes: card for one shareable frame(知识卡、信息卡、金句卡、封面、把要点做成一张图), report for multi-section documents(可视化报告、HTML 汇报页、PRD/计划/评审做成网页). Hai Visual Explainer is an agent skill from hylarucoder/hai-stack. Turns supplied content into self-contained HTML and PNG in two modes: card for one shareable frame(知识卡、信息卡、金句卡、封面、把要点做成一张图), report for multi-section documents(可视化报告、HTML 汇报页、PRD/计划/评审做成网页).

When should I use Hai Visual Explainer?

Hai Visual Explainer fits situations like: tasks that involve Infographics; tasks that involve Diagrams; tasks that involve PRD writing.

How do I install Hai Visual Explainer in Claude Code?

Run `npx skills add hylarucoder/hai-stack --skill hai-visual-explainer -a claude-code`. Or copy the skill folder (skills/hai-visual-explainer in hylarucoder/hai-stack) into .claude/skills/hai-visual-explainer in your project. Claude Code loads it when a task matches its description.

How do I install Hai Visual Explainer in Codex?

Run `npx skills add hylarucoder/hai-stack --skill hai-visual-explainer -a codex`. Or copy the skill folder (skills/hai-visual-explainer in hylarucoder/hai-stack) into .agents/skills/hai-visual-explainer in your project. Codex loads it when a task matches its description.

Can I use Hai Visual Explainer in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add hylarucoder/hai-stack --skill hai-visual-explainer -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/hai-visual-explainer, .gemini/skills/hai-visual-explainer, .github/skills/hai-visual-explainer and .opencode/skills/hai-visual-explainer in your project.

What does Hai Visual Explainer need to run?

Going by SKILL.md and its folder, Hai Visual Explainer needs JavaScript for the scripts in its folder and the command-line tools its instructions call (node). Our summary lists: Node.js.

Does Hai Visual Explainer access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Hai Visual Explainer safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Hai Visual Explainer use?

Hai Visual Explainer has a licence file (the repository's licence) that doesn't match a standard licence. Read it on GitHub before reusing the skill.

How many tokens does Hai Visual Explainer use?

About 2k tokens (SKILL.md is roughly 8.1k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 2.3k tokens, read only when the agent opens those files.

What are the alternatives to Hai Visual Explainer?

Skills that share tags, products or a category with Hai Visual Explainer: Openchart (tryopendata/skills, 141 stars), HTML Explainer (greenfield-inc/Pane, 519 stars), Concept Diagrams (Tommy-yw/RunbookHermes, 546 stars) and Data Viz Renderer (zebbern/claude-code-guide, 4.6k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Hai Visual Explainer?

hylarucoder (a GitHub user) maintains it in hylarucoder/hai-stack, which has 380 GitHub stars. The repository holds 18 skills in this directory. The repository was last updated on October 5, 2026.

Source: hylarucoder/hai-stack on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.