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.
npx skills add Bwkyd/wps-skills --skill wps-chartgit clone --depth 1 https://github.com/Bwkyd/wps-skillsWrote 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/bwkyd/wps-skills/wps-chart)<a href="https://agentmods.dev/skills/bwkyd/wps-skills/wps-chart"><img src="https://agentmods.dev/badge/skills/bwkyd/wps-skills/wps-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/bwkyd/wps-skills/wps-chart"><img src="https://agentmods.dev/badge/skills/bwkyd/wps-skills/wps-chart.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.00099 | $0.01808 |
| Opus 5 | $0.00049 | $0.00904 |
| Sonnet 5 | $0.00020 | $0.00362 |
| Haiku 4.5 | $0.00010 | $0.00181 |
Grade A, and why
wps-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 10d 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 — 219 lines — stays where its author put it; the contents beside it link to each section on GitHub.
WPS图表生成与美化
数据 → 选对图表 → 专业呈现。三步搞定数据可视化。
When to Use
- 需要把数据做成图表
- 不知道该用什么类型的图表
- 图表做出来不好看需要美化
- 用户说"帮我做个图表""数据可视化"
When NOT to Use
- 复杂数据分析仪表盘 → 使用
wps-data-viz - PPT中的图表 → 使用
wps-ppt-gen
图表选择指南
你的数据要表达什么?
├─ 比较大小 → 柱状图(≤12项)/ 条形图(项目名长)
│ └─ 多组对比 → 簇状柱形图
│ └─ 占比对比 → 堆积柱形图
│
├─ 趋势变化 → 折线图(时间序列)
│ └─ 多条线 → 建议≤5条,否则太乱
│ └─ 面积强调 → 面积图
│
├─ 占比构成 → 饼图(≤6项)/ 环形图
│ └─ >6项 → 改用条形图排序
│ └─ 多层级 → 旭日图
│
├─ 分布关系 → 散点图 / 气泡图
│
├─ 地理数据 → 地图图表
│
└─ 多维对比 → 雷达图(≤8维度)
工作流程
Step 1: 分析数据特征
- 数据量(行/列数)
- 数据类型(时间序列?分类?连续?)
- 表达目的(对比?趋势?占比?关系?)
Step 2: 推荐图表类型 + 生成方案
方案A:openpyxl生成Excel内嵌图表
from openpyxl import Workbook
from openpyxl.chart import BarChart, LineChart, PieChart, Reference
from openpyxl.chart.series import DataPoint
from openpyxl.chart.label import DataLabelList
from openpyxl.utils import get_column_letter
def create_chart(ws, chart_type, data_range, title, categories_col=1):
"""创建图表"""
chart_map = {
'bar': BarChart,
'line': LineChart,
'pie': PieChart,
}
chart = chart_map.get(chart_type, BarChart)()
chart.title = title
chart.width = 18
chart.height = 12
max_row = ws.max_row
max_col = ws.max_column
# 数据系列
data = Reference(ws, min_col=categories_col + 1,
min_row=1, max_col=max_col, max_row=max_row)
cats = Reference(ws, min_col=categories_col,
min_row=2, max_row=max_row)
chart.add_data(data, titles_from_data=True)
chart.set_categories(cats)
# 美化
chart.style = 10
if chart_type == 'bar':
chart.y_axis.title = "数值"
chart.x_axis.title = "类别"
elif chart_type == 'pie':
chart.dataLabels = DataLabelList()
chart.dataLabels.showPercent = True
return chart
# 使用示例
wb = Workbook()
ws = wb.active
# ... 填入数据 ...
chart = create_chart(ws, 'bar', None, '2025年销售数据')
ws.add_chart(chart, 'E2')
wb.save('chart_output.xlsx')
方案B:JSA操作WPS原生图表
// JSA: 创建柱状图
function CreateBarChart() {
var ws = Application.ActiveSheet;
var dataRange = ws.UsedRange;
var chart = ws.ChartObjects.Add(
dataRange.Left + dataRange.Width + 20, // 放在数据右侧
dataRange.Top,
450, 300
).Chart;
chart.ChartType = 51; // xlColumnClustered
chart.SetSourceData(dataRange);
chart.HasTitle = true;
chart.ChartTitle.Text = "数据图表";
// 美化配色
var colors = [0xD35400, 0x2ECC71, 0x3498DB, 0xF39C12, 0x9B59B6];
for (var i = 1; i <= chart.SeriesCollection().Count; i++) {
if (i <= colors.length) {
chart.SeriesCollection(i).Format.Fill.ForeColor.RGB = colors[i-1];
}
}
// 添加数据标签
chart.SeriesCollection(1).HasDataLabels = true;
chart.SeriesCollection(1).DataLabels().Position = 0; // xlLabelPositionOutsideEnd
}
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.
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.
- 10d ago First seen · 219 lines · 99 tokens per session scan A 72e16e3cf32c
wps-chart is a skill published in the GitHub repository Bwkyd/wps-skills (7 stars, last pushed 4mo ago), licensed MIT. It adds 99 tokens to every session and 1,808 once invoked, about $0.0005 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-31.
Other skills, from other repositories
shortfilm-prompt
Generate cinematic AI shortfilm prompts (works with Seedance 2.0, Xiaoyunque, Sora, Kling, Jimeng, Veo) using the 5-stage structure from Mx-Shell's Zombie Scavenger. Trigger when the user wants transformation sequences, multi-shot narrative shorts, weapon-charge/combat segments, emotional family/pet/farewell…
simp
A relationship-advice skill that helps interpret signals, plan respectful approaches, and write sincere messages for someone you like.
chinese-write-checker
A Chinese-language review process for checking an article from an editor's, reader's, writer's, and publishing platform's viewpoints.
packaging-workshop
A final presentation review for finished Chinese content. It works on the title, opening, layout, punctuation, images, and platform format without changing the main body.
editor-revisor
A Chinese-language editing assistant that finds unnecessary words, formulaic openings, forced parallel phrasing, and slogan-like endings. It offers a deletion-focused mode and a fuller rewriting mode for any draft.
voice-dissolver
A writing-analysis skill that identifies the author's real voice before any rewriting. It marks distinctive passages to preserve and can ask questions to clarify the intended feeling, stance, and audience.