Skip to content
Word Documents (DOCX)

Word Documents (DOCX) Skill

Create, read, and edit Microsoft Word documents — headings, tables of contents, page numbers, letterheads, tracked changes, comments, and images.

GitHub Docs

Install

Install with the skills CLI

One command for Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf and dozens of other agents. Needs Node.js; the skill is fetched straight from anthropics/skills.

$ npx skills add anthropics/skills --skill docx

Run it in a terminal. The CLI finds the agents installed on your machine, asks which ones to add the skill to, and whether to install it into the folder you ran it from or for all your projects.

Other ways to install

Copy the whole skill folder — SKILL.md and any scripts or references beside it — into ~/.claude/skills/docx/, where Claude Code picks it up in every project. Only git is needed.

tmp=$(mktemp -d) && \
  git clone --depth 1 --branch main https://github.com/anthropics/skills.git "$tmp" && \
  mkdir -p ~/.claude/skills && \
  cp -R "$tmp"/skills/docx ~/.claude/skills/docx

No scripts or references next to it? Saving the SKILL.md alone as ~/.claude/skills/docx/SKILL.md works too.

Using another agent? Its personal skills folder
Codex
~/.agents/skills/
Cursor
~/.cursor/skills/
GitHub Copilot
~/.copilot/skills/
Gemini CLI
~/.gemini/skills/
Windsurf
~/.codeium/windsurf/skills/
OpenCode
~/.config/opencode/skills/

About

A skill for producing and manipulating Word documents (.docx) and templates (.dotx). It creates polished, professionally formatted documents — reports, memos, letters, templates — with tables of contents, headings, page numbers, and letterheads; extracts and reorganizes existing content; inserts and replaces images; performs find-and-replace; and works with tracked changes and comments.

SKILL.md

The instructions your agent loads, as published by Anthropic.

SKILL.md

Word Document Skill

Use this skill to create, read, edit, or manipulate Word documents (.docx) and templates (.dotx).

When to use
  • Producing a polished report, memo, letter, or template
  • Adding a table of contents, headings, page numbers, or a letterhead
  • Extracting or reorganizing content from an existing document
  • Inserting or replacing images
  • Find-and-replace, or working with tracked changes and comments
How it works

The skill manipulates the Office Open XML package directly and through python-docx, so formatting, styles, and document structure survive round-trips. It targets clean, template-quality output rather than raw text dumps.

Install
Browse all skills →