viz-render

viz-render is a skill for Claude Code from musingfox/cc-plugins. It costs 116 tokens per session (1,548 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,548 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.01548
Opus 5.5 $0.00046 $0.00619
Sonnet 5.5 $0.00023 $0.00310
Haiku 4.5 $0.00012 $0.00155

Measured 10d ago against content hash f1e2d62e5af8, 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 10d 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 · 153 lines

How it starts

The opening of the file, as written. The whole thing — 153 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 Mermaid, 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 Mermaid, 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}
```

…write to /tmp/viz-diagram-{name}.md, then:

Read the full file on GitHub · 153 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. 10d ago Changed · -39 lines · +5 tokens per session f1e2d62e5af8
  2. 18d ago Changed · +4 lines 47b1da3e17cb
  3. 19d ago Changed · +2 lines 72732e25e5c7
  4. 1mo ago Changed 4bb4da7f44a1
  5. 1mo 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 yesterday), licensed MIT. It adds 116 tokens to every session and 1,548 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

Other skills, from other repositories

orbit-notion

Open Orbit briefing skill — selected by the Orbit pipeline when Notion is the user's only connected connector, or when the user explicitly scopes their daily digest to Notion. Pulls the past 24 hours of document edits, comments, mentions, and database row changes from the user's authenticated Notion connection and…

nexu-io/open-design · 117 tokens

instrument-data-to-allotrope

Convert laboratory instrument output files (PDF, CSV, Excel, TXT) to Allotrope Simple Model (ASM) JSON format or flattened 2D CSV. Use this skill when scientists need to standardize instrument data for LIMS systems, data lakes, or downstream analysis. Supports auto-detection of instrument types. Outputs include full…

anthropics/knowledge-work-plugins · 123 tokens

legal-hold

Issue, refresh, release, or report on legal holds — drafts the hold notice as .docx, updates legalhold fields in log.yaml, and calendars the next refresh. Use when the user says "issue a hold", "refresh hold", "release hold", or asks for a portfolio-wide hold status report.

anthropics/claude-for-legal · 68 tokens

baoyu-youtube-transcript

A tool for downloading the written captions, subtitles, chapter information, speaker labels, and cover image from a YouTube video using its URL or ID.

JimLiu/baoyu-skills · 107 tokens

feishu

Work with Feishu or Lark bots, docs, sheets, bitables, approval flows, and OpenAPI/MCP setup without hardcoding credentials.

Hmbown/CodeWhale · 33 tokens

read

Fetches URLs and PDFs, then summarizes or returns clean Markdown. Use when asked to read, fetch, quote, cite, convert, or save a URL or PDF. Not for local text files already in the repo.

tw93/Waza · 46 tokens