Word documents are the default deliverable of the working world — but a .docx is really a ZIP-wrapped bundle of XML, which makes it awkward for AI to handle directly. Anthropic's official DOCX Skill lets Claude Code and compatible agents create, edit, and redline professional Word documents like a seasoned document assistant.
What it covers: create, edit, and read in one
Create professional documents: formal files with table of contents (TOC), multi-level headings, headers and footers, page numbers, margins, and watermarked letterheads; supports Word templates (.dotx)
Edit existing documents: modify the .docx XML directly — find-and-replace, insert/replace images, restructure content; legacy .doc files are converted automatically
Tracked changes & comments: edit in redline mode with precise control over every insertion and deletion, so no stray revisions slip in
Content extraction: pull text, tables, and structure out of Word files for summarization, translation, or data pipelines
Validation: built-in XSD schema checks guarantee the output opens cleanly in Word with no corrupted files
Under the hood: docx-js + a native XML pipeline
The skill's cleverness is choosing the right tool per task: creating uses docx-js (a friendly Node library); editing unzips and edits word/document.xml directly (docx-js cannot open existing files); reading uses pandoc to convert to Markdown. Helper scripts handle Word's messiest details — merging fragmented runs, validating redline integrity, and producing clean copies with changes accepted.
Typical use cases
Report generation: have AI turn data analysis into a properly formatted report with TOC, page numbers, and clean typography
Contract/RFP redlining: mark up an existing contract in tracked-changes mode so the boss can accept or reject in one click
Template batch filling: generate personalized quotes and notices from a .dotx template in bulk
Document digitization: extract content from legacy .doc/.docx files and restructure it
How to use & download
Claude Code users: drop the skills/docx directory into your project's .claude/skills/ folder. Then describe the task naturally ("export this report as a Word doc") and the agent handles the rest. Full source: official GitHub repo.
Other agent users: follows the standard SKILL.md convention, compatible with any Agent Skills–supporting toolchain. Official docs: Anthropic Agent Skills documentation.
Related resources
Combine it with the rest of the document-processing quartet: PDF skill (pdf), Excel skill (xlsx), and PowerPoint skill (pptx).