WPS: Automating Excel / WPS Spreadsheets with Agent Skills

Introduction

Financial statements, attendance summaries, and sales detail compilation often involve repeatedly opening spreadsheets, copying and pasting, and merging multiple worksheets. Local Python scripts can automate this, but maintaining openpyxl read/write operations, formatting, and xlsm parsing details yourself comes with non-trivial overhead. Installing a spreadsheet-oriented Skill in an Agent environment with Skills support, such as Cursor or Claude Code, can turn “writing scripts + calling libraries” into describing your needs in a conversation, with the Agent executing according to the Skill’s guidance.

Below we introduce WPS on SkillHub (coordinate @user_d6510c26/wpsxiao), designed for Excel / WPS spreadsheet automation.

What Is This

WPS is a community-sourced (community) office productivity Skill, categorized under office-efficiency. The current version is 1.0.0, published by user_d6510c26 (the SkillHub page credits the author as “Xiaoyan”). The Skill’s tags indicate that no API key is required (requires_api_key=false).

One-line positioning: based on capabilities such as openpyxl, it helps Agents create formatted reports, parse xlsm files containing macros, and batch merge data from multiple worksheets; it is compatible with Windows / macOS and works with common spreadsheet files produced by WPS Office and Microsoft Excel.

Official entry points:

  • SkillHub page: https://www.skillhub.cn/skills/user_d6510c26/wpsxiao
  • API coordinate page: https://api.skillhub.cn/user_d6510c26/wpsxiao

SkillHub public data (based on the page and scraped metadata): rating 100000, 8871 downloads.

Core Features

The following capabilities come from the Skill’s official description; no details beyond what appears in the materials are extrapolated.

  1. Professionally formatted reports: use openpyxl to create and adjust styled spreadsheet output, reducing manual formatting work.
  2. xlsm parsing: handle complex xlsm files containing macros (the exact boundaries for macro execution depend on the Skill’s SKILL.md and the Agent environment).
  3. Batch merging: aggregate data from multiple worksheets or files into a unified structure, suitable for cross-sheet consolidation tasks.

Typical scenarios listed by the official source include financial report generation, attendance summarization, sales data organization, and HR batch processing; common user needs include “Excel repetitive operations are too time-consuming,” “WPS automation,” “batch processing spreadsheets,” and “xlsm file parsing.”

Installation and Activation

The installation method given on the SkillHub page is to let the AI follow the official installation documentation and install coordinate @user_d6510c26/wpsxiao. You can send the following prompt to your current Agent:

Please follow https://skillhub.cn/install/skillhub.md to install `@user_d6510c26/wpsxiao`.

If skillhub CLI is already installed on your machine, you can use the SkillHub installation documentation to install the Skill into the current Agent’s skills directory (the --dir flag is required; otherwise it defaults to ./skills/ and the Agent may not recognize it):

command -v skillhub && skillhub --version

If the CLI is not installed, the documentation recommends:

curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash

Example of installing the Skill (replace <skills 目录> with the path for your current environment):

skillhub install user_d6510c26/wpsxiao --dir <skills 目录>

Common Agent skills directories (excerpted from the official installation documentation):

Environment Path
Cursor ~/.cursor/skills/
Claude Code ~/.claude/skills/
Codex ~/.codex/skills/ or .agents/skills/ under the project

After installation, you generally need to restart or reload the Agent so the Skill takes effect. Differences among Codex CLI, Claude Code, and Cursor mainly come down to the skills directory location; the installation command itself follows skillhub install … --dir.

Typical Usage

The public page does not include an independent code repository or step-by-step tutorials. The typical usage is: after enabling the Skill, describe the spreadsheet path, target structure, and output requirements in natural language, and the Agent will follow the Skill’s internal specifications to call openpyxl and similar tools to complete the processing. You can organize your conversation along the following need types (example phrasing, not a fixed API):

  1. Generate a report: specify the source data fields, aggregation rules, whether header styling is needed, and the output .xlsx path.
  2. Parse xlsm: provide the xlsm path, specify the worksheets or fields to read, and any macro-related notes (if you only need to read data, clarify whether you need structure-only reading).
  3. Merge multiple sheets: list the names of multiple files or multiple sheets within the same file, and specify the key columns and merge method (appending rows, joining by keys, etc.).

Before execution, it is recommended to confirm: input files have been backed up; large files or macro-containing files are tested locally in a sandbox first; the output path has write permissions.

Use Cases and Notes

Who it is for: office and data analysis professionals who frequently consolidate spreadsheets, build template-based reports, or merge multiple sheets; developers already using Skills in environments such as Cursor / Claude Code.

Limitations and notes:

  • The Skill depends on the Python ecosystem (the description explicitly mentions openpyxl), so the runtime environment must be able to install and use the corresponding dependencies; specific versions and scripts are subject to the SKILL.md after installation.
  • When xlsm contains macros, security and compatibility vary by local Office/WPS version; always verify with a copy first when working with production data.
  • No API key is required, but spreadsheet file paths and private data remain under user control; do not upload sensitive sheets to untrusted environments.
  • This is a community Skill; its behavior is based on the contents of the SkillHub current version 1.0.0 package; upgrades can be handled through the corresponding skillhub update process (see the installation documentation).

Conclusion

WPS wraps “writing tables with openpyxl, parsing xlsm, and merging multiple sheets” into a Skill that Agents can follow, making it suitable for handing repetitive Excel / WPS operations over to a conversation-driven workflow. Installation and coordinates follow SkillHub:

https://www.skillhub.cn/skills/user_d6510c26/wpsxiao

羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye