svg-diagram

svg-diagram is a skill for Claude Code from PM-Shawn/Abu-Cowork. It costs 70 tokens per session (3,395 once invoked), scanned A, original, no licence file.

An SVG diagram generator for structured visuals such as architecture diagrams, flowcharts, sequence diagrams, hierarchy charts, and comparisons. SVG is a web image format that keeps diagrams sharp and allows flexible layouts.

In plain words
What is it for?
Generate HTML code containing SVG diagrams for rendering in a browser sandbox.
Why use it?
It helps create diagrams with more control over appearance and placement than Mermaid, a text-based diagram tool.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter.

Good fit Generate HTML code containing SVG diagrams for rendering in a browser sandbox.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/pm-shawn/abu-cowork/svg-diagram
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.

Any agent
npx skills add PM-Shawn/Abu-Cowork --skill svg-diagram
Clone the repo
git clone --depth 1 https://github.com/PM-Shawn/Abu-Cowork

Made for: Claude Code.

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 svg-diagram

README.md
[![agentmods](https://agentmods.dev/badge/skills/pm-shawn/abu-cowork/svg-diagram/github.svg)](https://agentmods.dev/skills/pm-shawn/abu-cowork/svg-diagram)
Your own site
<a href="https://agentmods.dev/skills/pm-shawn/abu-cowork/svg-diagram"><img src="https://agentmods.dev/badge/skills/pm-shawn/abu-cowork/svg-diagram/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 svg-diagram

Your own site · 80×15
<a href="https://agentmods.dev/skills/pm-shawn/abu-cowork/svg-diagram"><img src="https://agentmods.dev/badge/skills/pm-shawn/abu-cowork/svg-diagram.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 70 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,395 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin unknown 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.00070 $0.03395
Opus 5 $0.00035 $0.01698
Sonnet 5 $0.00014 $0.00679
Haiku 4.5 $0.00007 $0.00340

Measured 13d ago against content hash 9d934766672f, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

svg-diagram scanned grade A with 0 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 13d 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

builtin-skills/svg-diagram/SKILL.md · 227 lines

The source is not reproduced here

A licence we could not identify

The repository carries a LICENSE file, but it is custom or dual enough that GitHub cannot name it and neither can this catalogue. Unknown terms are not permission, so the body is not copied here. Read the licence at the source and decide for yourself.

Read it on GitHub

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. 13d ago First seen · 227 lines · 70 tokens per session scan A 9d934766672f

Subscribe to this mod's changes

svg-diagram is a skill published in the GitHub repository PM-Shawn/Abu-Cowork (371 stars, last pushed today), with no licence file. It adds 70 tokens to every session and 3,395 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

visual-design

A design skill for turning content into complete, self-contained HTML pages and visual materials such as websites, banners, posters, reports, resumes, and portfolios. It follows a defined visual design system and does not use outside images or code libraries.

Pinvou/pinvou-agent · 152 tokens

impeccable

Use when the user wants distinctive, production-grade frontend design, anti-generic AI aesthetics, UX critique, technical UI audits, or final polish through bundled Impeccable references and an optional upstream detector CLI.

Peiiii/nextclaw · 47 tokens

nextclaw-skin-studio

A studio for browsing, applying, creating, refining, switching, inspecting, and removing custom NextClaw skins. A skin changes an app's visual appearance and can include CSS, JavaScript, images, SVG, layout changes, and motion.

Peiiii/nextclaw · 115 tokens

ui-ux-pro-max

Use when the user wants professional UI/UX design guidance, design-system generation, UX review, or stack-specific frontend guidance through a bundled local UI/UX Pro Max dataset and Python search runtime.

Peiiii/nextclaw · 45 tokens

canvas-design

Use when design visual art and graphics using HTML5 Canvas, p5.js, or SVG. Create generative art, data visualizations, diagrams, and interactive graphics. Use when designing visual art and graphics using html5 canvas, p5.js, or.

oyi77/1ai-skills · 55 tokens

Diagram Design

Create polished, responsive technical and product diagrams as sanitized HTML with inline SVG.

MaxQian888/cognia-next · 18 tokens