Agent skill · Anthropic
Word Documents (DOCX) skill for Claude Code, Codex and Cursor
Officialname: docx★ 184k (repo)pushed 2026-10-09See repoSKILL.md on GitHubchecked 2026-11-07
What it does, in the publisher's words
Use this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files). Triggers include: any mention of 'Word doc', 'word document', '.docx', '.dotx', or requests to produce professional documents with formatting like tables of contents, headings, page numbers, or letterheads.
The description field of the SKILL.md. The agent reads only this at startup and decides from it when to load the full skill.
Install Word Documents (DOCX)
The skills CLI copies the skill into the folder of each agent you pick (Claude Code, Codex, Cursor, Copilot, Gemini CLI, OpenCode, Windsurf...). Add -g for all projects. Needs Node.js 22.20+. docs
npx skills add anthropics/skills --skill docx
This repo is a plugin marketplace. Inside Claude Code, add it and install the plugin that holds the skill (document-skills, example-skills, claude-api, academy-guide...), or copy only this skill into ~/.claude/skills. docs
/plugin marketplace add anthropics/skills /plugin install <plugin>@anthropic-agent-skills # or only this skill: npx skills add anthropics/skills --skill docx -a claude-code
Download the skill folder, zip it, then Customize > Skills > + > Create skill > Upload a skill. Code execution must be on (Settings > Capabilities). docs
git clone --depth 1 https://github.com/anthropics/skills.git /tmp/docx-src cp -r /tmp/docx-src/skills/docx ./docx zip -r docx.zip docx
Codex reads skills from .agents/skills in the repo or ~/.agents/skills. Type $ in Codex to use one. docs
npx skills add anthropics/skills --skill docx -a codex
gh skill (GitHub CLI 2.90+, preview) installs it for Copilot in VS Code, the CLI and the cloud agent. Copilot also reads .github/skills and ~/.copilot/skills. docs
gh skill install anthropics/skills docx
Cursor reads .cursor/skills, .agents/skills and ~/.cursor/skills (and .claude/skills). It does not install loose skills from a GitHub URL, so copy it in. docs
npx skills add anthropics/skills --skill docx -a cursor
Installs from the GitHub repo; --path picks this skill out of the repo. Default scope is user (all projects). docs
gemini skills install https://github.com/anthropics/skills.git --path skills/docx
OpenCode reads .opencode/skills, ~/.config/opencode/skills and the Claude and .agents folders. docs
npx skills add anthropics/skills --skill docx -a opencode
Windsurf (now Devin Desktop) reads .devin/skills, .windsurf/skills and ~/.codeium/windsurf/skills. docs
npx skills add anthropics/skills --skill docx -a windsurf
Works with
Claude Code, Claude.ai and Claude Desktop, Codex, GitHub Copilot, Cursor, Gemini CLI, OpenCode, Windsurf and other agents that read the open Agent Skills format.
- Bundles 15 Python scripts the agent can run, so it needs Python on the machine. In the Claude apps, code execution must be on.
What's in the SKILL.md
- Creating with docx-js — gotchas
- Verify the output
- Editing existing documents
- Comments
- Dependencies
Bundled files
- LICENSE.txt
- scripts/__init__.py
- scripts/accept_changes.py
- scripts/comment.py
- scripts/merge_runs.py
- scripts/office/helpers/__init__.py
- scripts/office/helpers/pptx_chart.py
- scripts/office/helpers/pptx_slide.py
- scripts/office/helpers/pptx_theme.py
- scripts/office/schemas/ISO-IEC29500-4_2016/dml-chart.xsd
- scripts/office/schemas/ISO-IEC29500-4_2016/dml-chartDrawing.xsd
- scripts/office/schemas/ISO-IEC29500-4_2016/dml-diagram.xsd
- scripts/office/schemas/ISO-IEC29500-4_2016/dml-lockedCanvas.xsd
- scripts/office/schemas/ISO-IEC29500-4_2016/dml-main.xsd
- scripts/office/schemas/ISO-IEC29500-4_2016/dml-picture.xsd
- scripts/office/schemas/ISO-IEC29500-4_2016/dml-spreadsheetDrawing.xsd
- scripts/office/schemas/ISO-IEC29500-4_2016/dml-wordprocessingDrawing.xsd
- scripts/office/schemas/ISO-IEC29500-4_2016/pml.xsd
- scripts/office/schemas/ISO-IEC29500-4_2016/shared-additionalCharacteristics.xsd
- scripts/office/schemas/ISO-IEC29500-4_2016/shared-bibliography.xsd
- + 40 more
Loaded only when the instructions point to them.
Facts
- Skill name
- docx
- Publisher
- Anthropic (official)
- Repo
- anthropics/skills
- License
- Complete terms in LICENSE.txt
- SKILL.md size
- 692 words, 86 lines
- Bundled files
- 60, 15 scripts (Python)
- Repo stars
- 184k (as of 2026-10-24)
- SKILL.md checked
- 2026-11-07
Pairs with the Microsoft Word MCP server: the server gives the agent the tools, the skill teaches it how to use them.
More skills from anthropics/skills
- Canvas Design: Produces posters and static artwork as PNG or PDF files, guided by a written design philosophy.
- Claude API: Reference for building on the Claude API and Anthropic SDKs: models, tool use, streaming, caching, pricing.
- Doc Co-authoring: Walks you through drafting specs, proposals and design docs step by step with Claude.
- Frontend Design: Steers UI work toward deliberate visual direction and typography instead of generic template looks.
- MCP Server Builder: Guide for designing and building Model Context Protocol servers that wrap external APIs as tools.
- PDF: Extracts text and tables, merges, splits, fills forms and creates PDF files.
- PowerPoint (PPTX): Builds, reads and edits PowerPoint decks and templates, including layouts and speaker notes.
- Skill Creator: Helps write new skills, refine existing ones and test how well they trigger and perform.
- Slack GIF Creator: Makes small animated GIFs sized and validated for Slack's emoji and message limits.
- Web Artifacts Builder: Builds multi-component HTML artifacts with React, Tailwind and shadcn/ui, bundled into one file.
- Web App Testing: Uses Playwright to drive a local web app, check behavior, read console logs and take screenshots.
- Excel Spreadsheets (XLSX): Opens, cleans, edits and creates spreadsheets (.xlsx, .csv), including formulas and charts.
FAQ
What does the docx skill do?+
Creates, reads and edits Word .docx files, including templates, tracked changes and formatting. In its own SKILL.md, Anthropic describes it as: "Use this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files)."
How do I install the docx skill?+
Run npx skills add anthropics/skills --skill docx and pick your agents, or use the tab for your agent above. In Claude Code the skill ends up in ~/.claude/skills/docx/SKILL.md; in Codex and Cursor in .agents/skills/docx/.
Does Word Documents (DOCX) work in Codex, Cursor and Copilot, or only Claude?+
It's a standard SKILL.md, so any agent that reads the Agent Skills format can use it: Claude Code, the Claude apps, Codex, GitHub Copilot, Cursor, Gemini CLI, OpenCode, Windsurf and more.
Who maintains Word Documents (DOCX)?+
Anthropic, the company or project behind it, in the anthropics/skills repo on GitHub, last pushed 2026-10-09. License: Complete terms in LICENSE.txt.
Read a skill's SKILL.md and scripts before you install it: skills aren't verified by any agent vendor. Claude skills marketplace · How to install skills · MCP servers