docx

DOCX is Anthropic's open-source agent skill for creating, reading and editing Word files, including tracked changes, comments and tables of contents.

Checked by CookiesForAI on : license and last change of the skill re-read from GitHub.

Written by

Install DOCX

Install only this skill with the skills CLI

Terminal
npx skills add anthropics/skills --skill docx

Or, in Claude Code, add Anthropic's skills marketplace

Agent chat
/plugin marketplace add anthropics/skills

Then install the document-skills plugin, which holds the Word, PDF, PowerPoint and Excel skills

Agent chat
/plugin install document-skills@anthropic-agent-skills

In Claude.ai, Anthropic says its example skills are already available on paid plans: switch them on under Customize > Skills.

Or paste this into your coding agent: Install the agent skill docx from github.com/anthropics/skills. Checked by CookiesForAI on : license and last change of the skill re-read from GitHub. A skill can include scripts that run on your computer, so read its source first.

What DOCX does

The DOCX skill teaches Claude to work with Word documents (.docx) and Word templates (.dotx). It loads when you mention a Word file or ask for a report, memo, letter or template delivered as one. It covers creating, reading and editing documents, find-and-replace, images, tracked changes and comments. It is not for PDFs, spreadsheets or Google Docs.

DOCX writes new documents with the docx library for JavaScript, following a list of known pitfalls, such as A4 being the default page size and tables needing widths on the table and on every cell. Existing files are unzipped and their XML edited directly. Bundled Python scripts merge split text runs so phrases can be found, validate against the Office XML schemas, check that every redline edit is tracked, accept tracked changes and add anchored comments. After writing a file, Claude renders its pages as images and looks at them.

DOCX is one of Anthropic's four document skills, next to PDF, PowerPoint and Excel. Since it is open source under Apache-2.0, like most skills in Anthropic's repository, so you may copy and change it as long as you keep the license notice. Anthropic's README says it shares these four as a reference for more complex skills.

When to use DOCX

  • You need a report, memo or letter as a Word file with headings, page numbers or a table of contents.
  • You want to redline a contract with tracked changes and comments.
  • You need to find and replace text or swap images in an existing Word document.
  • You want the text of a .docx file as Markdown.

When to pick something else

  • You want a PDF or a spreadsheet: the skill says it is not for those; Anthropic's PDF and XLSX skills cover them.
  • You want a Google Doc: the skill does not load for Google Docs.

Which agents DOCX works in

Anthropic documents DOCX for Claude Code, Claude.ai, Claude API. The open skills CLI also installs it into 78 agents, including Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode (we listed it with the CLI on ). See where each agent looks for skills.

Anthropic's README says this skill is one of those behind Claude's own document features. Its SKILL.md expects the docx npm package to be preinstalled and uses pandoc, LibreOffice and Poppler, so another agent may need you to install those first. We have not run it in other agents.

We also list this company's other pages: Claude Code coding tool.

DOCX license

DOCX is published under Apache-2.0. Apache-2.0 comes from the LICENSE.txt in the skill's own folder (read ), which Anthropic moved to this license on ; the anthropics/skills repository has no root license file. In practice you may use, change and share the skill in any agent, commercially too, as long as you keep the license text and notices and mark your changes.

Questions people ask

Can I use Anthropic's docx skill in Codex, Cursor or ChatGPT?

The license allows it. Since its LICENSE.txt (read ) is Apache-2.0, so you may copy and change it for any agent as long as you keep the license text and notices and mark your changes. The open skills CLI lists it too. Anthropic documents it only for Claude.ai, Claude Code and the Claude API, and we have not run it elsewhere, so test it in your own setup first.

Can the docx skill redline a contract with tracked changes?

Yes. It edits the document XML directly, and bundled scripts check that every redline edit is tracked, add anchored comments and validate the file against the Office XML schemas. Claude then renders the pages as images and looks at them.

More from Anthropic

Lists that include docx