docx

Edit and analyze DOCX files with tracked changes and OOXML workflows.

21|2|Updated Dec 8, 2025
One-click install
npx skills add https://github.com/silverstein/claude-scientific-skills-desktop --skill docx-silverstein
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: docx
Source: https://github.com/silverstein/claude-scientific-skills-desktop/tree/main/corpus/document-skills/docx
Command: npx skills add https://github.com/silverstein/claude-scientific-skills-desktop --skill docx-silverstein

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill helps you create, edit, and analyze .docx (Word) documents with a strong focus on professional document processing, including tracked changes, comments, and formatting preservation.

Core Features & Use Cases

  • Create and edit DOCX documents using document-generation libraries (docx-js) or OOXML manipulation workflows (Document library).
  • Analyze document content via text extraction (pandoc) and deep inspection with raw OOXML access.
  • Implement legal/professional review workflows using tracked changes and comments, with validation-oriented patterns (e.g., RSIDs, author attribution, and structured edits).

Use case examples

  • Convert a DOCX proposal into a review-ready redline by mapping requested edits into tracked insertions/deletions.
  • Add precise comments tied to specific document ranges (paragraphs or run-level anchors) while preserving formatting structure.
  • Extract text from a DOCX for downstream processing while retaining structure using pandoc.

Quick Start

Use the docx skill to produce tracked changes for the attached document by converting it to markdown with tracked changes preserved, then implementing edits in batches using the Document library.

Frequently Asked Questions about docx

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

FAQPage Schema
How do I automate tracked changes and redlining in Word documents?

You can automate redlining by converting DOCX files to markdown while preserving tracked changes, then applying edits in batches using the Document library and OOXML-aware workflows.

Can I extract text from a DOCX file while preserving document structure?

Text extraction from DOCX files is handled via pandoc conversion, which preserves document structure and feeds the extracted content into downstream analysis workflows.

Does pandoc work with OOXML manipulation for document review workflows?

Pandoc integrates with OOXML workflows by converting DOCX files to markdown, allowing the Document library to unpack, edit, and repack the raw OOXML structure for review.

How do I add comments tied to specific paragraphs in a Word document programmatically?

You can add precise comments tied to specific document ranges like paragraphs or run-level anchors, preserving the original formatting structure using OOXML-aware editing patterns.

What is the best way to inspect raw OOXML in a DOCX file?

Inspecting raw OOXML involves using the Document library to unpack the DOCX container, providing deep access to the internal XML structure for inspection and modification.

Do I need LibreOffice to generate professional Word documents with tracked changes?

You need LibreOffice installed alongside pandoc and poppler-utils to handle document conversion, OOXML unpacking, and validation-friendly editing patterns for tracked changes.