wps-ai

wps-ai is a skill for Claude Code, Codex from lewis-hui1202/WPS-AI. It costs 50 tokens per session (1,650 once invoked), scanned A, original, MIT.

A connection between an AI agent and WPS Office, the Chinese office suite, for reading, writing, and formatting documents. It runs through the WPS-AI plugin and can be controlled remotely from a Windows computer, including from an agent on a NAS.

In plain words
What is it for?
Use it to read selections or whole documents, insert text, create structured layouts, and apply official-document formatting in WPS Writer.
Why use it?
It lets an agent work with document contents and layout through WPS rather than limiting the agent to plain text files.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is node tools/proxy-server.js.

Good fit Use it to read selections or whole documents, insert text, create structured layouts, and apply official-document formatting in WPS Writer.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/lewis-hui1202/WPS-AI
agentmods
npx agentmods add skills/lewis-hui1202/wps-ai/hermes-skill

Made for: Claude Code, Codex.

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-ai

README.md
[![agentmods](https://agentmods.dev/badge/skills/lewis-hui1202/wps-ai/hermes-skill/github.svg)](https://agentmods.dev/skills/lewis-hui1202/wps-ai/hermes-skill)
Your own site
<a href="https://agentmods.dev/skills/lewis-hui1202/wps-ai/hermes-skill"><img src="https://agentmods.dev/badge/skills/lewis-hui1202/wps-ai/hermes-skill/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-ai

Your own site · 80×15
<a href="https://agentmods.dev/skills/lewis-hui1202/wps-ai/hermes-skill"><img src="https://agentmods.dev/badge/skills/lewis-hui1202/wps-ai/hermes-skill.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 50 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,650 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found 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.00050 $0.01650
Opus 5 $0.00025 $0.00825
Sonnet 5 $0.00010 $0.00330
Haiku 4.5 $0.00005 $0.00165

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

Security

Grade A, and why

wps-ai 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 12d 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.

hermes-skill/SKILL.md · 167 lines

How it starts

The opening of the file, as written. The whole thing — 167 lines — stays where its author put it; the contents beside it link to each section on GitHub.

WPS-AI Hermes Skill

本技能将 灵犀AI WPS 插件 的 MCP 服务接入 Hermes Agent,实现远程操控 WPS Office 文档。

架构

Hermes Agent (NAS/本地)
  └── MCP Client (stdio)
      └── mcp-server.js (WPS-AI plugin)
          └── HTTP → proxy-server.js :3890
              └── WPS Plugin (TaskPane)
                  └── WPS JSAPI → 文档读写

安装

1. 安装灵犀AI WPS 插件

https://github.com/lewis-hui1202/WPS-AI/releases 下载安装包,或:

git clone https://github.com/lewis-hui1202/WPS-AI.git
cd WPS-AI
npm install

2. 配置 WPS 插件

  • 打开 WPS,启用插件
  • 设置 → MCP 服务 → 开启
  • 设置 → API Key → 填入 DeepSeek / Claude 等

3. 启动 proxy server

cd WPS-AI/plugin
node tools/proxy-server.js

4. Hermes MCP 配置

在 Hermes 配置文件 config.yaml 中添加:

mcp:
  servers:
    wps-ai:
      command: node
      args:
        - "C:/path/to/WPS-AI/plugin/tools/mcp-server.js"
      env:
        WPS_PROXY_PORT: "3890"

可用工具

工具名以插件实际注册为准(plugin/js/tools/*.js)。下表为常用子集,完整清单可在 Hermes 里列出 MCP 工具查看。

文字处理 (WPS Writer)

工具 说明
wps_read_selection 读取当前选区文本
wps_read_document 读取文档内容(mode:text 全文 / structured 结构化 / outline 大纲;可按段落/标题区间分页)
wps_insert_text 在光标处插入内容(text 纯文本,或 blocks 结构化排版;不接受内联格式,格式另调 format 工具)
wps_replace_selection 替换选中内容(text / blocks
wps_format_selection 字符格式(bold/italic/underline/fontName/fontSize/color/highlight
wps_format_paragraph 段落格式(alignment/leftIndent/rightIndent/firstLineIndent/lineSpacing+lineSpacingRule/spaceBefore/spaceAfterscope=selection/document)
wps_apply_paragraph_style 套用命名段落样式(配合 wps_list_styles
wps_save_as 另存为 PDF/DOCX(导出 PDF 也可用 wps_export_pdf

表格处理 (WPS ET)

工具 说明
et_read_range 读取指定区域数据
et_write_range 写入数据到指定区域
et_insert_chart 插入图表(dataRange 含表头 + chartType:column/bar/line/pie/…)

公文排版 (政府文档)

灵犀AI 没有 “一键公文预设” 参数;公文格式通过“插入文本 + 分别设置字符/段落格式”组合完成。示例(Hermes 调用):

Read the full file on GitHub · 167 lines

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. 12d ago First seen · 167 lines · 50 tokens per session scan A e854919ebad8

Subscribe to this mod's changes

wps-ai is a skill published in the GitHub repository lewis-hui1202/WPS-AI (52 stars, last pushed 1mo ago), licensed MIT. It adds 50 tokens to every session and 1,650 once invoked, about $0.0003 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.

Related

Other skills, from other repositories

dart-expert

Expert-level Dart, Flutter, mobile development, and cross-platform apps. Use when the user mentions Flutter, mobile, cross platform, or widgets, or when the task involves Dart Language or Flutter Framework.

personamanagmentlayer/pcl · 44 tokens

electron-expert

Expert in Electron framework, desktop app development, IPC, and cross-platform packaging. Use when the user mentions desktop, Node.js, cross platform, Windows, macOS, or Linux, or when the task involves Electron Architecture, Process Types, IPC Communication, or App Lifecycle.

personamanagmentlayer/pcl · 59 tokens

flutter-expert

Expert in Flutter SDK, Dart, widgets, state management, and cross-platform mobile development. Use when the user mentions mobile, Dart, cross platform, UI, or state management, or when the task involves Flutter Architecture, Widget Fundamentals, State Management Approaches, or Lifecycle Methods.

personamanagmentlayer/pcl · 60 tokens

react-native-expert

Expert in React Native, cross-platform mobile development, native modules, and performance optimization. Use when the user mentions mobile, JavaScript, TypeScript, cross platform, iOS, or Android, or when the task involves React Native Architecture, Component Types, Hooks Essentials, or Navigation.

personamanagmentlayer/pcl · 62 tokens

tauri-expert

Expert in Tauri framework, Rust backend, web frontend integration, and lightweight desktop applications. Use when the user mentions desktop, Rust, web, cross platform, or performance, or when the task involves Tauri Architecture, Tauri vs Electron, Core Components, or Security Features.

personamanagmentlayer/pcl · 61 tokens

aetox-slides

สไลด์และงานนำเสนอในแอตทอกซ์, เด็คคือไฟล์ .html เดียวที่เปิดในห้องสไลด์ แล้วเปิดหน้า นำเสนอเต็มจอ ส่งออก .pptx .pdf รูป ได้จากตรงนั้น. อ่านตัวนี้ก่อนเขียนเด็คเสมอ ถึงจะมีสกิลสไลด์ตัวอื่นติดตั้งอยู่ก็ตาม เพราะพวกนั้นเขียนไว้สำหรับไฟล์ที่เปิดเดี่ยว ๆ ในเบราว์เซอร์ ส่วนนี่คือข้อเท็จจริงของห้องนี้ที่อ่านจากไฟล์เองไม่ได้.…

Mikedev115/Aetox · 181 tokens