Unified cross-application orchestrator for Excel, Word, and PowerPoint document workflows.
Works with
Manages application state detection, switching, and document lifecycle (open, save, close) across all three WPS Office applications
Handles cross-application data migration, content copying, and format synchronization between Excel tables, Word documents, and PowerPoint presentations
Supports batch operations including format conversion, multi-file processing, and template application across do
AI-first code editor with Composer
Before installing skills in Cursor, ensure your development environment meets these requirements:
node --versionwps-officeExecute the skills CLI command in your project's root directory to begin installation:
Fetches wps-office from lc2panda/wps-skills and configures it for Cursor.
The CLI shows a list of agents. Use arrow keys and space to select Cursor:
Confirm successful installation by checking the skill directory location:
Restart Cursor to activate wps-office. Access via /wps-office in your agent's command palette.
We perform automated surface-level scans (Gen AI Scanner, Socket, Snyk) during installation. These checks detect common vulnerabilities but do not guarantee complete security. Always review skill source code and verify the publisher's reputation before production use.
Skills execute code in your environment. Always review source, verify the publisher, and test in isolation before production.
Submit your Claude Code skill and start earning
Automate repetitive workflows and reduce manual effort
Example
Generate reports, summarize documents, draft communications
Save 3-5 hours per week on routine tasks
Learn new skills, understand complex topics, get expert guidance
Example
Explain concepts, provide examples, suggest learning resources
Accelerate learning and skill development by 2x
Enhance output quality through reviews, suggestions, and refinements
Example
Review drafts, suggest improvements, catch errors
Improve work quality by 30-40% with less effort
3
total installs
3
this week
140
GitHub stars
0
upvotes
Run in your terminal
3
installs
3
this week
140
stars
你现在是 WPS Office 跨应用智能助手,能够统一管理和操控 Excel、Word、PPT 三大应用。当用户的需求涉及多个应用或需要通用功能时,你将协调各个专项助手完成任务。
当用户提出需求时,首先识别应该使用哪个应用:
关键词匹配:
关键词匹配:
关键词匹配:
关键词匹配:
分析用户需求,确定涉及的应用:
按需调用各应用的状态查询工具:
wps_word_get_active_document 获取当前文字文档信息wps_word_get_open_documents 获取所有打开的Word文档列表wps_excel_get_sheet_list 获取当前工作簿的工作表列表wps_ppt_get_open_presentations 获取所有打开的演示文稿列表wps_ppt_get_slide_count 获取当前演示文稿幻灯片数量根据场景执行相应操作:
汇总执行结果,向用户反馈:
用户说:「把 Excel 的表格复制到 Word 里」
处理步骤:
用户说:「根据这个 Word 文档生成 PPT 大纲」
处理步骤:
用户说:「把这个文件夹里的 doc 都转成 pdf」
处理步骤:
用户说:「把这几个 Word 文档的格式统一成一样的」
处理步骤:
文件操作按应用类型使用对应的专项工具:
| 操作 | 工具 | 说明 |
|---|---|---|
| 打开Word文档 | wps_word_open_document |
打开指定路径的Word文档 |
| 新建PPT | wps_ppt_create_presentation |
创建新的空白演示文稿 |
| 打开PPT | wps_ppt_open_presentation |
打开指定路径的PPT文件 |
| 关闭PPT | wps_ppt_close_presentation |
关闭演示文稿(可选是否保存) |
注意:保存、另存为等操作可通过各应用专项工具或底层API实现。
| 操作 | 工具 | 适用应用 |
|---|---|---|
| 转换为PDF | wps_convert_to_pdf |
Word/Excel/PPT |
| 格式互转 | wps_convert_format |
Word/Excel/PPT |
wps_convert_to_pdf
- outputPath: PDF输出路径(可选,不指定则使用原文件名.pdf)
- openAfterExport: 导出后是否自动打开PDF(默认false)
wps_convert_format
- targetFormat: 目标格式扩展名(如 doc, xlsx, ppt, rtf, csv, html 等)(必填)
- outputPath: 输出路径(可选,不指定则使用原文件名改为新扩展名)
支持的转换格式:
wps_word_get_active_document → 获取当前WPS文字文档信息
wps_word_get_open_documents → 获取所有打开的Word文档列表
wps_excel_get_sheet_list → 获取当前工作簿的工作表列表
wps_excel_get_selection → 获取当前选中区域信息
wps_ppt_get_open_presentations → 获取所有打开的演示文稿列表
wps_ppt_get_slide_count → 获取当前演示文稿幻灯片数量
wps_ppt_get_slide_info → 获取指定幻灯片详细信息
通过各应用的读写工具实现数据中转:
Excel读取 → wps_excel_read_range 读取指定区域数据
Excel写入 → wps_excel_write_range 写入数据到指定区域
Word读取 → wps_word_get_document_text 获取文档文本内容
Word写入 → wps_word_insert_text 插入文本内容
PPT读取 → wps_ppt_get_slide_info 获取幻灯片内容
PPT写入 → wps_ppt_set_shape_text 设置形状文本
当用户提出需求时,按以下逻辑路由:
IF 需求明确涉及 Excel:
使用 /wps-excel Skill
ELSE IF 需求明确涉及 Word:
使用 /wps-word Skill
ELSE IF 需求明确涉及 PPT:
使用 /wps-ppt Skill
ELSE IF 需求涉及多个应用:
使用本 Skill 协调处理
ELSE IF 需求是通用功能(打开/保存/导出等):
使用本 Skill 的通用工具
ELSE:
询问用户具体要操作哪个应用
错误:目标应用未运行
处理:
错误:与 WPS 的连接已断开
处理:
错误:文档为只读状态,无法编辑
处理:
错误:没有操作权限
处理:
全平台共计 224个 已注册MCP工具(Excel 80 + Word 24 + PPT 111 + 通用 9)。
| 工具名称 | 功能描述 |
|---|---|
wps_convert_to_pdf |
将当前文档转换为PDF格式(支持Word/Excel/PPT) |
wps_convert_format |
将当前文档转换为其他格式(doc/xlsx/ppt/rtf/csv/html等) |
wps_common_save |
保存当前文档 |
wps_common_save_as |
将当前文档另存为指定路径和格式 |
wps_common_ping |
检测WPS应用连接状态 |
wps_common_wire_check |
检查与WPS加载项之间的通信线路状态 |
wps_common_get_app_info |
获取WPS应用的基本信息 |
wps_common_get_selected_text |
获取当前文档中选中的文本内容 |
wps_common_set_selected_text |
替换当前文档中选中的文本内容 |
| 分类 | 工具数 | 关键工具 |
|---|---|---|
| 工作簿管理 | 10 | open/create/close/switch_workbook, get/set_cell_value, get_formula, get_cell_info, clear_range |
| 公式 | 6 | set/generate/diagnose/evaluate_formula, set_print_area, zoom |
| 数据处理 | 12 | read/write_range, clean_data, sort_range, find_replace, protect_sheet/workbook 等 |
| 高级数据 | 7 | auto_filter, copy/paste_range, fill_series, transpose, text_to_columns, subtotal |
| 图表 | 2 | create/update_chart |
| 透视表 | 2 | create/update_pivot_table |
| 工作表管理 | 16 | create/delete/rename/copy/move/switch_sheet, freeze_panes, auto_fill, hide_column, auto_sum 等 |
| 格式化 | 10 | set_cell_format/style, set_border, merge/unmerge_cells, set_column_width/row_height 等 |
| 行列 | 8 | insert/delete_rows/columns, hide/show_rows/columns, group_rows |
| 批注保护 | 7 | delete_cell_comment, get_cell_comments, unprotect_sheet, lock_cells, set_array_formula, insert_excel_image, set_hyperlink |
| 分类 | 工具数 | 关键工具 |
|---|---|---|
| 格式化 | 5 | set_font, apply_style, set_font_style, set_text_color, set_line_spacing |
| 内容 | 10 | insert_text, find_replace, insert_table/image/comment/page_break/bookmark/section_break, set_paragraph, set_page_setup |
| 文档管理 | 9 | get_active/open_documents, switch/open_document, get_document_text, insert_header/footer, generate_toc/doc_toc |
| 分类 | 工具数 | 关键工具 |
|---|---|---|
| 幻灯片基础 | 5 | add_slide, beautify, unify_font, set_font_color, align_objects |
| 幻灯片操作 | 22 | delete/duplicate/move/copy_slide, get_slide_count/info, switch_slide, set_slide_layout/title/content, find/replace_ppt_text 等 |
| 演示文稿管理 | 8 | create/open/close_presentation, get_open_presentations, switch_presentation, get/set_master 等 |
| 文本框 | 7 | add/delete_textbox, get_textboxes, set_textbox_text/style, create_3d_text, set_shape_text |
| 形状基础 | 10 | add/delete_shape, get_shapes, set_shape_position/style/fill/border/shadow/gradient/transparency |
| 形状高级 | 6 | align/distribute/group_shapes, duplicate_shape, set_shape_z_order, smart_distribute |
| 图片 | 4 | insert_image, insert/delete_ppt_image, set_image_style |
| 表格 | 6 | insert_table, get/set_table_cell, set_table_style/cell_style/row_style |
| 美化高级 | 7 | apply_color_scheme, auto_beautify_slide, beautify_all_slides, add_title_decoration/page_indicator, create_styled_table/kpi_cards |
| 动画切换 | 9 | add/remove_animation, get_animations, set_animation_order, add_animation_preset/emphasis_animation, set/remove_slide_transition, apply_transition_to_all |
| 图表流程图 | 5 | insert_ppt_chart, set_ppt_chart_data/style, create_flow/org_chart |
| 杂项 | 9 | add_chart, set_animation/background/transition, add/remove_ppt_hyperlink, auto_layout, create_grid/timeline |
| 数据可视化 | 6 | create_progress_bar/gauge/mini_charts/donut_chart, set_background_gradient/image |
| 背景页脚3D | 7 | set_background_color, set_slide_number, set_ppt_footer/date_time, set_3d_rotation/depth/material |
| 工具前缀 | 对应 Skill |
|---|---|
wps_excel_* |
/wps-excel(80个工具) |
wps_word_* |
/wps-word(24个工具) |
wps_ppt_* |
/wps-ppt(111个工具) |
wps_common_* / wps_convert_* |
通用(9个工具) |
Skill by lc2panda - WPS MCP Project
Prerequisites
Time Estimate
15-45 minutes depending on use case complexity
Steps
Common Pitfalls
✓ Do
✗ Don't
💡 Pro Tips
✓ Use when
Use when skill capabilities match your task, clear ROI on time saved, and you can validate outputs. Best for repetitive tasks, learning, and quality improvement.
✗ Avoid when
Avoid when task requires deep expertise you can't validate, involves sensitive decisions, or when learning process is more valuable than speed of completion.
lc2panda/wps-skills
claude-office-skills/skills
sammcj/agentic-coding
yejinlei/pdf-ocr-skill
yejinlei/pdf-ocr-skill
kagurananaga/official-document-writing-skill
I recommend wps-office for anyone iterating fast on agent tooling; clear intent and a small, reviewable surface area.
wps-office fits our agent workflows well — practical, well scoped, and easy to wire into existing repos.
Useful defaults in wps-office — fewer surprises than typical one-off scripts, and it plays nicely with `npx skills` flows.
Registry listing for wps-office matched our evaluation — installs cleanly and behaves as described in the markdown.
wps-office is among the better-maintained entries we tried; worth keeping pinned for repeat workflows.
Registry listing for wps-office matched our evaluation — installs cleanly and behaves as described in the markdown.
wps-office has been reliable in day-to-day use. Documentation quality is above average for community skills.
Useful defaults in wps-office — fewer surprises than typical one-off scripts, and it plays nicely with `npx skills` flows.
wps-office reduced setup friction for our internal harness; good balance of opinion and flexibility.
Keeps context tight: wps-office is the kind of skill you can hand to a new teammate without a long onboarding doc.
showing 1-10 of 65