docx

Create, edit, and analyze Word documents with docx-js and OOXML workflows.

19|4|Updated Mar 7, 2026
One-click install
npx skills add https://github.com/andregusman-raiz/a-gusman-claude --skill docx-andregusman-raiz
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: docx
Source: https://github.com/andregusman-raiz/a-gusman-claude/tree/main/skills/docx
Command: npx skills add https://github.com/andregusman-raiz/a-gusman-claude --skill docx-andregusman-raiz

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

The DOCX Skill simplifies creating, editing, and analyzing Word documents (.docx) by providing ready-to-use workflows, examples, and practical guidance to automate common document tasks.

Core Features & Use Cases

  • Create new DOCX files programmatically with docx-js, enabling rapid template-driven document generation.
  • Edit existing DOCX files via OOXML unpack/pack and direct XML tweaks for advanced customizations.
  • Support tracked changes in Word documents through explicit XML blocks and edit patterns for collaboration workflows.
  • Extract text, tables, and structure from DOCX using Pandoc, python-docx, or similar tools for downstream processing.
  • Use cases include automating reports, memos, letters, and batch-conversion workflows.

Quick Start

Describe a Word task you want to perform and the skill will automate it.

Frequently Asked Questions about docx

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

FAQPage Schema
How do I create Word documents programmatically using docx-js?

Create Word documents programmatically with docx-js by utilizing ready-to-use workflows for rapid template-driven document generation. You can automate report creation by defining document structures directly in code.

What is the best way to extract text and tables from a DOCX file?

Extract text and tables from DOCX files using Pandoc or python-docx for downstream processing. These tools parse document structure to retrieve content for data migration or analysis workflows.

Can I edit existing Word documents by modifying the OOXML directly?

Edit existing Word documents by unpacking the DOCX file to access and tweak the underlying OOXML XML blocks directly. This allows advanced customizations beyond standard library capabilities.

How do you handle tracked changes in Word documents programmatically?

Handle tracked changes in Word documents by inserting explicit XML blocks that define edit patterns for collaboration workflows. This ensures modifications are visible and validatable within standard processors.

Does python-docx support batch conversion for automating report generation?

python-docx supports batch conversion workflows for automating report generation by processing multiple DOCX files sequentially. It enables extracting and updating content across numerous documents efficiently.