Anthropic/docx — Agent Skills | officialskills.sh

Setup & Installation

npx skills add https://github.com/anthropics/skills --skill docx
or paste the link and ask your coding assistant to install it
https://github.com/anthropics/skills/tree/main/skills/docx
View on GitHub

What This Skill Does

Handles .docx file creation, editing, and analysis. Supports generating structured Word documents from scratch using docx-js, editing existing files by unpacking and modifying XML, and extracting content with pandoc. Covers tables, images, tracked changes, headers/footers, footnotes, and table of contents.

Generating .docx files manually means wrestling with XML namespaces, DXA unit math, and docx-js quirks like portrait/landscape dimension swaps — this skill encodes those rules so you don't have to rediscover them.

When to use it

  • Creating a formatted Word report with tables, headings, and page numbers
  • Editing an existing contract to add tracked changes with author attribution
  • Extracting text from a .docx file into markdown for further processing
  • Converting a .doc legacy file to .docx and updating its content
  • Building a memo template with a header, footer, and auto-generated table of contents