doc-visual

doc-visual is a skill for Claude Code from LeeJuOh/claude-code-zero. It costs 60 tokens per session (1,902 once invoked), scanned C, original, MIT.

A document-conversion skill that turns one Markdown file into a visual HTML report with diagrams matched to its sections. Markdown is plain text formatted with simple symbols for headings, lists, and other structure.

In plain words
What is it for?
Use it to illustrate a Markdown document, create a visual report, or produce HTML or Markdown output in a chosen language.
Why use it?
It helps readers understand a text-heavy document without creating diagrams and layout by hand. It reads the complete source document so important details are not reduced to summaries.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: names the AskUserQuestion tool.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the vision-powers plugin — 5 skills, 2 agents shipped together

Good fit Use it to illustrate a Markdown document, create a visual report, or produce HTML or Markdown output in a chosen language.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add LeeJuOh/claude-code-zero
Claude Code
/plugin install vision-powers

Made for: Claude Code.

Or install vision-powers, the plugin that ships this one along with the rest of its 5 skills, 2 agents.

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 doc-visual

README.md
[![agentmods](https://agentmods.dev/badge/skills/leejuoh/claude-code-zero/doc-visual/github.svg)](https://agentmods.dev/skills/leejuoh/claude-code-zero/doc-visual)
Your own site
<a href="https://agentmods.dev/skills/leejuoh/claude-code-zero/doc-visual"><img src="https://agentmods.dev/badge/skills/leejuoh/claude-code-zero/doc-visual/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for doc-visual

Your own site · 80×15
<a href="https://agentmods.dev/skills/leejuoh/claude-code-zero/doc-visual"><img src="https://agentmods.dev/badge/skills/leejuoh/claude-code-zero/doc-visual.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 60 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,902 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 1 finding. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00060 $0.01902
Opus 5.5 $0.00024 $0.00761
Sonnet 5.5 $0.00012 $0.00380
Haiku 4.5 $0.00006 $0.00190

Measured 9d ago against content hash a9ed231e895e, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade C, and why

doc-visual scanned grade C with 1 finding 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 9d 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.

Recursive force deletehighDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

allowed-tools: Read, Bash(node *), Bash(open *), Bash(rm -rf /tmp/doc-visual-*), Artifact, Skill(artifact-design), AskUserQuestion
plugins/vision-powers/skills/doc-visual/SKILL.md · 150 lines

How it starts

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

doc-visual

Read a markdown document and write a visual report with diagrams that match each section's meaning. Output is HTML (default) or markdown. You write the output directly — no templates, no intermediate JSON, no agent chains.

Why this matters

A pipeline of agents that each see only the previous stage's output compresses the content into summaries of summaries. You see the original document in full — that's the core advantage. If you find yourself writing "this section discusses X" instead of explaining X, that's compression, and it's the failure this skill exists to prevent.

Input

Argument = single markdown file path. Directories, URLs, stdin not supported.

  1. Validate file exists + markdown extension (.md, .markdown, .txt)
  2. Missing/no permission → abort immediately
  3. Read the full file content

Format detection

Flag Values Default
--format html / md html
--lang ISO code auto-detected from document
--local switch off — capable HTML publishes to an Artifact by default
--artifact switch retained no-op alias (already the default on capable HTML)

The report language must match the source document's language.

Channel, flags, and config follow ${CLAUDE_PLUGIN_ROOT}/references/design-system/channel-decision.md — read it before writing. In short: capable HTML publishes to a claude.ai Artifact; --local (or "keep it local", "don't publish") forces the local file; md stays local unless this turn asks to publish it. Stored config: node ${CLAUDE_PLUGIN_ROOT}/scripts/config.js get --data-dir "${CLAUDE_PLUGIN_DATA}".

Writing the report

You write the output yourself. No template files, no assembly scripts, no intermediate formats.

Output paths

All under ${CLAUDE_PLUGIN_DATA}/reports/:

Channel Path
HTML, Artifact (default) {doc-basename}-doc-visual.artifact.html
HTML, local (--local / non-capable fallback) {doc-basename}-doc-visual.html
md {doc-basename}-doc-visual.md — also inserted into the response body
md, published on request {doc-basename}-doc-visual.artifact.md

Read the full file on GitHub · 150 lines

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. 9d ago Changed · -230 lines · -26 tokens per session a9ed231e895e
  2. 23d ago Changed 7a53e9343a4e
  3. 1mo ago Changed fd1bc2d07807
  4. 1mo ago First seen · 380 lines · 86 tokens per session scan C e9675f749ef5

Subscribe to this mod's changes

doc-visual is a skill published in the GitHub repository LeeJuOh/claude-code-zero (52 stars, last pushed 3d ago), licensed MIT. It adds 60 tokens to every session and 1,902 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it C with 1 finding (recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.