docx

Generate, edit, and analyze DOCX files with OOXML modifications and tracked changes.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill removes the friction of working with professional Word documents by giving a reliable way to create, edit, and analyze .docx content while preserving structure, formatting, and tracked changes.

Core Features & Use Cases

  • Text extraction and analysis: Convert .docx to markdown to review content quickly, including tracked changes.
  • Professional editing workflows: Create new documents from scratch or edit existing documents using OOXML manipulation.
  • Tracked-changes redlining: Implement complete batches of insertions/deletions (with RSID/author/date handling) to produce review-ready revisions.
  • Comments support: Add and reply to Word comments tied to tracked-change ranges or paragraphs.
  • Image/media handling guidance: Convert between document formats (via LibreOffice) and insert/pack media needed for valid DOCX output.

Quick Start

Use the docx skill to convert the attached file 'contract.docx' into markdown while preserving tracked changes so you can review every edit before repacking.

Frequently Asked Questions about docx

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

FAQPage Schema
How do I redline a Word document with tracked changes programmatically?

Redlining a Word document with tracked changes requires modifying the internal OOXML structure to insert batches of revisions with proper RSID, author, and date handling, producing review-ready files.

Can I convert a .docx file to markdown while preserving tracked changes?

Yes, converting a .docx file to markdown while preserving tracked changes is possible using parsing and transformation tools like pandoc or LibreOffice, allowing you to review edits quickly.

What is the best way to insert comments into a Word document tied to specific revisions?

Inserting comments into a Word document tied to specific revisions involves manipulating OOXML to anchor comment ranges to targeted paragraphs or tracked-change batches for professional review.

Does LibreOffice work with OOXML modifications for document editing?

LibreOffice works with OOXML modifications by handling format conversion and media insertion, ensuring valid DOCX output when repacking edited document components.

How do I handle images and media when creating professional .docx files?

Handling images and media when creating professional .docx files requires converting formats via LibreOffice and executing pack scripts to insert and validate media for final output.