html-visual

html-visual is a skill for Claude Code, Codex from 2ykwang/agent-skills. It costs 111 tokens per session (1,356 once invoked), scanned A, original, MIT.

A tool for generating one interactive HTML file that presents information as a visual, such as a mockup, flowchart, chart, dashboard, timeline, or table.

In plain words
What is it for?
Use it to create interface mockups, database diagrams, architecture views, process flows, presentations, schedules, mind maps, kanban boards, and data tables.
Why use it?
It turns a request that would be difficult to understand in prose into a rendered page that can be viewed and interacted with.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/2ykwang/agent-skills/html-visual
Any agent
npx skills add 2ykwang/agent-skills --skill html-visual
Clone the repo
git clone --depth 1 https://github.com/2ykwang/agent-skills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for html-visual

README.md
[![agentmods](https://agentmods.dev/badge/skills/2ykwang/agent-skills/html-visual.svg)](https://agentmods.dev/skills/2ykwang/agent-skills/html-visual)
Your own site
<a href="https://agentmods.dev/skills/2ykwang/agent-skills/html-visual"><img src="https://agentmods.dev/badge/skills/2ykwang/agent-skills/html-visual.svg" alt="Measured on agentmods" height="20"></a>
Per session 111 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,356 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00111 $0.01356
Opus 5 $0.00056 $0.00678
Sonnet 5 $0.00022 $0.00271
Haiku 4.5 $0.00011 $0.00136

Measured 5d ago against content hash 69e6e85c1f4d, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

html-visual scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/html-visual/SKILL.md · 140 lines

How it starts

The opening of the file, as written. The whole thing — 140 lines — stays where its author put it; the contents beside it link to each section on GitHub.

HTML Visualization

Input

$ARGUMENTS

Instructions

Visualize the user's request as an interactive single HTML file. First, read references/common-rules.md to review common rules.

Type Determination

Determine the type from the first word of $ARGUMENTS.

Argument Type Filename Pattern
mockup UI mockup (high-fidelity) mockup-{name}.html
wireframe Wireframe (low-fidelity, hand-drawn style) wireframe-{name}.html
erd ERD erd-{name}.html
flow Flowchart / Sequence diagram flow-{name}.html
chart Data chart chart-{name}.html
slides Presentation slides-{name}.html
arch Architecture diagram arch-{name}.html
dashboard Composite dashboard dashboard-{name}.html
timeline Timeline / Gantt chart timeline-{name}.html
mindmap Mindmap mindmap-{name}.html
kanban Kanban board kanban-{name}.html
table Interactive data table table-{name}.html

No match: Infer the type from the request content. If unable to infer, ask the user. When inferred, use visual-{name}.html as the filename.

{name} rule: Extract the core noun from the request and convert to kebab-case. e.g., "user login form" → login-form, "payment flow" → payment-flow.

Input Handling

  • File path provided: Read and analyze the file, then visualize. e.g., /html-visual erd schema.prisma → Analyze the Prisma schema to auto-generate ERD
  • Existing HTML modification: Read and modify the existing file. Do not recreate from scratch.
  • Natural language only: Infer the type, then generate.

Context Gathering

  • Description is sufficient: Generate immediately (e.g., "simple login form mockup")
  • Project code reference needed: Read code/schema/API first (e.g., "our project's ERD", "current payment flow")
  • Criterion: If the request contains project context references like "our", "current", "project's", read the code first.

Read the full file on GitHub · 140 lines

Files

What ships with it

4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 5d ago First seen · 140 lines · 111 tokens per session scan A 69e6e85c1f4d

Subscribe to this mod's changes

html-visual is a skill published in the GitHub repository 2ykwang/agent-skills (19 stars, last pushed 1mo ago), licensed MIT. It adds 111 tokens to every session and 1,356 once invoked, about $0.0006 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

hermes-diagnostic-review

Use when running a read-only diagnostic review of recent Hermes sessions to find recurring mistakes, failed tool calls, and repeated fixes, then propose suggestion-only improvements and reusable skills. Human-gated; never auto-applies.

AtlasOmnia/hermes-custom-pack · 49 tokens

gh-issues

Fetch GitHub issues, spawn sub-agents to implement fixes and open PRs, then monitor and address PR review comments. Usage: /gh-issues [owner/repo] [--label bug] [--limit 5] [--milestone v1.0] [--assignee @me] [--fork user/repo] [--watch] [--interval 5] [--reviews-only] [--cron] [--dry-run] [--model glm-5]…

SafeAI-Lab-X/ClawKeeper · 116 tokens

healthcheck

Host security hardening and risk-tolerance configuration for OpenClaw deployments. Use when a user asks for security audits, firewall/SSH/update hardening, risk posture, exposure review, OpenClaw cron scheduling for periodic checks, or version status checks on a machine running OpenClaw (laptop, workstation, Pi, VPS).

SafeAI-Lab-X/ClawKeeper · 70 tokens

clawkeeper

Install, configure, verify, and debug the Clawkeeper watcher stack in this workspace. Use when a user asks to set up clawkeeper, initialize remote or local mode, enable clawkeeper-watcher, wire clawkeeper-bands, diagnose context-judge routing, inspect watcher logs, fix mode/config mismatches, or troubleshoot startup…

SafeAI-Lab-X/ClawKeeper · 98 tokens

oracle

Best practices for using the oracle CLI (prompt + file bundling, engines, sessions, and file attachment patterns).

SafeAI-Lab-X/ClawKeeper · 25 tokens

peekaboo

Capture and automate macOS UI with the Peekaboo CLI.

SafeAI-Lab-X/ClawKeeper · 17 tokens