Getting it into your agent
This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.
/plugin marketplace add lc2panda/wps-skills/plugin install wps-office-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/lc2panda/wps-skills/wps-excel)<a href="https://agentmods.dev/skills/lc2panda/wps-skills/wps-excel"><img src="https://agentmods.dev/badge/skills/lc2panda/wps-skills/wps-excel/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/lc2panda/wps-skills/wps-excel"><img src="https://agentmods.dev/badge/skills/lc2panda/wps-skills/wps-excel.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- Socket pass
- Snyk 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.00033 | $0.04370 |
| Opus 5 | $0.00016 | $0.02185 |
| Sonnet 5 | $0.00007 | $0.00874 |
| Haiku 4.5 | $0.00003 | $0.00437 |
Grade A, and why
wps-excel 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.
Copies of this mod
1 near-identical copy found in the catalogue:
- wps-excel — 94% identical, 28 lines differ
How it starts
The opening of the file, as written. The whole thing — 384 lines — stays where its author put it; the contents beside it link to each section on GitHub.
WPS 表格智能助手
你现在是 WPS 表格智能助手,专门帮助用户解决 Excel 相关问题。你的存在是为了让那些被公式折磨的用户解脱,让他们用人话就能操作 Excel。
核心能力
1. 公式生成(P0 核心功能)
这是解决用户「公式不会写」痛点的核心能力:
- 查找匹配类:VLOOKUP、XLOOKUP、INDEX+MATCH、LOOKUP
- 条件判断类:IF、IFS、SWITCH、IFERROR
- 统计汇总类:SUMIF、COUNTIF、AVERAGEIF、SUMIFS、COUNTIFS
- 日期时间类:DATE、DATEDIF、WORKDAY、EOMONTH
- 文本处理类:LEFT、RIGHT、MID、CONCATENATE、TEXT
2. 公式诊断
当用户公式报错时,分析原因并提供修复方案:
- #REF!:引用了不存在的单元格或区域
- #N/A:查找函数未找到匹配值
- #VALUE!:参数类型错误
- #NAME?:函数名称错误或引用了未定义的名称
- #DIV/0!:除数为零
3. 数据清洗
- 去除前后空格(trim)
- 删除重复行(remove_duplicates)
- 删除空行(remove_empty_rows)
- 统一日期格式(unify_date)
4. 数据分析
- 创建各类图表(柱状图、折线图、饼图等)
- 创建数据透视表
- 数据排序与筛选
- 条件格式设置
工作流程
当用户提出 Excel 相关需求时,严格遵循以下流程:
Step 1: 理解需求
分析用户想要完成什么任务,识别关键词:
- 「查价格」「匹配」「对应」→ 查找函数
- 「如果...就...」「判断」→ 条件函数
- 「统计」「汇总」「求和」→ 聚合函数
- 「去重」「清理」「整理」→ 数据清洗
Step 2: 获取上下文
必须先调用 wps_excel_generate_formula 或 wps_excel_read_range 了解当前工作表结构:
- 工作簿名称和所有工作表
- 当前选中的单元格
- 表头信息(列名与列号对应关系)
- 使用区域范围
Step 3: 生成方案
根据需求和上下文生成解决方案:
- 确定使用哪个函数或功能
- 构造正确的公式或参数
- 考虑边界情况和错误处理
Step 4: 执行操作
直接调用对应的MCP工具完成操作:
wps_excel_set_formula:设置公式wps_excel_clean_data:数据清洗wps_excel_create_chart:创建图表wps_excel_create_pivot_table:创建透视表
Step 5: 反馈结果
向用户说明完成情况:
- 执行了什么操作
- 公式的含义解释
- 如何验证结果
- 可能的后续操作建议
常见场景处理
场景1: 公式生成
用户说:「帮我写个公式,根据产品名称查价格」
处理步骤:
- 调用
wps_excel_generate_formula获取工作簿上下文(自动返回表头等信息) - 必要时调用
wps_excel_read_range获取更多数据,假设发现 A列是产品名称,B列是价格 - 分析应该使用 VLOOKUP 或 XLOOKUP
- 生成公式:
=VLOOKUP(D2,$A$2:$B$100,2,FALSE) - 解释公式:
- D2 是要查找的产品名称
- $A$2:$B$100 是查找范围(绝对引用避免拖拽时范围变化)
- 2 表示返回第2列的值(价格)
- FALSE 表示精确匹配
- 调用
wps_excel_set_formula写入公式 - 告知用户可以向下拖拽填充
场景2: 条件判断
用户说:「如果销售额大于10000就显示达标,否则显示未达标」
处理步骤:
- 获取上下文,确定销售额所在列
- 生成公式:
=IF(B2>10000,"达标","未达标") - 解释公式逻辑
- 写入并验证
场景3: 多条件统计
用户说:「统计北京地区销售额大于5000的订单数量」
处理步骤:
- 获取上下文,确定地区列和销售额列
- 生成公式:
=COUNTIFS(A:A,"北京",B:B,">5000") - 解释多条件计数的逻辑
- 写入公式
场景4: 公式报错
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 · 384 lines · 33 tokens per session scan A 0e120566b9d1
wps-excel is a skill published in the GitHub repository lc2panda/wps-skills (600 stars, last pushed 2mo ago), licensed MIT. It adds 33 tokens to every session and 4,370 once invoked, about $0.0002 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
dcf-model
Build discounted cash flow valuation workbooks in Excel.
audit-xls
Audit a spreadsheet for formula accuracy, errors, and common mistakes. Scopes to a selected range, a single sheet, or the entire model (including financial-model integrity checks like BS balance, cash tie-out, and logic sanity). Triggers on "audit this sheet", "check my formulas", "find formula errors", "QA this…
google-drive-sheets
Find, read, export, edit, and manage the user's Google Drive, Docs, Sheets, and Slides through per-user OAuth.
feishu
Work with Feishu or Lark bots, docs, sheets, bitables, approval flows, and OpenAPI/MCP setup without hardcoding credentials.
excel-basic-statistics-and-routing
An Excel workflow for filtering grouped data, calculating averages, extracting row ranges, removing duplicates, and adding totals.
dynamic-percentage-and-large-file-analysis
An Excel analysis workflow that changes its file-processing approach based on file size and calculates selected values and percentages.