Language:JapaneseEnglish

docx Claude Code Skill

Author
Anthropic
Topics
Documents & Content Creation
License
Proprietary (see LICENSE.txt)
First cataloged
2026-07-09 (UTC)
Explanation last updated
2026-08-21 (UTC)
Source (GitHub) last updated
2026-07-17 (UTC) (41 days ago)

The explanation below is AI-generated. Please verify it against the sources.

This skill lets Claude create, read, edit, and manipulate Word documents (.docx) and Word templates (.dotx) on request. According to the SKILL.md source, it recommends different approaches depending on the task: using the docx npm library to build new documents, unpacking and editing the underlying XML for existing files, and using pandoc to read content as markdown. It also documents specific technical pitfalls in document generation, such as page size defaults, table width settings, list formatting, and table-of-contents heading requirements. Additional documented capabilities cover tracked-changes editing, accepting redlines, and inserting anchored comments into a document. The skill relies on local tools (npm docx, pandoc, LibreOffice, Poppler) rather than any external web service.

What you can do with docx

  • Generate new Word documents from scratch using the docx npm library, following documented formatting rules for page size, tables, lists, and TOC headings
  • Edit an existing .docx by unpacking its archive, modifying word/document.xml directly, and repacking it
  • Convert and read .docx content as markdown using pandoc
  • Render a produced .docx to PDF and page images to visually verify the output
  • Apply and validate tracked changes (insertions and deletions) with proper author and date attributes
  • Produce a clean copy of a document with all tracked changes accepted
  • Add comments to a document and anchor them to specific text ranges

Sources

History of docx

  • Claude Code Skill Updated skill content (SKILL.md) of docx
  • Claude Code Skill Updated the official description of docx

Back to list