Skip to content
Agent Skill · Documents & Office

DOCX (Word) Agent Skill

Anthropic's docx skill teaches Claude to create, read, and edit Word documents and templates, including tracked changes, comments, and images.

anthropics/skillsdocx
Summary

What the DOCX (Word) skill does

The docx skill gives Claude a working method for Word files: generating new documents with docx-js, editing existing ones by unpacking and changing the underlying XML in place, and checking the result before handing it back.

It also covers redlining with tracked changes, adding comments, and swapping images, which are the parts of Word editing that are easy to get wrong without a recipe.

“Use this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files).”

When to use it

When this skill fits

  • You need a formatted report, memo, or letter delivered as a .docx file rather than plain text.
  • You want to edit an existing Word document or template without breaking its styles.
  • You are reviewing a contract or draft and want edits recorded as tracked changes with comments.
Install

How to install docx in Claude Code

Commands come from the anthropics/skills README. Restart Claude Code if a newly copied skill does not show up.

  1. Add Anthropic's skills marketplace. In Claude Code, register the anthropics/skills repository as a plugin marketplace.
    Claude Code
    /plugin marketplace add anthropics/skills
  2. Install the document-skills plugin. The document-skills plugin bundles the docx, pdf, pptx, and xlsx skills. You can also pick it from Browse and install plugins.
    Claude Code
    /plugin install document-skills@anthropic-agent-skills
  3. Use it. Ask for a task the skill covers, or mention it by name, for example "use the docx skill". Claude loads the instructions when they are relevant.
  4. Or copy the folder by hand. Claude Code loads personal skills from ~/.claude/skills/<name>/ and project skills from .claude/skills/<name>/ in your repository. Clone the repository and copy the docx folder into either location, keeping SKILL.md and any bundled files together.
    Terminal
    git clone https://github.com/anthropics/skills.git
    mkdir -p ~/.claude/skills && cp -r skills/skills/docx ~/.claude/skills/docx
Source

Source and license

Repository
anthropics/skills by Anthropic
Plugin
document-skills@anthropic-agent-skills
Last checked
Pair with MCP servers

Related MCP servers

The skill tells the agent how to do the work. These MCP server guides cover the tools and data it can reach while doing it.

All servers
FAQ

DOCX (Word) skill questions

What does the DOCX (Word) skill do?

The docx skill gives Claude a working method for Word files: generating new documents with docx-js, editing existing ones by unpacking and changing the underlying XML in place, and checking the result before handing it back.

How do I install the DOCX (Word) skill in Claude Code?

Run /plugin marketplace add anthropics/skills in Claude Code, then /plugin install document-skills@anthropic-agent-skills. You can also copy the docx folder into ~/.claude/skills/ for all your projects, or into .claude/skills/ inside one repository.

What license is the DOCX (Word) skill under?

The skill's frontmatter points to LICENSE.txt in its own folder in anthropics/skills. Read the terms there before reusing or redistributing it: open the skill folder on GitHub.

Is the DOCX (Word) skill an MCP server?

No. A skill is a folder of instructions and optional scripts that the agent reads into its own context when a task calls for it. An MCP server is a separate program that gives the agent tools and data over the Model Context Protocol. The two work well together: the skill describes how to do the job, and MCP servers reach the systems involved. See matching MCP servers.

Keep exploring

More skills from anthropics/skills

All skills