docx: a Claude Code skill by Anthropic
Official
For people who need Claude to create, edit, redline or comment on real Word files. Skip it if the document lives in Google Docs or should end up as a PDF.
The skill's text changed on Nov 7, 2026, after we last read it. Our description may be behind.
- Score
- 89of 100
- Rank
- #10of 239
- Installs
- 216Kon skills.sh
- Security
- Mixed 5 scanners
- Updated
- 2026
- Context
- ~209tokens always
Install
npx skills add https://github.com/anthropics/skills --skill docx Run it in your terminal. View the source
Using the Claude app rather than Claude Code? You can add a skill there too. How to add it in the app
What does docx do?
docx is a Claude skill that handles Word documents by treating each .docx as a ZIP of XML files. New documents are built with a script that uses the docx npm library, with notes on page size, tables, lists, images and tables of contents. Existing files are unzipped, cleaned with a run-merging script, edited directly in word/document.xml, zipped again and checked with a validator. It can add tracked changes under an author name, accept all changes into a clean copy, and attach comments through a helper script. After each build Claude converts the file to PDF with LibreOffice and looks at page images to check the layout.
When should you use docx?
Use it when
- You need a report, memo or letter as a .docx
- Redlining a contract with tracked changes
- Adding review comments to someone else's Word file
Skip it when
- The output should be a PDF, spreadsheet or Google Doc
- Plain text or Markdown is enough
What it needs and what it can touch
You need
- Node.js with the docx npm package
- Python for the bundled scripts
- pandoc, LibreOffice and Poppler (pdftoppm)
What it can do
- Runs shell commands and bundled Python scripts
- Reads and writes Word files on your machine
From reading its instructions, not from running it.
Why it scores 89
Strongest on upkeep (100 of 100), weakest on adoption (75).
Is docx safe to install?
At least one scanner raised a medium warning. Read the results below. Scanners often miss what other scanners catch, and a skill can change after a scan. Read its source before you install it.
| Scanner | Result | Date |
|---|---|---|
| Gen Agent Trust Hub | Passed | Nov 7, 2026 |
| Socket | Medium risk | Nov 8, 2026 |
| Snyk | Medium risk | Nov 7, 2026 |
| Runlayer | Low risk | Feb 26, 2026 |
| ZeroLeaks | Low risk | Apr 16, 2026 |
Details
- Installs
- 216,429
- Repository stars
- 192,526
- Last repository change
- Tokens always loaded
- about 209
- Tokens when used
- about 1,486
- License
- Proprietary
- Data confidence
- High
Did it do the job for you?
Alternatives to docx
All skills for this job-
Get xlsxxlsx
For people who want Claude to produce or repair Excel files whose formulas still work.
-
Get pdfpdf
For anyone who needs Claude to merge, split, fill, OCR or pull tables out of PDF files.
-
Get dashi-pptdashi-ppt
For people who want a themed slide deck they can edit in the browser and export to PPTX or PDF.
-
Get ppt-masterppt-master
For people who need real, editable PPTX decks built from documents, topics or their own templates.