Doc Visual logo

Doc Visual

Community
LeeJuOh
doc-visual

Turn a markdown document (README, spec, ADR, design doc, research note) into a visual report with diagrams matched to each section. Use when asked to visualize, illustrate, or add diagrams to a document, or to turn markdown into a report. Takes one md file.

Overview

PublisherLeeJuOh
Repositoryclaude-code-zero
Skill namedoc-visual
Stars
53
Forks
4
Bundled files
Instructions only
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.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by LeeJuOh on GitHub. Read the source before you install it.

Installation

Install the Doc Visual 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/LeeJuOh/claude-code-zero/tree/main/plugins/vision-powers/skills/doc-visual
  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/LeeJuOh/claude-code-zero.git /tmp/claude-code-zero
mkdir -p .claude/skills
cp -r /tmp/claude-code-zero/plugins/vision-powers/skills/doc-visual .claude/skills/doc-visual
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Doc Visual 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 Doc Visual 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 Doc Visual 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.

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

FlagValuesDefault
--formathtml / mdhtml
--langISO codeauto-detected from document
--localswitchoff — capable HTML publishes to an Artifact by default
--artifactswitchretained 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/:

ChannelPath
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

The HTML is one file you write yourself; on the local channel it embeds diagrams as <pre class="mermaid"> blocks. The md report uses ```mermaid fences, footer links to the source path, and no CSS or <script>. The saved md copy lets report-manager list and refine it later.

Modes

Decide which mode fits the source document:

ModeWhenDiagramsText depth
explainerTutorials, guides, narrative docsIllustrate conceptsFull prose — preserve all substance
structuralADRs, specs, API docs, config referencesMap relationshipsStructured — tables, definition lists, code blocks

If the document mixes both (e.g., a spec with a narrative intro), use structural as the base and apply explainer treatment to narrative sections.

Section-to-diagram mapping

For each section in the source document, decide whether a diagram adds value. Not every section needs one — if a table or list says it better, use that.

Read ${CLAUDE_PLUGIN_ROOT}/references/design-system/diagram-type-selection.md to choose the right type from the 13-type menu. The mapping priority section tells you which keywords suggest which types.

When no diagram fits, skip it. A section with good prose and no diagram beats a section with a forced diagram.

Component menu

These are the building blocks. Mix them as the content demands:

ComponentWhen to use
Diagram (Mermaid locally, inline SVG on an Artifact)Relationships, flows, hierarchies — when connections are the point
TableComparisons, specs, 2-3 column data
Code blockConfigs, commands, API examples
Prose paragraphNarrative explanation, context, reasoning
Definition listTerm → meaning pairs
Callout boxWarnings, tips, important notes

Content integrity — the cardinal rule

The source document's substance must survive intact in the report. This means:

  • Specific numbers, names, dates from the source → appear in the report
  • Technical details (configs, commands, parameters) → preserved verbatim
  • Reasoning and nuance → kept, not flattened to bullet points
  • Code examples → reproduced in full

If you're writing "this section covers X" or "the document describes Y" — stop. That's a summary of the content, not the content. Include the actual content.

This cardinal rule is summary-leak, one of the reflexes in ${CLAUDE_PLUGIN_ROOT}/references/design-system/anti-slop-tells.md that pass every gate and still flatten the output — read it while shaping the content.

Short documents (<500 chars) get 1 section + 1 hero diagram. Long documents get proper sectioning but still preserve all substance.

Validate and deliver

Artifact channel (HTML default):

  1. node ${CLAUDE_PLUGIN_ROOT}/scripts/artifact-gate.js <output-path> --content-only — fix and re-run, max 2 retries.
  2. Publish the file with the Artifact tool, description = one sentence on what the page is.
  3. node ${CLAUDE_PLUGIN_ROOT}/scripts/write-artifact-sidecar.js --report <output-path> --url <artifact-url> --title <title>
  4. Reply with the URL and the publish notice (channel-decision.md "Artifact channel").

Local channel (--local / non-capable fallback):

  1. node ${CLAUDE_PLUGIN_ROOT}/scripts/artifact-gate.js <output-path>
  2. node ${CLAUDE_PLUGIN_ROOT}/scripts/render-report.js <output-path> --data-dir "${CLAUDE_PLUGIN_DATA}", then read the PNG and check density, hierarchy, Mermaid integrity, and overflow (visual-self-audit.md).
  3. open <output-path>

md: deliver in the response body. On a publish request, publish the .artifact.md with steps 2–3 above and no gate — see "Markdown on request" in channel-decision.md.

Publish unavailable or failed: HTML → regenerate as the local report at its local path, don't open the Artifact file; md → deliver in the chat body. Say so in one line, don't ask.

Error handling

FailureAction
File missing/no permissionAbort with message
Empty fileAbort — nothing to visualize
No headings (H1/H2/H3)Treat as single section
Mermaid syntax error after 2 fixesRemove that diagram, keep section prose

Reference files

Read these during report generation (not upfront — read the relevant one when you need it):

FileWhen to read
${CLAUDE_PLUGIN_ROOT}/references/design-system/channel-decision.mdBefore writing — channel, flags, config, per-channel rules
${CLAUDE_PLUGIN_ROOT}/references/design-system/mermaid-patterns.mdBefore writing any Mermaid diagram (local and md)
${CLAUDE_PLUGIN_ROOT}/references/design-system/semantic-tokens.mdWhen setting up CSS custom properties and Mermaid theme
${CLAUDE_PLUGIN_ROOT}/references/design-system/diagram-type-selection.mdWhen deciding diagram type for a section
${CLAUDE_PLUGIN_ROOT}/references/design-system/diagram-density-rules.mdWhen a diagram feels complex
${CLAUDE_PLUGIN_ROOT}/references/design-system/anti-slop-tells.mdWhile shaping content — to check you're not falling into a behavioral-slop reflex
${CLAUDE_PLUGIN_ROOT}/references/design-system/visual-self-audit.mdAfter the gate passes — the render-and-look loop (full procedure)

Frequently asked questions

What does the Doc Visual AI skill do?

Turn a markdown document (README, spec, ADR, design doc, research note) into a visual report with diagrams matched to each section. Use when asked to visualize, illustrate, or add diagrams to a document, or to turn markdown into a report. Takes one md file.

Why use Doc Visual on TypingMind?

Because you install it once and use it with any model. Doc Visual 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 Doc Visual in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/LeeJuOh/claude-code-zero/tree/main/plugins/vision-powers/skills/doc-visual. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Doc Visual?

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 Doc Visual?

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

Is the Doc Visual AI skill free?

Yes. It is published on GitHub by LeeJuOh 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 👇