Office Docs
Skill by baiyunrei2025
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/baiyunrei2025/office-docsWhat This Skill Does
The Office Docs skill acts as a comprehensive engine for document lifecycle management within the OpenClaw environment. It specializes in the automated handling of Microsoft Word (.docx) and WPS Office files, providing a bridge between raw data and professional documentation. The skill leverages powerful underlying libraries like python-docx, pandoc, and LibreOffice to perform operations ranging from simple text extraction and metadata retrieval to complex document composition, batch conversion, and file integrity checks. Whether you need to programmatically generate reports, extract structured information from existing archives, or transform legacy office formats into modern document types, this skill provides the necessary interfaces for seamless integration.
Installation
To integrate this skill into your OpenClaw agent, execute the following command in your terminal or agent console:
clawhub install openclaw/skills/skills/baiyunrei2025/office-docs
Ensure that you have pandoc and libreoffice installed on your host system, as these dependencies are required for advanced conversion and cross-format document support.
Use Cases
- Automated Reporting: Generate daily or weekly project status reports by pulling data from databases and inserting it into standardized .docx templates.
- Content Extraction: Parse large volumes of internal documentation to build a searchable knowledge base or index key metadata for document tracking.
- Workflow Automation: Convert legacy .wps files into modern .docx formats in bulk for team-wide accessibility and standardized storage.
- Dynamic Editing: Use mail merge functionality to customize thousands of letters or certificates automatically.
Example Prompts
- "Office Docs, please extract all headings from project_proposal.docx and save them into a new summary document."
- "Convert all the .wps files in my 'documents' folder to .docx format and move the originals to an archive directory."
- "Create a new word document titled 'WeeklyReport.docx', add a title heading, and append a table containing the data from my latest analytics export."
Tips & Limitations
- Pre-Processing: For complex WPS files, it is highly recommended to convert them to .docx format first to ensure full compatibility with python-docx.
- Error Handling: When working with batch processing, always verify file integrity using
fileorexiftoolbefore attempting large-scale modifications to avoid data corruption. - Performance: For massive documents exceeding 100 pages, utilize
docx2txtfor rapid content extraction rather than full DOM parsing to save memory.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-baiyunrei2025-office-docs": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: file-write, file-read, code-execution
Related Skills
autoresearch
Autonomous AI research skill for running automated neural network experiments. This skill should be used when the user wants to set up autonomous AI research experiments, run automated neural network training, conduct autonomous machine learning research, or let AI agents experiment with model architectures and hyperparameters. Based on Andrej Karpathy's autoresearch project, this skill enables AI agents to autonomously modify training code, run experiments, evaluate results, and iteratively improve models. Use when: (1) Setting up autonomous research experiments, (2) Running automated neural network training, (3) Conducting AI-driven research optimization, (4) Experimenting with model architectures and hyperparameters, (5) Implementing autonomous research loops, or (6) When the user mentions "autonomous research", "AI experiments", "automated training", "neural network optimization", or "autoresearch".
Agent Browser Skill
Skill by baiyunrei2025