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/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.
<a href="https://agentmods.dev/skills/xiaoyuge886/aigc/echarts_chart"><img src="https://agentmods.dev/badge/skills/xiaoyuge886/aigc/echarts_chart.svg" alt="Reviewed on agentmods" width="80" 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.5 | $0.00053 | $0.01816 |
| Sonnet 5.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 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.
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.
- 1mo ago First seen · 398 lines · 133 tokens per session scan A fe632fb66304
echarts_chart is a skill published in the GitHub repository xiaoyuge886/aigc (200 stars, last pushed 3mo ago), licensed MIT. It adds 133 tokens to every session and 4,540 once invoked, about $0.0005 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-30.
Other skills, from other repositories
local-ai-agents
Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…
systematic-debugging
Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.
next-cache-components-adoption
Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…
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.
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…
next-cache-components-optimizer
Optimize the meaningful UI available immediately from a Next.js route on an initial load (hard navigation) or named client-side navigation (soft navigation). Encode the goal as a failing @next/playwright instant() e2e and work it to green, one verified route and entry point at a time; the shipped test then guards…