← 返回 Skills 市场
Wps Skill
作者
MaxStormSpace
· GitHub ↗
· v1.0.1
6346
总下载
3
收藏
32
当前安装
2
版本数
在 OpenClaw 中安装
/install wps-office
功能描述
Automate WPS Office tasks including document creation, opening, format conversion, batch processing, and managing WPS 365 smart forms, docs, sheets, flowchar...
安全使用建议
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.
功能分析
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.
能力评估
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.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install wps-office - 安装完成后,直接呼叫该 Skill 的名称或使用
/wps-office触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
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
元数据
常见问题
Wps Skill 是什么?
Automate WPS Office tasks including document creation, opening, format conversion, batch processing, and managing WPS 365 smart forms, docs, sheets, flowchar... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 6346 次。
如何安装 Wps Skill?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install wps-office」即可一键安装,无需额外配置。
Wps Skill 是免费的吗?
是的,Wps Skill 完全免费(开源免费),可自由下载、安装和使用。
Wps Skill 支持哪些平台?
Wps Skill 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Wps Skill?
由 MaxStormSpace(@lilei0311)开发并维护,当前版本 v1.0.1。
推荐 Skills