Borrowing it
Nothing to install: this file belongs to xiaoyuge886/aigc. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/xiaoyuge886/aigc/main/.claude/skills/echarts_chart/SKILL.mdgit clone --depth 1 https://github.com/xiaoyuge886/aigcWrote 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.
[](https://agentmods.dev/skills/xiaoyuge886/aigc/echarts_chart)<a href="https://agentmods.dev/skills/xiaoyuge886/aigc/echarts_chart"><img src="https://agentmods.dev/badge/skills/xiaoyuge886/aigc/echarts_chart.svg" alt="Measured on agentmods" height="20"></a>- NVIDIA SkillSpector pass
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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00133 | $0.04540 |
| Opus 5 | $0.00067 | $0.02270 |
| Sonnet 5 | $0.00027 | $0.00908 |
| Haiku 4.5 | $0.00013 | $0.00454 |
Grade A, and why
echarts_chart 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 8d 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.
How it starts
The opening of the file, as written. The whole thing — 398 lines — stays where its author put it; the contents beside it link to each section on GitHub.
ECharts 图表生成专家
你是 ECharts 数据可视化专家,专门负责根据数据和需求生成专业的 ECharts 图表配置。
🚨 最重要的规则:双重输出格式
⚠️ 必须同时完成两种输出
你需要同时完成两件事,缺一不可:
- 在回复中输出 Markdown 格式(用于前端实时渲染)
- 使用 Write 工具保存图表文件(用于文件系统持久化)
📝 输出 1:Markdown 格式(必须)
在回复中必须使用以下格式,才能被前端正确渲染和显示!
[CHART_START]
{"title":{"text":"图表标题"},"xAxis":{...},"yAxis":{...},"series":[...]}
[CHART_END]
格式要求(严格执行):
- 开始标记:必须是
[CHART_START](大小写敏感,不能有空格) - 图表配置:完整的 ECharts JSON 配置对象(可以是单行,也可以是格式化)
- 结束标记:必须是
[CHART_END](大小写敏感,不能有空格) - JSON 格式:配置必须是有效的 JSON,可以成功解析
- 标记之间:不要添加任何额外的文本、说明或换行在
[CHART_START]和[CHART_END]之间
💾 输出 2:文件保存(必须)
使用 Write 工具将图表配置保存为文件!
文件保存规范:
- 文件路径:保存到
work_dir/charts/目录 - 文件名格式:
chart_{图表类型}_{描述性名称}.json或chart_{时间戳}.json - 文件内容:完整的 ECharts JSON 配置(格式化后的 JSON,便于阅读)
- 示例路径:
work_dir/charts/chart_sales_trend.json或work_dir/charts/chart_pie_product_ratio.json
执行步骤:
- 生成 ECharts JSON 配置
- 在回复中输出
[CHART_START]...JSON...[CHART_END]格式(用于前端渲染) - 使用 Read 工具先读取文件(SDK安全要求,即使文件不存在也要先尝试读取)
- 使用 Write 工具将 JSON 配置保存到
work_dir/charts/目录(用于文件持久化) - 在回复中说明已保存的文件路径
⚠️ SDK 安全规则(必须遵守):
# 错误做法(会被SDK拒绝):
Write(file_path='work_dir/charts/chart_xxx.json', content=...)
# 正确做法(符合SDK规则):
Read(file_path='work_dir/charts/chart_xxx.json') # 先尝试读取
Write(file_path='work_dir/charts/chart_xxx.json', content=...) # 再写入
完整示例(正确工具调用顺序):
# 步骤1:先尝试读取文件(即使文件不存在也要这样做)
Read(file_path='work_dir/charts/chart_conversation_trend.json')
# 步骤2:在回复中输出图表(用于前端渲染)
[CHART_START]
{"title":{"text":"用户对话趋势"},"xAxis":{"type":"category","data":["12-25","12-27"]},"yAxis":{"type":"value"},"series":[{"name":"会话数","type":"bar","data":[8,7]}]}
[CHART_END]
# 步骤3:使用 Write 工具保存文件(用于文件持久化)
Write(
file_path='work_dir/charts/chart_conversation_trend.json',
content='{"title":{"text":"用户对话趋势"},"xAxis":{"type":"category","data":["12-25","12-27"]},"yAxis":{"type":"value"},"series":[{"name":"会话数","type":"bar","data":[8,7]}]}'
)
# 步骤4:说明已保存
图表已保存到 work_dir/charts/chart_conversation_trend.json
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.
- 8d ago First seen · 398 lines · 133 tokens per session scan A fe632fb66304
echarts_chart is a skill published in the GitHub repository xiaoyuge886/aigc (197 stars, last pushed 1mo ago), licensed MIT. It adds 133 tokens to every session and 4,540 once invoked, about $0.0007 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.
Other skills, from other repositories
debug-optimize-lcp
Guides debugging and optimizing Largest Contentful Paint (LCP) using Chrome DevTools MCP tools. Use this skill whenever the user asks about LCP performance, slow page loads, Core Web Vitals optimization, or wants to understand why their page's main content takes too long to appear. Also use when the user mentions…
repro-admin
Reproduce an EmDash admin UI bug. Attach a container, start the demo dev server, drive the admin with agent-browser using the dev-bypass session, and capture the reproduction as screenshots plus a replayable transcript.
create-site
Creates a new Power Pages code site (SPA) using React, Angular, Vue, or Astro. Guides through the full process from initial concept to deployed site: requirements discovery, scaffolding, component planning, design, implementation, validation, and deployment. Use when the user wants to create, build, or scaffold a new…
prototype-web
A clickable, high-fidelity web product prototype with navigation, a hero section, feature cards, steps, social proof, and optional pricing. It is designed to resemble a finished landing page while remaining a prototype.
menu-transitions-rtl
Animate react-horizontal-scrolling-menu scrolling and build right-to-left menus: noPolyfill defaults to true since v8, so transitionDuration (default 500), a custom-easing-function transitionBehavior, and per-call ScrollOptions { duration, boundary } on scrollToItem/scrollNext/scrollPrev are silently ignored unless…
vite
Vite build tool configuration, plugin API, SSR, and Vite 8 Rolldown migration. Use when working with Vite projects, vite.config.ts, Vite plugins, or building libraries/SSR apps with Vite.