docx

Create, edit, and analyze .docx files with formatting and text manipulation.

Updated May 5, 2026
One-click install
npx skills add https://github.com/saif27217/microclaw-setup --skill docx-saif27217
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: docx
Source: https://github.com/saif27217/microclaw-setup/tree/main/skills/docx
Command: npx skills add https://github.com/saif27217/microclaw-setup --skill docx-saif27217

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires docx-js, pandoc, LibreOffice, Poppler, and includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill streamlines the process of creating, editing, and analyzing .docx documents, reducing the time spent on manual formatting and content manipulation.

Core Features & Use Cases

  • Document Creation: Generate new Word documents with professional formatting and custom page sizes.
  • Document Editing: Apply changes to existing documents, including inserting tables, images, and comments.
  • Content Analysis: Extract text and manipulate content within .docx files for further processing.

Quick Start

Create a new Word document with headers and footers.

Frequently Asked Questions about docx

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate Word document creation and text formatting for report generation?

Automating Word document creation involves using libraries like docx-js to generate .docx files with custom page sizes, headers, and footers. This approach streamlines professional document preparation and reduces manual formatting time.

Can I extract text from a .docx file for further content analysis?

Yes, you can extract text from a .docx file for content analysis. Tools like pandoc handle text extraction and XML manipulation, allowing you to process and analyze document contents programmatically for downstream workflows.

What's the best way to insert tables and images into existing .docx documents?

The best way to insert tables and images into existing .docx documents is through an XML manipulation library like docx-js. This enables precise document editing, allowing you to apply changes such as adding comments and visual elements programmatically.

Do I need pandoc and LibreOffice installed to manipulate .docx files?

Yes, effective .docx file manipulation requires dependencies like docx-js and pandoc for XML manipulation and text extraction. LibreOffice and Poppler are also utilized to support extensive document editing and analysis operations.

Are there limitations when using docx-js for XML manipulation in Word documents?

When using docx-js for XML manipulation in Word documents, limitations may arise with highly complex formatting or embedded macros. It handles standard text, tables, and images well, but extreme edge cases might require direct XML intervention.

Does this approach support adding headers, footers, and custom page sizes to Word documents?

Yes, this approach supports adding headers, footers, and custom page sizes to Word documents. You can programmatically generate new files with professional formatting tailored to specific document preparation and content creation requirements.