← Back to Skills Marketplace
Wps Skill
by
MaxStormSpace
· GitHub ↗
· v1.0.1
6358
Downloads
3
Stars
32
Active Installs
2
Versions
Install in OpenClaw
/install wps-office
Description
Automate WPS Office tasks including document creation, opening, format conversion, batch processing, and managing WPS 365 smart forms, docs, sheets, flowchar...
Usage Guidance
Install only if you are comfortable letting an agent create/open/convert files and control your desktop. Keep WPS focused during content entry, avoid broad batch directories, leave WPS 365 credentials blank unless needed, and treat generic document requests cautiously because the trigger patterns are broad.
Capability Analysis
Type: OpenClaw Skill
Name: wps-office
Version: 1.0.1
The skill provides legitimate WPS Office automation but contains several critical vulnerabilities due to insufficient input sanitization. Specifically, the `scripts/main.py` directly uses `sys.argv` parameters like `content` for `pyautogui.typewrite`, which can lead to arbitrary command execution if an attacker can control the AI agent's prompt and a terminal is active. Furthermore, `filepath` and `directory` parameters are passed to `subprocess.Popen` and `os.path.expanduser`/`os.listdir` without robust validation, posing shell injection and path traversal risks. The WPS 365 cloud API controllers also pass user-controlled arguments (e.g., `endpoint`, `data`, `filters`) directly to `requests` calls, enabling potential API abuse or server-side request forgery (SSRF) against `open.wps.cn` using the user's configured `app_id` and `app_secret`. While the `SKILL.md` transparently warns about GUI automation risks, the code lacks safeguards against malicious input, making the skill highly susceptible to prompt injection attacks against the AI agent.
Capability Assessment
Purpose & Capability
Document creation, opening, conversion, batch conversion, and optional WPS 365 features match the stated WPS Office automation purpose. The same capability can affect local files and desktop apps, so it is not risk-free.
Instruction Scope
The skill accepts broad command arguments for file paths, directories, formats, and document content, and skill.json uses generic triggers such as "word", "excel", and "文档". Combined with active-window GUI typing, accidental invocation or prompt-driven misuse could have high impact.
Install Mechanism
Installation is a normal Python package setup, but dependencies are not pinned. skill.json also omits requests while SKILL.md documents it, so cloud functionality appears inconsistent.
Credentials
Local file writes, app launches, directory batch operations, and pyautogui keyboard simulation are proportionate to office automation, but the implementation does not verify WPS focus or confine paths before operating.
Persistence & Privilege
No background persistence or privilege escalation was found. Optional WPS app credentials may be stored in config.json and, if the cloud path worked, would be used for WPS Open Platform requests.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install wps-office - After installation, invoke the skill by name or use
/wps-office - Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.1
- Improved security documentation: added detailed warnings about local automation and API credentials.
- Streamlined feature overview, installation, and usage sections for clarity.
- Updated dependencies list to include requests.
- Added implementation and troubleshooting notes for both local and cloud WPS features.
- SKILL.md content revised for better safety, transparency, and user guidance.
v1.0.0
WPS Office Skill 1.0.0 - Initial Release
- Automates local document operations: create, open, list Word/Excel/PPT files
- Supports file format conversion and batch document conversion, including Markdown to Word/RTF/HTML
- Integrates with WPS 365 for smart forms, collaborative documents, multidimensional tables, flowcharts, and mind maps (requires WPS API credentials)
- Offers command-line usage for all features and OpenClaw integration for natural language control
- Includes detailed setup and configuration instructions
Metadata
Frequently Asked Questions
What is Wps Skill?
Automate WPS Office tasks including document creation, opening, format conversion, batch processing, and managing WPS 365 smart forms, docs, sheets, flowchar... It is an AI Agent Skill for Claude Code / OpenClaw, with 6358 downloads so far.
How do I install Wps Skill?
Run "/install wps-office" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Wps Skill free?
Yes, Wps Skill is completely free (open-source). You can download, install and use it at no cost.
Which platforms does Wps Skill support?
Wps Skill is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Wps Skill?
It is built and maintained by MaxStormSpace (@lilei0311); the current version is v1.0.1.
More Skills