SkillsBot.org

Word (docx) Skill for Claude

Anthropic's skill for Word files. Claude creates polished .docx documents, edits existing ones without breaking their formatting, and works with tracked changes and comments.

Part of the Anthropic skills collection.

  • License Apache-2.0
  • Installs 219K
  • GitHub stars 195.3K
  • Audits 1 of 3 passed

Our hands-on test, by SkillsBot.org

We asked Claude for a two-page project proposal in Word

Both runs produced a clean, correct two-page proposal with a contents list, a timeline table, a budget that adds up to £48,000 and page numbers. With the docx skill Claude switched to the docx JavaScript library, wrote a denser document (402 words against 266) and ran the skill's validation script. Without the skill it used python-docx and gave the proposal a proper title page. Neither is clearly better; the skill changed the method more than the result.

  • InstallWorked3 s with the skills CLI
  • Picked up on its ownYesinvoked docx
  • Time1 min 29 s1 min 18 s without the skill
  • API cost$0.38$0.30 without the skill
  • Output check2 pages, 2 tables, page numbersWithout: 2 pages, 3 tables, page numbers

The task, word for word

Write a two-page project proposal as proposal.docx for Northwind Studio redesigning the Leeds City Museums website: title page details, a short table of contents, sections for goals, scope, timeline (as a table), budget (£48,000) and next steps, with page numbers in the footer. Don't ask me questions; make reasonable choices and finish.

With the skill

Page 1 of the proposal made with the docx skill: title block, contents and the first two sections

Without the skill

Page 1 of the proposal made without the skill: a title page with a details table and contents
Page 1, rendered in LibreOffice. With the skill, goals and scope start on page 1; without it, page 1 is a title page. Note the oversized page numbers in the left footer. Full size: with the skill, without.

With the skill

Page 2 with timeline and budget tables, made with the docx skill

Without the skill

Page 2 with timeline and budget tables, made without the skill
Page 2. Both budgets total £48,000 and both timelines start on 11 January 2027. Full size: with the skill, without.
Claude's report after the docx skill run
Claude's report. It pointed out the page-number size glitch itself and that the contents page numbers are typed, not generated by Word. Open full size.

What it actually did

  1. Invoked the docx skill unprompted and followed its advice to build new documents with the docx npm library.
  2. Wrote a Node build script with styles, a contents list with dot leaders, two tables and a footer with Page X of Y fields.
  3. Ran the skill's Office scripts to validate the file and render it, then fixed the contents layout and rebuilt.
  4. Checked both pages as images and confirmed the document is exactly two A4 pages.

Where it helped

  • A real .docx with heading styles, tables and live page-number fields, not a text dump.
  • More substance on the page: measurable goals, an in-scope / out-of-scope split and dated next steps.
  • Honest about its own limits: flagged the hand-typed contents numbers and the footer rendering issue.

Limits we hit

  • Page numbers rendered larger than the rest of the footer in LibreOffice (Claude says the file sets the same size; we did not check in Word).
  • The contents list is typed text, not a Word table-of-contents field, in both runs, so it will not update after edits.
  • Slower and dearer than plain Claude here: 90 s and $0.38 against 78 s and $0.30.
  • Needs Node with the docx package, plus LibreOffice and Poppler for its checks, outside the Claude apps.

Use it for

  • Editing an existing Word file without wrecking its formatting, which the skill handles by editing the XML in place.
  • Tracked changes and comments for review rounds.
  • Reports, letters and proposals that must open cleanly in Word.
  • Ask for a real table-of-contents field if the document will keep changing.

One run with the skill and one without, same prompt, fresh folders, Claude Code 2.1.325 in headless mode. How we test skills. Every skill we have tested.

Last updated . The docx skill is made and maintained by Anthropic; SkillsBot.org is an independent directory and is not affiliated with it.

Use docx in Codex, Cursor and GitHub Copilot

docx is a standard Agent Skills folder, so the same files work in other coding agents. Name the agent when you install:

Parts of a skill that rely on Claude Code features, such as subagents or / commands, may behave differently elsewhere. Paths for each agent are in our install guide.

Word (docx) Skill for Claude facts

Author
Anthropic (@anthropics)
Repository
anthropics/skills
License
Apache-2.0
Installs
219K
GitHub stars
195.3K
First seen on skills.sh
Jan 19, 2026
SKILL.md length
929 words
Other files
30

Security audits on skills.sh:

Installs, stars, first-seen date and audits from skills.sh on November 16, 2026. SKILL.md read from GitHub the same day.

What the docx skill does

The description tells Claude to use this skill for any Word document or template: reports, memos, letters and templates, tables of contents, headings, page numbers, images, find-and-replace, tracked changes and comments.

It takes two different approaches:

  • New documents are written with the docx JavaScript library, with a list of gotchas and a step to verify the output.
  • Existing documents are edited directly in their unpacked XML, without reformatting, so the original styles survive. After editing, a validation script checks the file against the Office schemas; for redlining it also checks that every edit is recorded as a tracked change under the reviewer's name.

The scripts/ folder includes helpers for adding comments, accepting changes and merging text runs, plus shared Office helpers and XML schemas.

What it needs

The docx npm package, pandoc, LibreOffice and Poppler's pdftoppm. The Claude apps already have them.

What is in the docx folder

  • SKILL.mdinstructions
  • LICENSE.txt
  • scripts/29 files

Word (docx) Skill for Claude: FAQ

Can Claude edit a Word document with tracked changes?

Yes. The docx skill covers tracked changes and comments, and its validation step can check that every edit is recorded as a tracked change.

Is the docx skill built into claude.ai?

Yes. Anthropic's Word skill is built into the Claude apps when Code execution and file creation is on.

Why does skills.sh show a failed audit for docx?

On November 16, 2026, Snyk marked it Fail and Socket marked it Warn. The skill runs scripts and handles document files, which these scanners flag. Read the scripts if you install it on your machine.