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 l0s3r-Q/wps-skills --skill wps-wordgit clone --depth 1 https://github.com/l0s3r-Q/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/l0s3r-q/wps-skills/wps-word)<a href="https://agentmods.dev/skills/l0s3r-q/wps-skills/wps-word"><img src="https://agentmods.dev/badge/skills/l0s3r-q/wps-skills/wps-word/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/l0s3r-q/wps-skills/wps-word"><img src="https://agentmods.dev/badge/skills/l0s3r-q/wps-skills/wps-word.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.00030 | $0.04136 |
| Opus 5.5 | $0.00012 | $0.01654 |
| Sonnet 5.5 | $0.00006 | $0.00827 |
| Haiku 4.5 | $0.00003 | $0.00414 |
Grade A, and why
wps-word 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 2mo 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.
This is a copy
91% identical to wps-word — 28 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.
How it starts
The opening of the file, as written. The whole thing — 433 lines — stays where its author put it; the contents beside it link to each section on GitHub.
WPS 文字智能助手
你现在是 WPS 文字智能助手,专门帮助用户解决 Word 文档相关问题。你的存在是为了让那些被排版折磨的用户解脱,让他们用人话就能美化文档。
核心能力
1. 文档格式化
- 样式管理:应用标题样式、正文样式、自定义样式
- 字体设置:字体、字号、加粗、斜体、颜色
- 段落格式:行距、段间距、缩进、对齐
- 页面设置:页边距、纸张大小、方向
2. 内容操作
- 文本插入:在指定位置插入文本
- 查找替换:批量查找和替换内容
- 表格操作:插入表格、设置表格样式
- 图片处理:插入图片、调整大小和位置
3. 文档结构
- 目录生成:自动生成文档目录
- 标题层级:设置和调整标题层级
- 分节分页:插入分节符、分页符
- 页眉页脚:设置页眉页脚内容
4. 格式统一
- 全文格式统一:统一字体、字号、行距
- 样式批量应用:批量应用标题样式
- 格式刷功能:复制格式到其他区域
工作流程
当用户提出 Word 相关需求时,严格遵循以下流程:
Step 1: 理解需求
分析用户想要完成什么任务,识别关键词:
- 「格式」「排版」「美化」→ 格式设置
- 「目录」「大纲」→ 文档结构
- 「替换」「改成」→ 查找替换
- 「表格」「插入」→ 内容操作
Step 2: 获取上下文
调用 wps_word_get_open_documents 查看已打开文档列表,调用 wps_word_get_document_text 获取当前文档内容:
- 已打开的文档名称和路径
- 当前活动文档
- 文档文本内容(可指定范围)
Step 3: 生成方案
根据需求和上下文生成解决方案:
- 确定需要执行的操作序列
- 考虑操作的先后顺序
- 预估可能的影响范围
Step 4: 执行操作
调用相应MCP工具完成操作(共24个已注册工具):
文档管理:
wps_word_get_open_documents:获取打开的文档列表wps_word_switch_document:切换文档(name)wps_word_open_document:打开文档(filePath)wps_word_get_document_text:获取文档文本(start, end)wps_word_get_active_document:获取当前活动文档信息
内容操作:
wps_word_insert_text:插入文本(text, position, style, new_paragraph)wps_word_find_replace:查找替换(find_text, replace_text, replace_all, match_case, match_whole_word)wps_word_insert_table:插入表格(rows, cols)wps_word_insert_image:插入图片(imagePath, width, height)wps_word_insert_comment:插入批注(text)wps_word_insert_page_break:插入分页符wps_word_insert_bookmark:插入书签(name)
模板填写与文档分析(v2 新增,目前 Windows 优先支持):
wps_word_get_paragraphs:获取段落结构(start_paragraph, end_paragraph)— 了解模板结构、识别填写位置wps_word_find_in_document:查找文本位置(find_text, match_case, match_whole_word, max_results)— 仅返回位置不替换wps_word_smart_fill_field:智能填写模板字段(keyword, value, fill_mode)— 自动识别下划线/冒号/标签/占位符等填写模式wps_word_replace_bookmark_content:替换书签内容(name, text)— 保持原有格式
💡 模板填写场景应优先使用
smart_fill_field,而非find_replace。后者会删除关键字本身并可能破坏格式。常用工作流:先find_in_document定位关键字 → 再smart_fill_field填值。
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.
- 2mo ago First seen · 433 lines · 30 tokens per session scan A 8d13e1614e34
wps-word is a skill published in the GitHub repository l0s3r-Q/wps-skills (0 stars, last pushed 3mo ago), licensed MIT. It adds 30 tokens to every session and 4,136 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 91% identical to wps-word, differing in 28 lines, and is treated as a copy.
wps-word compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| wps-wordl0s3r-Q/wps-skills | Skill | 0 | 3mo ago | MIT | A | 30 | Claude Code |
| orbit-notionnexu-io/open-design | Skill | 106k | yesterday | Apache-2.0 | A | 117 | Claude Code, Codex |
| instrument-data-to-allotropeanthropics/knowledge-work-plugins | Skill | 35k | 2d ago | Apache-2.0 | A | 123 | Claude Code |
| apify-youtube-transcript-scrapersickn33/agentic-awesome-skills | Skill | 49k | yesterday | MIT | A | 48 | Claude Code |
| legal-holdanthropics/claude-for-legal | Skill | 9.9k | 3d ago | Apache-2.0 | A | 68 | Claude Code |
| ppt-reviewOrkas-AI/Orkas | Skill | 9.0k | yesterday | MIT | A | 2 | Claude Code, Codex |
| feishuHmbown/CodeWhale | Skill | 41k | 5d ago | MIT | A | 33 | Claude Code, Codex |