ClawKit Logo
ClawKitReliability Toolkit
Back to Registry
Official Verified productivity Safety 4/5

Office Docs

Skill by baiyunrei2025

skill-install — Terminal

Install via CLI (Recommended)

clawhub install openclaw/skills/skills/baiyunrei2025/office-docs
Or

What 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

  1. "Office Docs, please extract all headings from project_proposal.docx and save them into a new summary document."
  2. "Convert all the .wps files in my 'documents' folder to .docx format and move the originals to an archive directory."
  3. "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 file or exiftool before attempting large-scale modifications to avoid data corruption.
  • Performance: For massive documents exceeding 100 pages, utilize docx2txt for rapid content extraction rather than full DOM parsing to save memory.

Metadata

Stars4473
Views1
Updated2026-05-01
View Author Profile
AI Skill Finder

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 skill
Add to Configuration

Paste this into your clawhub.json to enable this plugin.

{
  "plugins": {
    "official-baiyunrei2025-office-docs": {
      "enabled": true,
      "auto_update": true
    }
  }
}

Tags(AI)

#office#docx#document-automation#productivity#file-processing
Safety Score: 4/5

Flags: file-write, file-read, code-execution