figure-drawing

figure-drawing is a skill for Claude Code from Azzygoatcoder/agent-useful-skills. It costs 46 tokens per session (4,118 once invoked), scanned A, original, MIT.

A workflow for making editable draw.io diagrams for research papers, technical systems, concepts, processes, and data.

In plain words
What is it for?
Use it to create paper-quality architecture and flow diagrams, quick explanatory graphics, or code-driven charts from experimental data.
Why use it?
It helps choose a diagram-making approach based on whether the goal is understanding, publication, a quick presentation graphic, or accurate data display.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: reads .claude/ paths.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is python bin/check_external.py # 报告:找到没有 / frontmatter 是否适配 DSH / 是否悬空.

Part of the superpowers plugin — 9 skills, 1 hook shipped together

Good fit Use it to create paper-quality architecture and flow diagrams, quick explanatory graphics, or code-driven charts from experimental data.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/Azzygoatcoder/agent-useful-skills
agentmods
npx agentmods add skills/azzygoatcoder/agent-useful-skills/figure-drawing

Made for: Claude Code.

Or install superpowers, the plugin that ships this one along with the rest of its 9 skills, 1 hook.

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 figure-drawing

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/azzygoatcoder/agent-useful-skills/figure-drawing"><img src="https://agentmods.dev/badge/skills/azzygoatcoder/agent-useful-skills/figure-drawing.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 46 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,118 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 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.00046 $0.04118
Opus 5.5 $0.00018 $0.01647
Sonnet 5.5 $0.00009 $0.00824
Haiku 4.5 $0.00005 $0.00412

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

Security

Grade A, and why

figure-drawing 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 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.

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.

plugins/superpowers/skills/figure-drawing/SKILL.md · 110 lines

How it starts

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

Figure Drawing — 论文制图工作流

科研骨架的制图模块。目标是产出论文级(DAC/ICML 水准)矢量图。

第 0 步:场景判定(先定给谁看,再选路线)

科研制图分场景,先判定场景,再决定标准和工作流:

场景 触发 要求 标准 路线
A. 内部理解 读别人论文精读、理解复杂架构、和 agent 对齐 中文可读、结构清晰、快速、可迭代 结构 9/10 就够,设计 7.5 可接受 直接画矢量,不用 gpt-image-2
B1. 对外·结构化图 自己的论文里的架构/流程/pipeline 图、投稿审稿 英文、严格一致、论文级 设计系统等价、英文逐字 直接画矢量(控制变量实测直绘 9.5 vs gpt-image-2 路线 7)
B2. 对外·示意/概念/封面 graphical abstract、封面、需要视觉冲击的示意图 设计感优先 隐喻成立 + 论文级设计 gpt-image-2 出设计 → 复刻英文矢量 → 一致性检查
C. 快速示意 组会 PPT、临时说明 最快、看懂就行 能表达即可 mermaid 或直接画
D. 数据图 精确数据/实验结果(折线/柱状/散点/误差棒) 数据准确、可复现、期刊样式 数值与数据一致 + 视觉达标 代码驱动(pandas/matplotlib,bin/data_plot.py)

选路判据(关键):结构化图(架构/流程/序列/状态/ER)一律直绘;只有「示意/概念/封面」这类需要设计冲击力的才走 gpt-image-2。完整依据见 references/prompt-design.md(2026-08-03 控制变量实验修正了早先"gpt-image-2 是设计提供者"的结论)。

例:LLSM 架构图 = 场景 A(读别人论文做理解图)→ 中文、直绘、不 gpt-image-2 是对的;同一个图改成投稿用英文版 = 场景 B1 → 仍然直绘,只是标签换英文。

场景 B 补位(2026-08-11):对外英文结构化图,尤其 sequence/state/ER/loop/radar/swimlane 等 draw.io 不擅长的类型 → 优先走独立 skill diagram-design(27 类型编辑器级,HTML+SVG 直绘,SVG 直接进 LaTeX \includegraphics)。draw.io 场景仍用本 skill 时,套用"编辑级别设计系统"当自查表。

技术/Agent 架构图补位(2026-08-12):Agent/多智能体/系统架构图 → fireworks-tech-graph(语义形状:LLM=双边框圆角矩形、Agent=六边形、向量库=环柱体;Agent/记忆/RAG 领域模式内建;SVG 结构校验→PNG 视觉回读→定向修订的有界验证环)。与 diagram-design(editorial 排版)和 drawio(可编辑)定位不重叠——它专攻技术语义图。

⚠️ 上面两个(diagram-design / fireworks-tech-graph)是本仓库之外的外部 skill,不随本仓库分发(见 THIRD-PARTY-NOTICES.md)。

别假设它们一定在——先跑一次探测再决定路线:

python bin/check_external.py          # 报告:找到没有 / frontmatter 是否适配 DSH / 是否悬空
pwsh  bin/redeploy-skills.ps1         # 修复:把找到的软链进 DSH 技能根(找不到只提示)

清单在 skills.external.json。为什么需要这步:DSH 只发现 ~/.dsh/skills、~/.agents/skills 与 <项目>/.dsh/skills,而这些外部 skill 常常只装在 ~/.claude/skills——技能里写着 "use diagram-design",DSH 里的模型却根本看不到它。探测不到就按本 skill 的直绘路线走, 不要调用不存在的技能。

Read the full file on GitHub · 110 lines

Files

What ships with it

3 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 · +23 lines 377b0498e1a6
  2. 1mo ago First seen · 87 lines · 46 tokens per session scan A 92a8c4ca0639

Subscribe to this mod's changes

figure-drawing is a skill published in the GitHub repository Azzygoatcoder/agent-useful-skills (9 stars, last pushed 1mo ago), licensed MIT. It adds 46 tokens to every session and 4,118 once invoked, about $0.0002 per session on Opus 5.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-31.

Related

Other skills, from other repositories

latex-posters

Use when creating or revising LaTeX research posters with beamerposter, tikzposter, or baposter, including poster layout, typography, color, print sizing, figure placement, QR codes, compilation, and print-ready PDF checks.

foryourhealth111-pixel/Vibe-Skills · 53 tokens

drawio-academic-skills

Publication-figure overlay for draw.io. Use instead of drawio whenever the diagram is for a paper, thesis, dissertation, journal, conference, IEEE/ACM submission, manuscript, camera-ready, Word/LaTeX figure, or other publication. Applies venue, figure-type, color, caption/legend, formula, and paper-readability gates…

bahayonghang/drawio-skills · 93 tokens

creating-figures

Creates publication-quality scientific figures for academic papers. Backend is chosen by host paper extension — .tex papers get TikZ figures, .typ papers get CeTZ figures; the two are never mixed. Use when creating block diagrams, system architectures, flowcharts, or technical illustrations for papers and theses.…

ai4paper/apaper-plugin · 86 tokens

thesis-figure-skill

A skill for creating figures for academic papers, such as system diagrams, data-flow diagrams, and technical roadmaps. It can produce LaTeX/TikZ code or editable draw.io files, with support for compiling and checking the result.

NeverSight/learn-skills.dev · 332 tokens

论文图表助手

A diagram-making assistant for flowcharts, system architecture diagrams, sequence diagrams, class diagrams, and mind maps. It can create standalone browser files that export diagrams as PNG images.

laborany/laborany · 116 tokens

product-design

A product-design method that turns a vague product idea into a small contract: one user problem, one output, and one decision. It applies to websites, apps, command-line tools, libraries, and other products.

YangFan-Code-Star/context-dev · 84 tokens