Introduction¶
When handling PDF, Office, and CAD conversions within automated scripts or conversational Agents, common practices involve installing numerous local conversion libraries and maintaining dependencies yourself, or uploading files to third-party online conversion sites. The former results in a heavy environment with difficult-to-manage format boundaries, while the latter involves compliance and key management issues. If you wish for conversion capabilities to originate from official WPS Office, yet be executable by a model step-by-step via a Skill, you can explore the WPS CLI on SkillHub (coordinate @wps/wpscli, current version 1.0.4).
What is this¶
WPS CLI is an enterprise-source Skill published by Zhuhai Kingsoft Office Software Co., Ltd. on SkillHub, categorized under office-efficiency. It is designed for “multi-format document conversion and common PDF operations.” After an Agent reads the SKILL.md, it can initiate conversions between PDF and Word/PPT/Excel/CAD/Image/HTML formats, as well as perform PDF processing such as splitting, merging, encryption/decryption, compression, and page insertion/deletion (specific commands and arguments are subject to the skill documentation within the installation package).
Official resource links:
- Skill Metadata:
https://api.skillhub.cn/wps/wpscli - SkillHub Display Page:
https://www.skillhub.cn/skills/wps/wpscli
Core Functions¶
The following capabilities are derived from the SkillHub page and pre-fetched summaries, representing listed items from the same set of official descriptions:
Convert from or process PDF
- PDF to Word, PPT, Excel, CAD, Image, HTML
- PDF splitting, merging, encryption, decryption, compression
- Deleting PDF pages, inserting PDF pages
Generate PDF from or convert between other formats
- Word, Excel, PPT, Image, CAD to PDF
- CAD to Image
The skill tags indicate requires_api_key=true: WPS-related API keys must be configured according to the skill documentation before use; conversion steps typically cannot be completed without configuration.
Installation and Activation¶
The following section describes installing via the SkillHub CLI into the skills directory recognizable by the current Agent. If skillhub is not installed on your machine, please check or install the CLI according to the official installation instructions first.
1. Check if SkillHub CLI is installed
command -v skillhub && skillhub --version
2. Install CLI if not present (Full install or CLI only)
curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash
To install only the CLI:
curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash -s -- --cli-only
3. Install WPS CLI to the current environment’s skills directory
When installing the skill, you must use --dir to point to the current Agent’s skills directory; otherwise, defaulting to ./skills/ might not be recognized. Common path examples:
- Cursor:
~/.cursor/skills/ - Claude Code:
~/.claude/skills/ - Codex:
~/.codex/skills/or.agents/skills/under the project
Execute under the premise that the corresponding directory is determined (package name based on SkillHub coordinates):
skillhub install @wps/wpscli --dir ~/.cursor/skills/
Replace ~/.cursor/skills/ with the actual Agent skills path you are using. After installation, restart or refresh the skill list according to the client’s requirements to activate @wps/wpscli.
4. Install via Agent conversation (Prompt provided on SkillHub page)
You can also send the following intent to an Agent that supports Skills, allowing it to complete the installation via https://skillhub.cn/install/skillhub.md:
Please install `@wps/wpscli` based on https://skillhub.cn/install/skillhub.md.
Typical Usage¶
The public page does not provide specific copy-paste conversion command examples; the typical workflow is: First complete installation and API Key configuration (field names and acquisition methods are found in the installed SKILL.md), then specify the source file path, target format, and operation type in the conversation (e.g., “Convert a PDF to Word” or “Merge two PDFs”), and the Agent will invoke the official WPS conversion capabilities according to the skill documentation.
It is recommended to clarify the following within the same conversation turn:
- Input file paths and whether multiple files exist (for merging or splitting scenarios).
- Target format or PDF operation type (consistent with the core function list above).
- Output path or naming conventions.
Avoid fabricating CLI subcommands or environment variable names without verifying the skill documentation.
Suitable Scenarios and Notes¶
Who it is for
- Teams already using clients like Cursor, Claude Code, or Codex that support SkillHub skills, and whose document processing is centered around the WPS ecosystem.
- Scenarios hoping to converge “format conversion + PDF maintenance” into official capabilities, orchestrated step-by-step by an Agent, rather than building custom conversion pipelines.
Points to Note
- API Key: The tag
requires_api_key=trueis present. Before deployment, confirm that the key source, permissions, and retention policies meet enterprise requirements. - Version: Displayed as v1.0.4 on SkillHub; upgrades can be performed using
skillhubfor@wps/wpscli, and re-confirm if there are changes inSKILL.md. - Data and Compliance: As an enterprise-source skill, confirm whether the invocation method satisfies internal network or data export policies before processing sensitive documents.
- Statistics: The SkillHub pre-fetched metadata shows a rating of 100000 and approximately 7099 downloads (page display may vary based on statistics refresh time; refer to SkillHub for the latest).
Conclusion¶
WPS CLI encapsulates Kingsoft’s official PDF and multi-format conversion, along with common PDF editing capabilities, into an Agent Skill. It is suitable for reducing the burden of self-built conversion stacks in office-efficiency workflows. For installation entry and coordinates, see SkillHub: https://www.skillhub.cn/skills/wps/wpscli, Metadata address: https://api.skillhub.cn/wps/wpscli.