Skill

DOCX skill by Anthropic

The docx skill from Anthropic's skills repository is a SKILL.md, with scripts and reference files, for creating, reading and editing Word documents and templates, including layout, images and tracked changes. The folder includes its own Apache-2.0 LICENSE.txt. Copy it into Claude Code, Codex or Cursor. This page describes the copy at a pinned commit, pulled on 11 November 2026.

Creates, reads and edits Word documents and templates, including layout, images and tracked changes.

Updated

Download zipSKILL.mdSource on GitHub

DOCX, a skill by Anthropic under the Apache-2.0 license.

The short answer

The docx skill from Anthropic's skills repository is a SKILL.md, with scripts and reference files, for creating, reading and editing Word documents and templates, including layout, images and tracked changes. The folder includes its own Apache-2.0 LICENSE.txt. Copy it into Claude Code, Codex or Cursor. This page describes the copy at a pinned commit, pulled on 11 November 2026.

This is a credited third-party skill, not a Codema.ai skill, and this page is not an official Anthropic product page. For how coding agents load skills, see the coding agents guide.

What the skill does

The SKILL.md is titled "DOCX creation, editing, and analysis." The front matter tells the agent to use it whenever the user wants to create, read, edit or manipulate Word documents (.docx) or Word templates (.dotx). Triggers include mentions of a Word doc, .docx or .dotx, and requests for a report, memo, letter or template as a Word file. It also covers extracting or reorganizing content, inserting or replacing images, find-and-replace, tracked changes and comments.

The same description says not to use the skill for PDFs, spreadsheets, Google Docs, or general coding tasks unrelated to document generation.

The body treats a .docx as a ZIP archive of XML files. It tells the agent to create a new document with a docx-js script, to edit an existing file by unzipping it and changing word/document.xml, and to read content with pandoc -t markdown. It lists layout and formatting pitfalls for docx-js (page size, tables, lists, images, page breaks and tables of contents). After writing a file, it describes converting the document to PDF and page images with scripts/office/soffice.py and pdftoppm so the agent can look at the result. It also covers converting legacy .doc files, comments, and tracked changes.

The front matter sets name: docx and license: Complete terms in LICENSE.txt.

Who it's for

People who want an agent to produce or edit Word documents and templates, including layout, images and tracked changes. If the task is a PDF, a spreadsheet, a Google Doc, or general code work, the skill itself says not to use it. The upstream README says the skills in this repository are provided for demonstration and educational purposes, and that you should try them in your own environment before relying on them for critical work.

How to install it

Copy the skill folder so that SKILL.md sits directly inside a directory named docx. Official install paths are below. A public GitHub copy of the source repo already exists, so you can also clone or download that folder at the pinned commit.

Claude Code

Claude Code loads a skill from a folder that contains SKILL.md. Copy docx/ to:

  • Project: .claude/skills/docx/SKILL.md
  • Personal (every project on this machine): ~/.claude/skills/docx/SKILL.md

Claude Code discovers the skill automatically. Invoke it with /docx, or ask in plain words that match the skill's description. Personal skills in ~/.claude/skills/ are not loaded in Cowork or cloud sessions.

The upstream README also describes a Claude Code plugin path: /plugin marketplace add anthropics/skills, then install the document-skills or example-skills plugin. That is Anthropic's documented method for this repository, and it may install a set of skills rather than a single folder.

Codex

Codex scans .agents/skills from your working directory up to the repository root, and loads personal skills from $HOME/.agents/skills. Copy docx/ to:

  • Project: .agents/skills/docx/
  • Personal: $HOME/.agents/skills/docx/

In Codex CLI or the IDE extension, type $docx, or run /skills. Codex can also load the skill when your task matches its description. It detects new skills automatically; if one does not appear, restart Codex. Codex also ships a $skill-installer that can install a skill from a GitHub repository; see the Codex docs for that flow.

Cursor

Cursor discovers skills at startup from .agents/skills/ and .cursor/skills/ in a project, and from ~/.agents/skills/ and ~/.cursor/skills/ for the current user. For compatibility it also loads the Claude Code and Codex skill directories. Cursor's docs say the name in the front matter must match the folder name, which it does here (docx).

Copy docx/ into one of those locations, start a new Agent chat, and type / to search for the skill. Cursor's docs say skills are not imported from a GitHub repository on their own unless they are packaged as a plugin, so a folder copy is the path that matches those docs.

Source, license and dates

The skill is from anthropics/skills, by Anthropic, under the Apache-2.0 license. The skills/docx folder ships its own LICENSE.txt. The repository root has no LICENSE file. A re-hosted zip should keep LICENSE.txt and retain the notices in the upstream files.

This description is pinned to commit 2c5958ecac7cee2b583967a2c4981d0f4a75c579 on the default branch, pulled on 11 November 2026 (America/Toronto).

Last checked: 11 November 2026 (America/Toronto).

Codema scan: 5 warnings · 11 November 2026. The scanner flagged a hidden-unicode pattern (a UTF-8 byte order mark) in three XML schema files under scripts/office/schemas/ecma/fouth-edition/, an unpinned-install pattern, and a network pattern on a UNIX socket in soffice.py. The scanner matches patterns. Read the files yourself before you install them.

Similar skills

The same repository also contains document skills for PDF files and PowerPoint decks, described on their own pages in this set. Those are separate folders, each with its own LICENSE.txt.

FAQ

What does the docx skill do?

The SKILL.md says to use it whenever the user wants to create, read, edit or manipulate Word documents (.docx) or Word templates (.dotx), including layout, images, find-and-replace, tracked changes and comments. It also says not to use it for PDFs, spreadsheets, Google Docs, or general coding tasks unrelated to document generation.

What license is it under?

Apache-2.0. The skills/docx folder contains its own LICENSE.txt. The repository root has no LICENSE file. A re-hosted copy should keep LICENSE.txt and the notices in the upstream files.

Which commit is this page based on?

The default branch of anthropics/skills at 2c5958ecac7cee2b583967a2c4981d0f4a75c579, pulled and last checked on 11 November 2026.

What did the Codema scan find?

Five warnings, on 11 November 2026. The scanner flagged a hidden-unicode pattern (a UTF-8 BOM) in three XML schema files under scripts/office/schemas/ecma/fouth-edition/, an unpinned-install pattern, and a network pattern on a UNIX socket in soffice.py. The scanner matches patterns; a warning is not a verdict about whether you should install the skill.

How does the skill tell the agent to work with a .docx file?

The SKILL.md says a .docx is a ZIP archive of XML files. It tells the agent to create a new document with a docx-js script, to edit an existing document by unzipping and editing word/document.xml, and to read content with pandoc. After writing a file it describes converting it to PDF and images with soffice.py and pdftoppm so the agent can look at the result.

Sources

  1. anthropics/skills, skills/docx, commit 2c5958ecac7cee2b583967a2c4981d0f4a75c579
  2. Claude Code docs, Extend Claude with skills
  3. OpenAI Codex docs, Build skills
  4. Cursor docs, Agent Skills