Docx

Create, edit, and analyze Microsoft Word .docx files with tracked changes.

1|1|Updated Mar 1, 2026
One-click install
npx skills add https://github.com/RooseveltAdvisors/claude-agent-stack --skill docx-rooseveltadvisors
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Docx
Source: https://github.com/RooseveltAdvisors/claude-agent-stack/tree/main/skills/Utilities/Documents/Docx
Command: npx skills add https://github.com/RooseveltAdvisors/claude-agent-stack --skill docx-rooseveltadvisors

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires pandoc, docx, libreoffice, poppler-utils, defusedxml, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill streamlines the creation, editing, and analysis of Microsoft Word (.docx) documents, handling everything from basic text manipulation to complex tracked changes and formatting.

Core Features & Use Cases

  • Document Creation: Generate new .docx files from scratch using programmatic control over text, tables, and formatting.
  • Document Editing: Modify existing .docx files, including adding, deleting, or updating content.
  • Tracked Changes (Redlining): Implement precise tracked changes for document review and collaboration, ensuring all modifications are visible and manageable.
  • Document Analysis: Extract text, analyze structure, and convert documents to other formats like Markdown.
  • Use Case: A legal team needs to review a contract. They can use this Skill to apply specific edits with tracked changes, add comments, and ensure all modifications are clearly marked for the other party.

Quick Start

Use the Docx skill to create a new Word document with a title and a single paragraph of text.

Frequently Asked Questions about Docx

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

FAQPage Schema
How do I programmatically add tracked changes to a Word document for contract redlining?

Programmatic redlining in a Word document applies precise tracked changes to .docx files, ensuring all modifications are visible for legal review and collaboration. This Skill uses OOXML manipulation to add, delete, or update content while recording revisions.

What is the best way to automate Word document creation with complex formatting and tables?

Automating Word document creation generates new .docx files from scratch using docx-js, providing programmatic control over text, complex formatting, tables, and images without manual editing.

Can I convert an existing .docx file to Markdown or PDF for document analysis?

You can convert a .docx file to Markdown or PDF for document analysis by extracting text and analyzing structure. This Skill utilizes pandoc, libreoffice, and poppler-utils to transform Word documents into other formats.

Do I need pandoc and libreoffice installed to edit and redline Word documents?

You need pandoc, libreoffice, poppler-utils, and defusedxml installed to support the full document editing, redlining, and conversion capabilities. These dependencies enable OOXML manipulation, format transformation, and secure XML parsing for Word documents.

How does OOXML manipulation handle document editing compared to standard Word macros?

OOXML manipulation handles document editing by directly modifying the underlying XML structure of .docx files, offering more granular control over tracked changes and formatting than standard Word macros, without requiring a Microsoft Office installation.