docx

Create, edit, and analyze .docx files with tracked changes and comments.

Updated Feb 11, 2026
One-click install
npx skills add https://github.com/storyclaw-official/storyclaw-assistant --skill docx-storyclaw-official
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: docx
Source: https://github.com/storyclaw-official/storyclaw-assistant/tree/main/skills/docx
Command: npx skills add https://github.com/storyclaw-official/storyclaw-assistant --skill docx-storyclaw-official

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 complex document workflows by enabling programmatic creation, editing, and analysis of .docx files, including sophisticated handling of tracked changes and comments.

Core Features & Use Cases

  • Document Creation: Generate new .docx files from scratch using JavaScript/TypeScript.
  • Content Extraction: Read text and extract raw XML for detailed analysis of .docx files.
  • Tracked Changes (Redlining): Implement precise edits with tracked changes, essential for collaborative document review and legal/business documents.
  • Use Case: A legal team needs to review a 50-page contract. This Skill can automate the process of applying all proposed amendments, ensuring every change is tracked and the document remains compliant with legal formatting standards.

Quick Start

Use the docx skill to convert the document 'contract-v1.docx' to markdown with all tracked changes.

Frequently Asked Questions about docx

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

FAQPage Schema
How do I apply tracked changes to a .docx file programmatically for legal redlining?

Tracked changes for legal redlining can be applied programmatically using libraries like docx-js and Python's Document library. The Skill ensures precise, batched edits are recorded while preserving formatting and compliance standards.

Can I extract raw text and OOXML from a Word document for analysis?

Yes, raw text and OOXML archives can be extracted from a .docx file for detailed analysis. The Skill parses the underlying XML structure to enable complex document workflows and content review.

What's the best way to generate a new Word document from scratch?

Generating a new Word document from scratch is managed using JavaScript or TypeScript with the docx-js library. This approach enables programmatic creation of professional .docx files while maintaining formatting standards.

Do I need LibreOffice or pandoc installed to edit .docx files?

Yes, dependencies including pandoc, LibreOffice, and poppler-utils are required to manage .docx files. These tools support format conversion, document rendering, and text extraction from OOXML archives.

Does this approach preserve formatting when applying batched edits to contracts?

Formatting is preserved when applying batched edits to contracts. The Skill handles formatting preservation and comment integration, ensuring documents remain compliant with legal standards throughout the redlining workflow.

When do I need tracked changes and comment integration in document workflows?

Tracked changes and comment integration are essential for collaborative document review, particularly for legal and business documents. This Skill supports redlining workflows to ensure compliance and clarity through precise, batched edits.