svg-flowchart

svg-flowchart is a skill for Claude Code, Codex from endearqb/endearqb-skills. It costs 256 tokens per session (2,120 once invoked), scanned A, original, MIT.

A tool for turning written steps into a consistent SVG flowchart. SVG is a scalable image format that can be embedded in web pages and documents.

In plain words
What is it for?
Use it to create vertical, horizontal, grouped, or branching flowcharts from described procedures.
Why use it?
It makes processes easier to follow by laying out steps, groups, and decision branches as a reusable diagram.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to create vertical, horizontal, grouped, or branching flowcharts from described procedures.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/endearqb/endearqb-skills/endearqb-svg-flowchart
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 endearqb/endearqb-skills --skill endearqb-svg-flowchart
Clone the repo
git clone --depth 1 https://github.com/endearqb/endearqb-skills

Made for: Claude Code, Codex.

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-flowchart

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/endearqb/endearqb-skills/endearqb-svg-flowchart"><img src="https://agentmods.dev/badge/skills/endearqb/endearqb-skills/endearqb-svg-flowchart.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 256 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,120 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00256 $0.02120
Opus 5 $0.00128 $0.01060
Sonnet 5 $0.00051 $0.00424
Haiku 4.5 $0.00026 $0.00212

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

Security

Grade A, and why

svg-flowchart 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 12d 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.

skills/endearqb-svg-flowchart/SKILL.md · 198 lines

How it starts

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

SVG Flowchart Maker — 专业流程图生成 Skill

概览

本 skill 将用户描述的流程步骤转换为标准化、风格统一的 SVG 流程图。 核心流程:步骤解析 → 布局选型 → SVG 生成 → 文件输出


第一步:信息采集与确认

必须收集的信息

信息项 说明 无则处理
流程步骤 各步骤标题(必须) 无法继续,必须询问
步骤说明 每步骤的补充说明文字(可选) 步骤框只写标题
分支条件 判断节点的条件描述(有分支时必须) 菱形框内写「[条件]」占位
流程标题 整个流程图的标题(可选) 省略标题区
输出用途 嵌入HTML报告 / 独立文件 / 其他 默认独立 .svg 文件

生成前确认(调用 ask_user_input)

信息采集完成后,必须调用 ask_user_input 工具确认以下选项:

问题1(single_select):
  标题:布局方向
  选项:["垂直(从上到下)", "水平(从左到右)", "自动判断"]
  默认:自动判断

问题2(single_select):
  标题:是否含判断分支
  选项:["是(有 是/否 或 条件 分支)", "否(线性步骤)", "自动判断"]
  默认:自动判断

问题3(single_select):
  标题:配色风格
  选项:["暖墨纸(默认)", "清爽蓝绿", "极简灰白", "工程橙"]
  默认:暖墨纸

问题4(single_select):
  标题:附加输出
  选项:["仅 SVG 文件", "SVG + HTML 预览页"]
  默认:仅 SVG 文件

根据回答设定工作变量:

变量
LAYOUT vertical / horizontal / auto
HAS_BRANCH true / false
THEME default / blue / minimal / engineering
NEED_HTML true / false

第二步:布局自动判断(当 LAYOUT=auto 时)

步骤数 ≤ 4 且无分支  →  水平布局
步骤数 5–8 且无分支  →  垂直布局
步骤数 > 8 且无分支  →  垂直分组(每组 4 步,多列)
含分支               →  垂直 + 菱形判断节点

第三步:SVG 生成规范

读取 references/svg-spec.md 获取:

  • 箭头 marker 标准写法(orient="auto" 机制)
  • 各布局的坐标计算公式
  • 节点类型(矩形步骤框 / 菱形判断 / 圆角开始结束 / 平行四边形输入输出)
  • 配色方案(4 套主题)

核心生成规则(摘要)

SVG 根元素(必须)

<svg width="100%" viewBox="0 0 680 {H}" xmlns="http://www.w3.org/2000/svg">
  • viewBox 宽度固定 680,高度 H 按内容推导(公式见 svg-spec.md)
  • 不写死 width 像素值width="100%" 保证响应式

箭头必须遵守

<marker id="arr" markerWidth="10" markerHeight="7"
        refX="9" refY="3.5" orient="auto">
  <path d="M0,0 L0,7 L10,3.5 z" fill="#2f4f4f"/>
  <!-- 尖端在 x 最大处 (10,3.5) → orient="auto" 时自动朝向连线终点 -->
</marker>

步骤框标准尺寸(基于 viewBox 680):

  • 宽:260px(垂直)/ 自适应(水平,按公式压缩)
  • 高:44px(单行)/ 64px(双行标题+说明)/ 72px(长标题两行)
  • 圆角:rx="8"(统一,不用 rx=12/14)
  • 步骤间箭头区:28px
  • 开始/结束胶囊:160×32,rx="16"

文字必须用 dominant-baseline

<!-- 正确:y = 节点垂直中心,dominant-baseline 保证视觉居中 -->
<text x="340" y="{node_top + node_height/2}"
      text-anchor="middle" dominant-baseline="central"
      font-size="14" font-family="Georgia,serif" fill="#1d2328">标题</text>
  • 标题:font-size="14" + dominant-baseline="central"
  • 说明:font-size="12" + dominant-baseline="central",y = 标题 y + 22
  • 条件标注:偏移 10px 避免压线,不放箭头正中心

Read the full file on GitHub · 198 lines

Files

What ships with it

1 file 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. 12d ago First seen · 198 lines · 256 tokens per session scan A 092b006741d8

Subscribe to this mod's changes

svg-flowchart is a skill published in the GitHub repository endearqb/endearqb-skills (19 stars, last pushed 8d ago), licensed MIT. It adds 256 tokens to every session and 2,120 once invoked, about $0.0013 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

docs-sync-internal

Use when code changes on the current branch need matching internal or developer documentation — "update our internal docs", "the architecture docs are stale after this change", "document what I just changed", "do the dev docs still match the code?" — or as a pre-push check that developer docs track the code. Narrower…

The01Geek/prflow · 105 tokens

prd-architect

Updated to cover both pre-code PRD/ERD/Docs generation AND post-code continuous documentation updates / Diperbarui untuk mencakup pembuatan PRD/ERD/Docs pra-kode DAN pembaruan dokumentasi kontinu pasca-kode.

roedyrustam/vibes-plug · 58 tokens

pdf-document-generation-expert

Expert guide for PDF generation and document processing (React PDF, Puppeteer, jsPDF, pdf-lib) / Panduan ahli generasi PDF dan pemrosesan dokumen (React PDF, Puppeteer, jsPDF, pdf-lib).

roedyrustam/vibes-plug · 53 tokens

ag-5-documentos

Documentacao: Office (PPTX/DOCX/XLSX/PDF), README, API, diagramas, specs, changelog, data dictionary e CSV; executive para decks.

andregusman-raiz/a-gusman-claude · 44 tokens

pdf

Criar, editar, analisar, merge, split e preencher PDFs. Trigger quando usuario menciona .pdf, quer extrair texto/tabelas, criar relatorio PDF, ou manipular documentos PDF.

andregusman-raiz/a-gusman-claude · 43 tokens

pptx

Criar, editar e analisar apresentacoes PowerPoint (.pptx). Trigger quando usuario quer criar slides, pitch deck, editar apresentacao existente, extrair conteudo de .pptx.

andregusman-raiz/a-gusman-claude · 41 tokens