wps-officeAutomate WPS Office tasks including document creation, opening, format conversion, batch processing, and managing WPS 365 smart forms, docs, sheets, flowchar...
Install via ClawdBot CLI:
clawdbot install lilei0311/wps-officeWPS Office 自动化操作 Skill,支持本地文档操作和 WPS 365 云端协作功能。
pyautogui 进行键盘输入模拟,可能会与当前活动窗口交互app_id 和 app_secret,建议:scripts/main.py 源码确认功能符合预期app_id 和 app_secretpip install requests pyautogui pyperclip Pillow
编辑 config.json:
{
"default_save_path": "~/Documents/WPS",
"wps_path": "",
"app_id": "",
"app_secret": ""
}
仅在使用 WPS 365 功能时需要:
# 创建 Word 文档
python scripts/main.py create type=writer filename=报告.docx
# Markdown 转 Word
python scripts/main.py convert file=文档.md format=docx
# 批量转换
python scripts/main.py batch_convert dir=~/Documents format=pdf
# 智能表单
python scripts/main.py form_list
# 智能文档
python scripts/main.py doc_list
# 多维表格
python scripts/main.py sheet_list
python scripts/main.py sheet_views sheet_id=sheet_001
# 流程图
python scripts/main.py flow_list
# 思维导图
python scripts/main.py mind_list
subprocess 调用 WPS Office 应用程序pyautogui 模拟键盘输入(创建带内容的文档)POST /auth/v1/token/forms/v1/*/docs/v1/*/sheets/v1/*/flows/v1/*/minds/v1/*Generated Mar 1, 2026
Automates routine document creation and format conversion tasks for small teams without dedicated IT staff. Enables batch processing of documents like invoices or reports, saving time on manual WPS operations.
Helps educators and instructional designers convert markdown lesson plans into formatted Word documents or presentations. Supports batch processing for creating consistent teaching materials across multiple classes.
Facilitates cloud-based document collaboration using WPS 365 features like smart forms for data collection and online documents for real-time editing. Enables distributed teams to manage projects through shared tables and flowcharts.
Assists organizations in converting legacy document formats to modern standards during system upgrades. Provides batch conversion capabilities for large volumes of files while maintaining formatting integrity.
Provides independent contractors with automated document creation and cloud collaboration tools. Enables quick generation of client deliverables and seamless sharing via WPS 365 without manual formatting work.
Offer basic local automation features for free to attract users, then charge subscription fees for advanced WPS 365 cloud features and team collaboration tools. Revenue comes from monthly per-user licenses.
Sell site-wide licenses to corporations needing bulk document automation and secure cloud collaboration. Include custom integration services, priority support, and enhanced security features for large organizations.
Monetize the WPS 365 API integration by offering custom development services to businesses wanting to embed document automation into their existing workflows. Provide consulting for workflow optimization.
💬 Integration Tip
Test GUI automation in a controlled environment first due to pyautogui risks, and consider implementing environment variables for credential management instead of config.json for production use.
Edit PDFs with natural-language instructions using the nano-pdf CLI.
Comprehensive PDF manipulation toolkit for extracting text and tables, creating new PDFs, merging/splitting documents, and handling forms. When Claude needs to fill in a PDF form or programmatically process, generate, or analyze PDF documents at scale.
Convert documents and files to Markdown using markitdown. Use when converting PDF, Word (.docx), PowerPoint (.pptx), Excel (.xlsx, .xls), HTML, CSV, JSON, XML, images (with EXIF/OCR), audio (with transcription), ZIP archives, YouTube URLs, or EPubs to Markdown format for LLM processing or text analysis.
用 MinerU API 解析 PDF/Word/PPT/图片为 Markdown,支持公式、表格、OCR。适用于论文解析、文档提取。
Generate hand-drawn style diagrams, flowcharts, and architecture diagrams as PNG images from Excalidraw JSON
The awesome PPT format generation tool provided by baidu.