docx

Create, edit, and analyze Word .docx documents via OOXML manipulation.

Updated Jan 22, 2026
One-click install
npx skills add https://github.com/C-Jay69/HYDRASCRAPE_GPT5.2_CODEX_STITCH --skill docx-c-jay69
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: docx
Source: https://github.com/C-Jay69/HYDRASCRAPE_GPT5.2_CODEX_STITCH/tree/main/skills/docx
Command: npx skills add https://github.com/C-Jay69/HYDRASCRAPE_GPT5.2_CODEX_STITCH --skill docx-c-jay69

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill eliminates the complexity of working with .docx files by providing comprehensive tools for creating, editing, and analyzing professional Word documents. It handles the intricate OOXML structure so you can focus on content instead of XML manipulation.

Core Features & Use Cases

  • Document Creation: Build new Word documents from scratch using JavaScript with full formatting control, styles, tables, and images.
  • Tracked Changes & Comments: Implement professional redlining workflows with precise XML-level tracked changes, comments, and review management.
  • Text Extraction & Analysis: Convert documents to markdown or access raw XML for deep content analysis, formatting inspection, and metadata extraction.
  • Use Case: A legal team needs to review a contract, make precise tracked changes, add comments, and export a clean final version while preserving all formatting and document integrity.

Quick Start

Use the docx skill to create a new Word document from the attached template with the updated quarterly sales figures and save it as 'Q3-Report.docx'.

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 without manual XML manipulation?

You can automate Word document creation and editing by using JavaScript generation and OOXML libraries to parse, generate, and validate document structure without manual XML editing. This approach handles intricate formatting, styles, and tables automatically.

Can I implement tracked changes and redlining in .docx files programmatically?

Yes, you can implement professional redlining workflows by applying precise XML-level tracked changes, comments, and review management directly to .docx files. This preserves all original formatting and document integrity during legal or academic reviews.

What is the best way to extract text and metadata from a .docx file for analysis?

The best way to extract text and metadata from a .docx file is converting documents to markdown or accessing raw XML for deep content analysis, formatting inspection, and metadata extraction without losing structural information.

Does this .docx manipulation approach require pandoc and Python OOXML libraries?

Yes, this .docx manipulation approach requires pandoc, docx-js, and Python OOXML libraries to parse, generate, and validate document structure. The defusedxml dependency is also used to securely handle XML parsing.

How do I preserve formatting when editing Word documents for professional workflows?

To preserve formatting when editing Word documents, the system manipulates OOXML structure directly and uses JavaScript generation to maintain full formatting control over styles, tables, images, and document integrity throughout the editing process.

When should I use direct OOXML manipulation instead of standard document editors?

You should use direct OOXML manipulation instead of standard editors when you need to automate professional workflows requiring tracked changes, comments, formatting preservation, and text extraction for legal, academic, and business documents at scale.