Last verified
DOCX Skill
VerifiedOpen, edit, and generate Word documents directly from Claude Code sessions
When it triggers
Use when reading or editing Microsoft Word documents
"Template plus data equals a finished proposal in seconds, with no mail-merge setup required."
What is the DOCX Skill?
The DOCX Skill is an Anthropic-built Claude Code skill with read-write access to Microsoft Word documents. It extracts structured content (headings, paragraphs, lists, tables) from existing .docx files, enables targeted edits, and generates new documents from templates. It sits in the writing and content toolkit for document automation.
How does it work?
The skill loads a bundled OOXML parser library that reads the binary .docx format into a structured document model. Claude navigates the document structure, edits specific paragraphs or table cells, inserts new sections, or fills template placeholders. The modified model is then serialized back to .docx and saved as a new file or written in place.
For workflows that pull data from PDF reports and insert it into Word summaries, the DOCX skill pairs with the PDF skill to cover the full extract-transform-write pipeline in one session.
When should you use it?
Use the DOCX skill for document automation: generating personalized proposals from templates, editing contracts with updated terms, extracting tables from reports, or producing Word-format deliverables from structured data. It matters most when the output must be .docx rather than plain text or Markdown.
Frequently asked questions
Does the DOCX skill preserve styles and formatting when editing documents?
Paragraph styles, heading levels, bold, italic, and table structure are preserved during targeted edits. Complex formatting (custom theme fonts, tracked changes, embedded macros) may not survive. If formatting fidelity matters, review the output in Word or Google Docs afterward.
Can the DOCX skill generate a document from scratch based on a template?
Yes. Provide a template .docx file with placeholder text (e.g., '{{CLIENT_NAME}}') and a data object; the skill replaces each placeholder with actual values and writes a new document. This works well for automating proposal generation, contracts, and report templates.
What is the difference between using the DOCX skill and asking Claude to write Markdown?
Markdown is easier for Claude to produce and suits content destined for a web context. The DOCX skill is the right choice when you need a binary .docx file you can open in Word, email to a client, or hand off to a document management system that expects .docx format.