wps-word

wps-word is a skill for Claude Code from l0s3r-Q/wps-skills. It costs 30 tokens per session (4,136 once invoked), scanned A, a copy of wps-word, MIT.

A natural-language assistant for WPS Writer, the word-processing app in WPS Office. It edits document text, layout, styles, tables, images, and page structure.

In plain words
What is it for?
Use it to format text and paragraphs, find and replace content, insert tables or images, create a table of contents, manage headings, and set headers, footers, breaks, and page settings.
Why use it?
It removes the need to manually repeat formatting changes or search through menus when documents have inconsistent layout or structure.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the wps-office-skills plugin — 4 skills shipped together

Good fit Use it to format text and paragraphs, find and replace content, insert tables or images, create a table of contents, manage headings, and set headers, footers, breaks, and page settings.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/l0s3r-q/wps-skills/wps-word
Install

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.

Any agent
npx skills add l0s3r-Q/wps-skills --skill wps-word
Clone the repo
git clone --depth 1 https://github.com/l0s3r-Q/wps-skills

Made for: Claude Code.

Or install wps-office-skills, the plugin that ships this one along with the rest of its 4 skills.

Wrote 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.

agentmods badge for wps-word

README.md
[![agentmods](https://agentmods.dev/badge/skills/l0s3r-q/wps-skills/wps-word/github.svg)](https://agentmods.dev/skills/l0s3r-q/wps-skills/wps-word)
Your own site
<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.

agentmods 80×15 button for wps-word

Your own site · 80×15
<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>
Per session 30 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,136 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 91% copy Near-identical to another mod in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00030 $0.04136
Opus 5 $0.00015 $0.02068
Sonnet 5 $0.00006 $0.00827
Haiku 4.5 $0.00003 $0.00414

Measured 11d ago against content hash 8d13e1614e34, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

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 11d 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.

Origin

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.

skills/wps-word/SKILL.md · 433 lines

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 填值。

Read the full file on GitHub · 433 lines

Files

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.

Changes

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.

  1. 11d ago First seen · 433 lines · 30 tokens per session scan A 8d13e1614e34

Subscribe to this mod's changes

wps-word is a skill published in the GitHub repository l0s3r-Q/wps-skills (0 stars, last pushed 1mo ago), licensed MIT. It adds 30 tokens to every session and 4,136 once invoked, about $0.0002 per session on Opus 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.

Related

Other skills, from other repositories

baoyu-youtube-transcript

A tool for downloading the written captions, subtitles, chapter information, speaker labels, and cover image from a YouTube video using its URL or ID.

JimLiu/baoyu-skills · 107 tokens

orbit-notion

Open Orbit briefing skill — selected by the Orbit pipeline when Notion is the user's only connected connector, or when the user explicitly scopes their daily digest to Notion. Pulls the past 24 hours of document edits, comments, mentions, and database row changes from the user's authenticated Notion connection and…

nexu-io/open-design · 117 tokens

instrument-data-to-allotrope

Convert laboratory instrument output files (PDF, CSV, Excel, TXT) to Allotrope Simple Model (ASM) JSON format or flattened 2D CSV. Use this skill when scientists need to standardize instrument data for LIMS systems, data lakes, or downstream analysis. Supports auto-detection of instrument types. Outputs include full…

anthropics/knowledge-work-plugins · 123 tokens

feishu

Work with Feishu or Lark bots, docs, sheets, bitables, approval flows, and OpenAPI/MCP setup without hardcoding credentials.

Hmbown/CodeWhale · 33 tokens

read

Reads URLs and PDFs by fetching source content, defaulting to concise summaries for plain read requests and clean Markdown when asked to convert, save, quote, cite, or feed downstream work. Use when users ask in any language to read, fetch, check, summarize, quote, cite, convert, or save a URL or PDF. Not for local…

tw93/Waza · 78 tokens

overleaf-sync

A two-way connection between a local paper folder and Overleaf, a web-based LaTeX editor for writing research papers. It lets you move changes between the local files and the shared Overleaf project.

wanshuiyin/Auto-claude-code-research-in-sleep · 97 tokens