lewis-hui1202/wps-ai/hermes-skill
Claude Code and agent skill by lewis-hui1202/wps-ai
Trust tier 2
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
通过 WPS-AI MCP 服务操控 WPS Office 文档——读取、写入、格式化、公文排版。在 Windows Hermes 上配置后,可从 NAS 远程操控 WPS 处理文档。
Install
npx vskill@latest install lewis-hui1202/wps-ai/hermes-skillSKILL.md
WPS-AI Hermes Skill
本技能将 文小舟 WPS 插件 的 MCP 服务接入 Hermes Agent,实现远程操控 WPS Office 文档。
架构
安装
1. 安装文小舟 WPS 插件
从 https://github.com/lewis-hui1202/WPS-AI/releases 下载安装包,或:
2. 配置 WPS 插件
- 打开 WPS,启用插件
- 设置 → MCP 服务 → 开启
- 设置 → API Key → 填入 DeepSeek / Claude 等
3. 启动 proxy server
4. Hermes MCP 配置
在 Hermes 配置文件 config.yaml 中添加:
可用工具
工具名以插件实际注册为准(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/spaceAfter;scope=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/…) |
公文排版 (政府文档)
文小舟 没有 “一键公文预设” 参数;公文格式通过“插入文本 + 分别设置字符/段落格式”组合完成。示例(Hermes 调用):
使用示例
从 Hermes 写入 Word 文档
提示:正文若一次性排版整篇,也可用wps_insert_text传结构化blocks(标题/段落/列表由插件按 Word 原生格式渲染),再对需要的段落补调 format 工具。
从 Hermes 读取 WPS 文档
从 NAS 远程操控
如果需要在 NAS 上的 Hermes 操控 Windows 上的 WPS:
注意事项
- WPS 必须保持打开状态
- MCP 服务开关需在插件设置中开启
- 首次使用需生成 MCP token(插件自动处理)
- 支持的 WPS 版本:≥ 2023 冬季更新
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckinghermes-skill/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/lewis-hui1202/wps-ai/hermes-skill)