docx

Create, edit, and extract text from Word documents with tracked changes.

1|Updated Feb 2, 2026
One-click install
npx skills add https://github.com/KARENLHAO/skills --skill docx-karenlhao
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: docx
Source: https://github.com/KARENLHAO/skills/tree/main/docx
Command: npx skills add https://github.com/KARENLHAO/skills --skill docx-karenlhao

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

Comprehensive toolkit for creating, editing, and analyzing professional Word documents (.docx) while preserving formatting, supporting tracked changes, and managing comments.

Core Features & Use Cases

  • Create new DOCX files using docx-js and related Word document tooling.
  • Edit existing documents with redlining workflows, comments, and tracked changes to preserve audit trails.
  • Extract text and analyze document structure for reviews, migrations, or reporting.
  • Use-case: Draft a contract, apply track changes, add comments, and export a final, publication-ready .docx.

Quick Start

Create a new Word document, add a title and a paragraph, then enable tracked changes for review.

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 editing with tracked changes?

This Skill automates Word document creation and editing with tracked changes by leveraging docx-js and OOXML tooling to generate, modify, and redline .docx files while preserving formatting and complete audit trails.

What is the best way to add comments and redlining to a .docx file programmatically?

Adding comments and redlining to a .docx programmatically is achieved through OOXML manipulation, which injects tracked changes and annotations while maintaining the document's original formatting and structural integrity.

Can I extract text and analyze document structure from existing Word documents?

Yes, you can extract text and analyze document structure from existing Word documents. The Skill processes .docx files to pull textual content and structural data for reviews, migrations, or automated reporting.

Does this Word document toolkit require specific XML libraries to function?

Yes, this Word document toolkit requires specific XML libraries to function, utilizing defusedxml and lxml to securely and efficiently parse the OOXML structure inherent in .docx files.

What are the limitations of using OOXML for tracked changes in Word documents?

Limitations of using OOXML for tracked changes include potential formatting loss if the underlying XML schema is not fully supported, requiring strict adherence to the standard to preserve audit trails across different Word processors.