docx

Create, edit, and analyze Word .docx documents via templates and XML workflows.

Updated Apr 4, 2026
One-click install
npx skills add https://github.com/hellitonsm/genesis-project --skill docx-hellitonsm
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: docx
Source: https://github.com/hellitonsm/genesis-project/tree/main/tools/docx
Command: npx skills add https://github.com/hellitonsm/genesis-project --skill docx-hellitonsm

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires defusedxml, lxml, pdf2image, and includes scripts (resource) components.

What problem does it solve?

Use this skill to create, read, edit, and format Word documents (.docx) automatically, reducing manual effort and errors.

Core Features & Use Cases

  • Create new .docx documents from templates or programmatic data.
  • Read, edit, validate, and restructure content, including images, tables, tables of contents, and tracked changes.
  • Apply or accept tracked changes and comments via automation workflows.
  • Extract content for auditing or migration scenarios and export to other formats.

Quick Start

Provide input data and a Word template to generate a polished .docx document.

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 generation from a template?

Automate Word document generation by providing input data and a .docx template to programmatically create polished documents. This skill applies template-driven workflows to generate structured Word files with text, images, and tables.

Can I read and extract content from existing .docx files?

Yes, you can read and extract content from .docx files for auditing or migration scenarios. The skill unpacks the XML structure to extract text, tables, and images, and can export content to other formats using pandoc.

What's the best way to apply or accept tracked changes in a Word document automatically?

Apply or accept tracked changes automatically by integrating LibreOffice workflows with the skill's XML-based unpack and pack processes. This allows automated reviewing and updating of document revisions without manual Word intervention.

Does this approach support validating and updating tables of contents in .docx files?

Yes, this approach supports validating and updating tables of contents in .docx files. It reads, edits, and restructures document content including TOCs, images, and tables via direct XML manipulation.

Do I need lxml and defusedxml to process Word document XML structures?

Yes, you need lxml and defusedxml to securely process Word document XML structures. These dependencies handle the XML unpacking and packing workflows required to parse, validate, and modify internal .docx elements.