multi-chart-draw

multi-chart-draw is a skill for Claude Code, Codex from LingyiChen-AI/OpenSkills. It costs 71 tokens per session (2,865 once invoked), scanned A, original, Apache-2.0.

A chart-making skill creates diagrams and data visualizations in formats such as Mermaid, ECharts, Mindmap, DrawIO, and GeoGebra, then exports them as PNG, SVG, or HTML.

In plain words
What is it for?
Use it to create flowcharts, sequence diagrams, mind maps, statistical charts, architecture or network diagrams, ER diagrams, and mathematical plots.
Why use it?
It turns relationships, processes, trends, system designs, and mathematical ideas into visual diagrams that are easier to inspect.

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/lingyichen-ai/openskills/multi-chart-draw
Any agent
npx skills add LingyiChen-AI/OpenSkills --skill multi-chart-draw
Clone the repo
git clone --depth 1 https://github.com/LingyiChen-AI/OpenSkills

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 multi-chart-draw

README.md
[![agentmods](https://agentmods.dev/badge/skills/lingyichen-ai/openskills/multi-chart-draw.svg)](https://agentmods.dev/skills/lingyichen-ai/openskills/multi-chart-draw)
Your own site
<a href="https://agentmods.dev/skills/lingyichen-ai/openskills/multi-chart-draw"><img src="https://agentmods.dev/badge/skills/lingyichen-ai/openskills/multi-chart-draw.svg" alt="Measured on agentmods" height="20"></a>
Per session 71 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,865 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 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.00071 $0.02865
Opus 5 $0.00036 $0.01432
Sonnet 5 $0.00014 $0.00573
Haiku 4.5 $0.00007 $0.00286

Measured 4d ago against content hash 025e85d078bc, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

multi-chart-draw 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 4d ago.

The scan reads SKILL.md. This mod also ships 6 executable files (demo.py, scripts/render_drawio.py, scripts/render_echarts.py, …), 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.

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.

examples/multi-chart-draw/SKILL.md · 255 lines

How it starts

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

多类型绘图工具

任务目标

  • 本 Skill 用于:根据用户需求生成多种类型的图表,包括思维导图、流程图、数据可视化图表等
  • 能力包含:
    1. Mermaid 图表绘制(流程图、序列图、甘特图等)
    2. ECharts 数据可视化(柱状图、折线图、饼图等)
    3. Mindmap 思维导图
    4. DrawIO 通用绘图
    5. Flowchart 流程图(基于 Mermaid)
    6. GeoGebra 数学绘图(函数、几何图形、代数方程)
  • 触发条件:用户表达"画个图"、"绘制图表"、"生成流程图"等需求

前置准备

依赖说明

  • Python 依赖包:
    • pyecharts>=2.0.0:用于生成 ECharts 图表
    • pillow>=10.0.0:图像处理库
  • 系统依赖(需提前安装):
    • @mermaid-js/mermaid-cli:用于渲染 Mermaid 图表
    • markmap-cli:用于渲染思维导图

安装系统依赖

在使用 Skill 之前,需要安装以下系统工具:

# 安装 Mermaid CLI
npm install -g @mermaid-js/mermaid-cli

# 安装 Markmap CLI
npm install -g markmap-cli

# 验证安装
mmdc --version
markmap --version

输出目录准备

# 创建输出目录
mkdir -p ./charts-output

操作步骤

标准流程

  1. 需求分析与类型选择

    • 智能体理解用户绘图需求,确定图表类型:
      • 层级关系、知识结构、脑图整理 → Mindmap
      • 流程逻辑、步骤关系、业务流程 → Flowchart (Mermaid)
      • 时序交互、API调用、消息传递 → Mermaid Sequence
      • 数据对比、趋势分析、统计图表 → ECharts
      • 系统架构、网络拓扑、部署图、ER图 → DrawIO
      • 数学函数、几何图形、代数方程 → GeoGebra
    • 确定输出格式(PNG/SVG/HTML)
  2. 生成图表配置

    • 根据选定的图表类型,智能体生成相应的文本配置:
      • Mermaid:生成 mermaid 语法
      • ECharts:生成 option 配置 JSON
      • Mindmap:生成 Markdown 格式内容
      • DrawIO:生成 XML 格式内容
      • GeoGebra:生成命令列表或数学表达式
    • 参考 references/ 中的语法指南
  3. 调用脚本渲染

    • 根据图表类型调用对应的渲染脚本:
      • Mermaid 图表:scripts/render_mermaid.py
      • ECharts 图表:scripts/render_echarts.py
      • 思维导图:scripts/render_mindmap.py
      • DrawIO 图表:scripts/render_drawio.py
      • GeoGebra 图表:scripts/render_geogebra.py
    • 指定输出路径和格式
  4. 结果验证与交付

    • 检查生成的图表文件
    • 确认格式和内容符合预期
    • 将输出文件路径提供给用户

可选分支

  • 当需要 交互式图表:使用 ECharts 生成 HTML 格式
  • 当需要 矢量图:选择 SVG 输出格式
  • 当需要 高质量位图:选择 PNG 并设置高分辨率

资源索引

渲染脚本

  • Mermaid 渲染:见 scripts/render_mermaid.py

    • 用途:将 Mermaid 语法渲染为 PNG/SVG
    • 参数:--input(输入文件)、--output(输出文件)、--format(格式:png/svg)
  • ECharts 渲染:见 scripts/render_echarts.py

    • 用途:将 ECharts 配置渲染为 HTML(交互式图表)
    • 参数:--config(配置文件)、--output(输出文件)

Read the full file on GitHub · 255 lines

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. 4d ago First seen · 255 lines · 71 tokens per session scan A 025e85d078bc

Subscribe to this mod's changes

multi-chart-draw is a skill published in the GitHub repository LingyiChen-AI/OpenSkills (68 stars, last pushed 7mo ago), licensed Apache-2.0. It adds 71 tokens to every session and 2,865 once invoked, about $0.0004 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

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

brainstorming

You MUST use this before any creative work - creating features, building components, adding functionality, or modifying behavior. Explores user intent, requirements and design before implementation.

obra/superpowers · 37 tokens

auto-perf-optimize

Run agent-driven VS Code performance or memory investigations. Use when asked to launch Code OSS, automate a VS Code scenario, run the Chat memory smoke runner, capture renderer heap snapshots, take workflow screenshots, compare run summaries, or drive a repeatable scenario before heap-snapshot analysis.

microsoft/vscode · 62 tokens

chat-perf

Run chat perf benchmarks and memory leak checks against the local dev build or any published VS Code version. Use when investigating chat rendering regressions, validating perf-sensitive changes to chat UI, or checking for memory leaks in the chat response pipeline.

microsoft/vscode · 51 tokens

chat-pet-sprite-creation

Use when creating or changing VS Code chat pet sprite art, sprite sheets, state animations, eye treatments, Stable/Insiders variants, or pet transitions under src/vs/workbench/contrib/chat/browser/widget/media/chatPet.

microsoft/vscode · 53 tokens

cpu-profile-analysis

Analyze V8/Chrome CPU profiles (.cpuprofile) and DevTools trace files (Trace-.json). Use when: profiling performance, investigating slow functions, comparing code paths, finding bottlenecks, analyzing timeToRequest, understanding call trees from sampling profiler data, analyzing layout/paint/rendering, investigating…

microsoft/vscode · 71 tokens