viz-render

viz-render is a skill for Claude Code from musingfox/cc-plugins. It costs 116 tokens per session (1,557 once invoked), scanned A, original, MIT.

A browser renderer for Markdown documents, Mermaid diagrams, and plan files. It turns structured text into formatted HTML with code highlighting, formulas, diagrams, scrolling, and a dark mode.

In plain words
What is it for?
Use it to preview Markdown as a web page, display Mermaid flowcharts and other diagrams, or view plan files and lengthy structured reports.
Why use it?
It avoids reading long or diagram-heavy content as plain terminal text. It gives you a browser view when a document, table, formula, or diagram is difficult to inspect in text.

Skill for Claude Code

Written for Claude Code: ${CLAUDE_PLUGIN_ROOT} variable. Also seen: reads .claude/ paths.

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 viz plugin — 2 skills shipped together

Good fit Use it to preview Markdown as a web page, display Mermaid flowcharts and other diagrams, or view plan files and lengthy structured reports.

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 musingfox/cc-plugins
Claude Code
/plugin install viz

Made for: Claude Code.

Or install viz, the plugin that ships this one along with the rest of its 2 skills.

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 viz-render

README.md
[![agentmods](https://agentmods.dev/badge/skills/musingfox/cc-plugins/viz-render/github.svg)](https://agentmods.dev/skills/musingfox/cc-plugins/viz-render)
Your own site
<a href="https://agentmods.dev/skills/musingfox/cc-plugins/viz-render"><img src="https://agentmods.dev/badge/skills/musingfox/cc-plugins/viz-render/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 viz-render

Your own site · 80×15
<a href="https://agentmods.dev/skills/musingfox/cc-plugins/viz-render"><img src="https://agentmods.dev/badge/skills/musingfox/cc-plugins/viz-render.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 116 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,557 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 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.00116 $0.01557
Opus 5.5 $0.00046 $0.00623
Sonnet 5.5 $0.00023 $0.00311
Haiku 4.5 $0.00012 $0.00156

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

Security

Grade A, and why

viz-render scanned grade A 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 1mo 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

Requires macOS (`open`, `stat -f`), `python3`, `curl`, `lsof`, and network
viz/skills/viz-render/SKILL.md · 154 lines

How it starts

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

Viz Render Skill

Render markdown documents, Mermaid diagrams, or plan files as formatted HTML with syntax highlighting, math formulas, and Pele diagrams (Mermaid syntax), in the dark-only Musingfox design system. One skill, one script, three input shapes.

Requires macOS (open, stat -f), python3, curl, lsof, and network access for the CDN that loads Pele, KaTeX, and highlighting.

When NOT to Use

  • Short non-table content (<20 lines) or simple diagrams (2–8 nodes) — use the viz-inline skill's chat shapes (call tree, pseudocode, diff) instead
  • User explicitly wants terminal/text output
  • User is asking to edit or modify the content, not view it

Input Shapes → Workflow

Shape A: file path

User gave an absolute/relative path to a markdown file.

bash "${CLAUDE_PLUGIN_ROOT}/lib/render.sh" "{file_path}" "doc-{name}"

Shape B: plan name (bare name, no path separator, no .md)

List available plans or resolve by name against ~/.claude/plans/:

INPUT="$ARGUMENTS"
PLANS_DIR="$HOME/.claude/plans"

if [ -z "$INPUT" ]; then
    echo "Available plans in $PLANS_DIR:"
    ls -t "$PLANS_DIR"/*.md 2>/dev/null | head -20 | xargs -n1 basename | sed 's/\.md$//' | sed 's/^/  - /'
elif [ -f "$INPUT" ]; then
    DOC_FILE="$INPUT"; DOC_NAME=$(basename "$DOC_FILE" .md)
    bash "${CLAUDE_PLUGIN_ROOT}/lib/render.sh" "$DOC_FILE" "doc-$DOC_NAME"
else
    DOC_FILE="$PLANS_DIR/$INPUT.md"
    [ -f "$DOC_FILE" ] && bash "${CLAUDE_PLUGIN_ROOT}/lib/render.sh" "$DOC_FILE" "doc-$INPUT" \
      || { echo "Plan not found: $INPUT.md"; ls -t "$PLANS_DIR"/*.md 2>/dev/null | head -10 | xargs -n1 basename | sed 's/\.md$//' | sed 's/^/  - /'; }
fi

Shape C: inline content or Mermaid code

Write the content (or Mermaid wrapped in a ```mermaid fence) to a temp markdown file, then render.

For inline markdown, write to /tmp/viz-doc-{timestamp}.md.

For bare Mermaid code, wrap as:

# {Diagram Title}

```mermaid
{mermaid code}
```

Read the full file on GitHub · 154 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. 1mo ago Changed c1056ddbe6b5
  2. 1mo ago Changed · +1 lines 9e4aaec0bfa0
  3. 1mo ago Changed · -39 lines · +5 tokens per session f1e2d62e5af8
  4. 2mo ago Changed · +4 lines 47b1da3e17cb
  5. 2mo ago Changed · +2 lines 72732e25e5c7
  6. 2mo ago Changed 4bb4da7f44a1
  7. 2mo ago First seen · 186 lines · 111 tokens per session scan A f424d4182e63

Subscribe to this mod's changes

viz-render is a skill published in the GitHub repository musingfox/cc-plugins (2 stars, last pushed 4d ago), licensed MIT. It adds 116 tokens to every session and 1,557 once invoked, about $0.0005 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-05.

Related

viz-render compared with skills from other repositories

viz-render next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
viz-rendermusingfox/cc-pluginsSkill24d agoMITA116Claude Code
orbit-notionnexu-io/open-designSkill110ktodayApache-2.0A117Claude Code, Codex
instrument-data-to-allotropeanthropics/knowledge-work-pluginsSkill37ktodayApache-2.0A123Claude Code
report-to-pdfasgeirtj/system_prompts_leaksSkill74kyesterdayCC0-1.0A17Claude Code, Codex
legal-holdanthropics/claude-for-legalSkill10ktodayApache-2.0A68Claude Code
artifact-template-minimal-letterheadasgeirtj/system_prompts_leaksSkill74kyesterdayCC0-1.0A54Claude Code, Codex
feishuHmbown/CodeWhaleSkill41kyesterdayMITA33Claude Code, Codex