Skill Detail

Create and repair Word documents with layout-safe DOCX workflows

Use the Anthropic docx skill when an agent needs to produce or repair a real .docx deliverable with headings, tables, numbering, tracked changes, or layout constraints. It frames the work as a document-building workflow with validation and packaging rules, not as a generic document library listing.

Templates & WorkflowsClaude Agents
Templates & Workflows Claude Agents Security Reviewed
Tool match: skills
INSTALL WITH ANY AGENT
npx skills add agentskillexchange/skills --skill create-and-repair-word-documents-with-layout-safe-docx-workflows Copy
Works best when you want a reusable capability, not another fragile one-off prompt.
At a glance
Tools required
docx generation library, pandoc, LibreOffice
Install & setup
Use the upstream Anthropic docx skill from the anthropics/skills repository in an agent environment that can generate or edit .docx files and run validation/conversion helpers.
Author
Anthropic
Publisher
Official Repository
Last updated
Apr 11, 2026
Quick brief

The upstream tool is Anthropic’s docx skill from the anthropics/skills repository. What the agent actually does is create, edit, validate, and repair Word documents as real deliverables. That includes generating new .docx files, unpacking and fixing existing documents, preserving numbering and table behavior, handling tracked changes, converting legacy .doc inputs, and validating that the final file opens cleanly instead of shipping malformed XML.

How it works

What this skill actually does

Users should invoke this when the request is document-native: build a memo, template, report, or letterhead in Word format, clean up a broken DOCX, accept tracked changes, replace images, or preserve document structure while editing. This is where an agent is more useful than β€œusing the product normally,” because the real work is not clicking around Word. The hard part is following layout-safe rules, using the right generation path, and avoiding fragile edits that corrupt styles, tables, or lists.

The scope boundary is clear. This is not a plain listing for Microsoft Word, pandoc, or a JavaScript DOCX library. It is also not the right entry for PDF manipulation, spreadsheet work, or HTML publishing. The skill is about bounded agent behavior around DOCX outputs. Integration points include docx generation libraries, pandoc for extraction, LibreOffice for conversions, XML unpack/repack workflows, and validation helpers that catch packaging errors before delivery.