DOCX

DOCX is Anthropic's official agent skill for Word documents. It creates new files, edits existing ones, handles tracked changes and comments, and verifies the result by rendering it, so the document you get is a real .docx, not a text dump.

Agent SkillDocsAgent SkillsAgent SkillsWord DocumentsAnthropicWritingReportsClaude Code VerifiedFree
Works with:Claude CodeCursorCodex

Install

npx skills add https://github.com/anthropics/skills --skill docx
DOCX screenshot 1
DOCX screenshot 2
DOCX screenshot 3
1 / 3

You say

“Use the docx skill to draft a two-page consulting proposal from my bullet points, formatted as a proper Word document with headings and a signature block.”

Skill files (1)

  • skills/docx/SKILL.md

Quality and security

Scores are 0–100, based on the listing’s maintenance, security and documentation signals.

Maintenance95/100
Security85/100
Documentation92/100
License: Apache-2.0
Version: 2026-11-06
Last updated: 2026-11-06

What you get

  • ✓A polished .docx file with real formatting
  • ✓Tracked changes and comments handled in the file
  • ✓A rendered verification that the document looks right

Good fit

  • →Reports, memos, and contracts that must be real .docx files
  • →Editing an existing Word document with tracked changes
  • →Teams that review and comment in Word

Not for

  • ✕Quick notes that work fine as plain text or Markdown
  • ✕Documents that must stay in Google Docs
  • ✕Layout-heavy publishing like books or brochures

DOCX Review: Anthropic's Official Skill for Word Documents That Look Professional

Ask an agent for a report and you usually get a long chat message. Ask for it as a Word file and the result is often worse: a plain dump with broken tables, no table of contents, and formatting that falls apart the moment someone opens it in Word. The model wrote the words. It did not build a document.

DOCX is Anthropic's official skill for Word documents, from the repository that powers Claude's document capabilities. Its SKILL.md runs 174 lines, it ships scripts for merging runs, validating files, and managing comments, and it comes from the same official source as the pptx and pdf skills. It treats a .docx as a ZIP archive of XML with rules worth respecting.

What is DOCX?

DOCX fires whenever the user wants a Word document or template: a report, a memo, a letter, a contract, or a polished deliverable with a table of contents, headings, page numbers, or a letterhead. It also handles reading and reorganizing .docx files, inserting or replacing images, find-and-replace, tracked changes, and comments. It explicitly does not do PDFs, spreadsheets, or Google Docs.

The approach is chosen by task. New documents are written as scripts using the docx library. Editing an existing file means unzipping it, editing the document XML, and zipping it back, because the creation library cannot open existing files. Reading goes through pandoc. Every finished file is rendered and inspected, page by page, before it is handed over.

Key Features

1. New documents built as code, with the gotchas listed

The skill documents the exact traps in the docx library: page size defaults to A4, tables need dual widths in DXA units, lists must use a numbering config rather than literal bullets, image runs require a type, page breaks must sit inside a paragraph. Each rule prevents a specific visible defect.

2. Real editing of existing files

Unzip, edit, re-zip, validate. A merge-runs script coalesces Word's fragmented text runs so a phrase you can see is actually findable in the XML. Legacy .doc files are converted first. The result is a file Word accepts, not a best-effort approximation.

3. Tracked changes done properly

Redlining is supported end to end: wrap changes in insertion and deletion markers with author and date, validate them against the original with an author check, and produce a clean copy with all changes accepted. The skill even warns about the artifacts each approach leaves behind.

4. Comments with all six cross-linked files

Comments in Word require six linked files. A helper script writes them all, assigns comment IDs, and prints the anchor snippet to place in the document XML, so the comment appears exactly where it should instead of floating unattached.

5. Verify by rendering, not by trusting

After writing a .docx, the agent converts it to PDF, renders the pages to images, and looks at them. Table shading, spacing, and page breaks are checked visually, because XML that validates can still look wrong on the page.

How It Works

Install it with the skills CLI. The command below pulls just the docx skill from the official Anthropic repository:

npx skills add https://github.com/anthropics/skills --skill docx

Then ask for a report, memo, letter, or template in plain words. The agent writes the generator script or edits the file you named, validates the output, renders it to images, and inspects the pages. It also installs as part of the document-skills plugin from the same repository.

Who Should Use DOCX?

Anyone who needs Word files from an agent should install it: consultants writing client reports, founders drafting contracts and memos, analysts producing recurring reports, operations staff maintaining templates. It is most valuable when the document will be opened in Word, shared with others, and edited by a human afterward.

Pricing

DOCX is free to install and use. The skill costs nothing. The same license condition as the other Anthropic document skills applies: the repository is source-available, not open source, under a proprietary license file. Use falls under your agreement with Anthropic, and you may not copy the materials, keep copies outside Anthropic services, make derivative works, or distribute them.

Pros and Cons

Pros: official Anthropic guidance with format-specific rules that prevent real defects; proper tracked changes and comments, which most document tools skip; a render-and-inspect verification pass; 174 lines of dense, practical instruction.

Cons: the license is proprietary source-available, which limits reuse of the skill text; it is Claude-first and the document skills are not all available in every Claude surface; it depends on local tools such as pandoc, LibreOffice, and Poppler; editing requires XML surgery, so complex edits take longer than generation.

Final Verdict

DOCX turns document generation from a text dump into a real deliverable. The tracked-changes support and the render-and-inspect pass are the parts that matter most: they are what make the file trustworthy enough to send to a client. If Word documents are part of your work, install it. Try it on GitHub: anthropics/skills.

FAQ

Frequently asked questions

What is DOCX?

DOCX is a Agent Skill listed on aifly.tools that adds new capabilities to your AI coding agent. See the description and screenshots above for what it does.

How do I install DOCX?

Copy the install command in the Install section above and run it in your terminal. No account is needed to copy the command.

Which agents does DOCX work with?

DOCX works with Claude Code, Cursor, Codex.

Is DOCX free?

Yes — DOCX is free to install. Some skills may still need an API key for the underlying service they call.

How do I update DOCX?

Re-run the install command above to get the latest version, or pull the latest code from the source repository linked on this page.