render-visual

A tool for creating diagrams, presentation slides, and social-media cards as image or PDF files. It uses web-page and vector markup rendered by a local browser.

In plain words
What is it for?
For architecture diagrams, flowcharts, sequence diagrams, process lanes, hierarchies, slides, and social preview cards.
Why use it?
It lets developers regenerate visuals from editable source when the text or layout changes, without needing a design application.

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/imshaikot/render-visual-skill/render-visual
Any agent
npx skills add imshaikot/render-visual-skill --skill render-visual
Clone the repo
git clone --depth 1 https://github.com/imshaikot/render-visual-skill

Made for: Claude Code, Codex.

Per session 240 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 9,794 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 2 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.00240 $0.09794
Opus 5 $0.00120 $0.04897
Sonnet 5 $0.00048 $0.01959
Haiku 4.5 $0.00024 $0.00979

Measured yesterday against content hash 47ee09529df3, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade B, and why

render-visual scanned grade B with 2 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 yesterday.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/animate.mjs, scripts/chrome.mjs), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

Enumerates other installed skillsmediumAgent snooping

Other skills' SKILL.md files reveal prompts, capabilities and secrets that should be invisible to peers.

ls -d ~/.claude/skills/render-visual ~/.agents/skills/render-visual \

Makes network callslowCapability

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

still screenshots as a success. `curl -fsSL -o image.png "…"` first.
skills/render-visual/SKILL.md · 587 lines

How it starts

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

render-visual — designed PNGs from HTML, no design tool

Every image this skill produces is a small HTML/SVG page screenshotted by headless Chrome: fully versioned, diffable, regenerable in seconds when the copy changes, and styled by a theme file instead of hand-picked colors.

Template Canvas For
$SKILL/templates/diagram.html 1360×740 Architecture and flow figures: nodes, labeled arrows, a return path, a line-crossing bridge
$SKILL/templates/slide.html 1920×1080 Presentation slides: kicker, headline with a gradient phrase, up to three points, footer
$SKILL/templates/card.html 1200×630 Social/og cards: mark, headline, one-paragraph pitch, chips, bottom rule
$SKILL/templates/sequence.html 1360×740 Sequence diagrams: lifelines, calls and returns, activations — static, or animated step by step
$SKILL/templates/swimlane.html 1360×740 Cross-functional flows: lanes that own the steps, labelled handoffs, an exception path that never leaves its lane
$SKILL/templates/tree.html 1360×740 Hierarchies, both idioms: an indented tree view (files, nav, an outline) beside the same tree drawn node-link
$SKILL/templates/cluster.html 1360×740 What runs inside a boundary: control plane, worker nodes, pods, and the state that outlives a rebuild
$SKILL/templates/deployment.html 1360×740 Which artifact lands on which machine, over which protocol: el-cube nodes, «stereotypes», artifact chips — see §5
$SKILL/templates/flowchart.html computed Mermaid flowcharts. A vertically long process chart — decisions, branch labels, subgraph boundaries, retry loops. Never hand-authored: scripts/mermaid.mjs generates it from mermaid text — see §10
$SKILL/templates/mindmap.html 1360×740 A question in the middle and the answers around it: six branches, two leaves each, one branch emphasised
$SKILL/templates/code.html 1360×740 Code snippets in a themed window (Carbon-style): hand-highlighted tokens, line numbers, a highlight line, diff rows — see §7
$SKILL/templates/charts.html parts sheet Browsable catalogue of the chart and BI parts — pie, donut, bar, line, area, stacked, scatter, funnel, gauge, heatmap, sparkline, KPI tile, table, dashboard. Schematic figures, not plotted data — see §5
$SKILL/templates/palette.html 1360×980 Theme specimen: the tokens, both fonts, the gradient, the alpha ladders, the parts dressed by that theme. A catalogue, never a deliverable — see §4
$SKILL/templates/elements.html parts sheet Browsable catalogue of the frames, infrastructure shapes, deployment node and icon glyphs in $SKILL/parts/. Reference them, don't copy them. Never a deliverable — see §5
Theme Mood Fonts
ember Warm dark — amber-hued neutrals, cyan/ember/magenta accents Inter Tight + JetBrains Mono
slate Cool dark — violet-leaning neutrals, jewel accents Space Grotesk + IBM Plex Mono
paper Light editorial — warm paper, serif display, print restraint Fraunces + IBM Plex Mono
terminal Near-black phosphor — mono everything, green/amber JetBrains Mono
blueprint Drafting board — cyanotype navy, chalk lines, a grid that reads Archivo + Roboto Mono
frost Light UI — cool white, glass surfaces, indigo/teal Manrope + JetBrains Mono
neon After hours — indigo dark, high-chroma magenta and cyan Chakra Petch + Fira Code
sepia Aged press — cream stock, brown ink, typewriter mono Newsreader + Courier Prime

To see one whole, render the specimen sheet in it:

node "$SKILL/scripts/render.mjs" "$SKILL/templates/palette.html" palette.png --theme blueprint

Read the full file on GitHub · 587 lines

Files

What ships with it

60 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. yesterday First seen · 587 lines · 240 tokens per session scan B 47ee09529df3

Subscribe to this mod's changes

render-visual is a skill published in the GitHub repository imshaikot/render-visual-skill (7 stars, last pushed 6d ago), licensed MIT. It adds 240 tokens to every session and 9,794 once invoked, about $0.0012 per session on Opus 5. A static security scan graded it B with 2 findings (enumerates other installed skills, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

frame-flowchart-sticky

SVG 曲线连接 + 便利贴节点 + 光标交互, 像白板 brainstorm.

nexu-io/html-anything · 27 tokens

arxiv-paper-writer

Write LaTeX ML/AI review articles for arXiv using the IEEEtran template and verified BibTeX citations. Use when writing, planning, or continuing an arXiv review/survey paper, or when validating and repairing citations in an existing LaTeX project.

appautomaton/latex-arxiv-SKILL · 62 tokens

collaborating-with-gemini

Use the Gemini CLI to consult Gemini and delegate coding tasks for prototyping, debugging, and code review. Supports multi-turn sessions via SESSIONID. Optimized for low-token, file/line-based handoff.

appautomaton/latex-arxiv-SKILL · 50 tokens

create-diagram

Create architecture diagrams from a local codebase or system description. Use when the user asks to diagram a repo, map system architecture, show component relationships, create drill-down views, or explain a system visually with tld.

Mertcikla/tld · 48 tokens

latex-rhythm-refiner

Post-process LaTeX project prose to improve readability through varied sentence and paragraph lengths. Removes filler phrases and unnecessary transitions while preserving all citations and semantic meaning. Use after drafting is complete, when sections read as monotonous or blocky.

appautomaton/latex-arxiv-SKILL · 53 tokens

commit

Atomic git commit with conventional message. Use when the user says "commit", "save my changes", "commit this", or wants to create a git commit. Stages specific files, writes a conventional commit message with body explaining non-obvious decisions. Never uses git add -A.

congchuanling-dot/Cohort · 59 tokens