Individual skill
docx
Use this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx) or Word templates (.dotx). Triggers include: any mention of Microsoft Word Documents, such as 'Word doc', 'word document', '.docx', '.dotx', 'microsoft doc'. Also use when extracting or reorganizing content from .docx or .dotx files, inserting or replacing images in documents, find-and-replace in Word files, working with tracked changes or comments, or converting content into a polished Word document. If the user asks for a deliverable as a Word or .docx file (to download, email or print), use this skill. However, if they ask for a document, page, report, memo, or notes WITHOUT naming a file format and the session offers Claude's own dedicated document or page skill or connector, use that instead, even if they will email or print it. Do NOT use for PDFs, spreadsheets, Google Docs, or coding unrelated to document generation.
Anthropic/claude-code/skills/docx/SKILL.md
Source commit 9e00d9751f95564bc2de984d3f1c5b4b14aa50cc
What was checked
- Matches the observed repository HEAD
- Yes
- Scanner rules are current
- Yes
- Repository scan complete
- No
- Skill scan complete
- No
- Observed behavior
- Network or broad shell
- Last checked
- Nov 9, 2026
These are observations at the recorded commit, not a guarantee of safety. Review the source before running it.
Install this skill
Choose an agent in your Stack or copy a command below. Commands fetch the pinned commit and copy only this skill directory. Existing destinations are refused. Copying a command does not install anything.
An install command is unavailable: current rules, complete repository and skill scans, an eligible behavior level and a permitted license are required.
Repository context
- Repository stars (not skill ratings)
- 71,087
- Repository last updated
- Nov 8, 2026
- License
- CC0-1.0
Observed agent integration: No specific integration evidence. Standard SKILL.md installation does not imply verified compatibility.
- ai Repository topic
- anthropic Repository topic
- chatbot Repository topic
- chatgpt Repository topic
- claude Repository topic
- claude-code Repository topic
- codex Repository topic
- gemini Repository topic
- generative-ai Repository topic
- google Repository topic
- engineering Derived category
- writing Derived category
- docs Derived category
- productivity Derived category
- productivity-notes Derived category
Files and excerpt
File metadata and permitted, redacted excerpts come from the recorded scan. Source links are pinned to that commit.
Browse files
LICENSE.txtdoc · 1,467 bytesSKILL.mdcore · 7,637 bytesSKILL.mdcore · 7,637 bytesSKILL.mdcore · 7,637 bytesSKILL.mdcore · 7,637 bytesSKILL.mdcore · 7,637 bytesscripts/__init__.pyruns · 1 bytesscripts/accept_changes.pyruns · 4,051 bytesscripts/comment.pyruns · 14,054 bytesscripts/merge_runs.pyruns · 9,398 bytesscripts/office/helpers/__init__.pyruns · 3,380 bytesscripts/office/helpers/pptx_chart.pyruns · 5,862 bytesscripts/office/helpers/pptx_slide.pyruns · 1,675 bytesscripts/office/helpers/pptx_theme.pyruns · 3,510 bytesscripts/office/schemas/ISO-IEC29500-4_2016/dml-chart.xsdasset · 74,984 bytesscripts/office/schemas/ISO-IEC29500-4_2016/dml-chartDrawing.xsdasset · 6,956 bytesscripts/office/schemas/ISO-IEC29500-4_2016/dml-diagram.xsdasset · 51,302 bytesscripts/office/schemas/ISO-IEC29500-4_2016/dml-lockedCanvas.xsdasset · 624 bytesscripts/office/schemas/ISO-IEC29500-4_2016/dml-main.xsdasset · 152,039 bytesscripts/office/schemas/ISO-IEC29500-4_2016/dml-picture.xsdasset · 1,231 bytesscripts/office/schemas/ISO-IEC29500-4_2016/dml-spreadsheetDrawing.xsdasset · 8,862 bytesscripts/office/schemas/ISO-IEC29500-4_2016/dml-wordprocessingDrawing.xsdasset · 14,795 bytesscripts/office/schemas/ISO-IEC29500-4_2016/pml.xsdasset · 83,612 bytesscripts/office/schemas/ISO-IEC29500-4_2016/shared-additionalCharacteristics.xsdasset · 1,269 bytesscripts/office/schemas/ISO-IEC29500-4_2016/shared-bibliography.xsdasset · 7,328 bytesscripts/office/schemas/ISO-IEC29500-4_2016/shared-commonSimpleTypes.xsdasset · 6,382 bytesscripts/office/schemas/ISO-IEC29500-4_2016/shared-customXmlDataProperties.xsdasset · 1,248 bytesscripts/office/schemas/ISO-IEC29500-4_2016/shared-customXmlSchemaProperties.xsdasset · 880 bytesscripts/office/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesCustom.xsdasset · 2,608 bytesscripts/office/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesExtended.xsdasset · 3,507 bytesscripts/office/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesVariantTypes.xsdasset · 7,507 bytesscripts/office/schemas/ISO-IEC29500-4_2016/shared-math.xsdasset · 23,313 bytesscripts/office/schemas/ISO-IEC29500-4_2016/shared-relationshipReference.xsdasset · 1,367 bytesscripts/office/schemas/ISO-IEC29500-4_2016/sml.xsdasset · 242,277 bytesscripts/office/schemas/ISO-IEC29500-4_2016/vml-main.xsdasset · 26,148 bytesscripts/office/schemas/ISO-IEC29500-4_2016/vml-officeDrawing.xsdasset · 25,279 bytesscripts/office/schemas/ISO-IEC29500-4_2016/vml-presentationDrawing.xsdasset · 535 bytesscripts/office/schemas/ISO-IEC29500-4_2016/vml-spreadsheetDrawing.xsdasset · 5,712 bytesscripts/office/schemas/ISO-IEC29500-4_2016/vml-wordprocessingDrawing.xsdasset · 4,010 bytesscripts/office/schemas/ISO-IEC29500-4_2016/wml.xsdasset · 171,367 bytesscripts/office/schemas/ISO-IEC29500-4_2016/xml.xsdasset · 4,646 bytesscripts/office/schemas/ecma/fouth-edition/opc-contentTypes.xsdasset · 1,963 bytesscripts/office/schemas/ecma/fouth-edition/opc-coreProperties.xsdasset · 2,515 bytesscripts/office/schemas/ecma/fouth-edition/opc-digSig.xsdasset · 2,856 bytesscripts/office/schemas/ecma/fouth-edition/opc-relationships.xsdasset · 1,344 bytesscripts/office/schemas/mce/mc.xsdasset · 3,127 bytesscripts/office/schemas/microsoft/wml-2010.xsdasset · 26,549 bytesscripts/office/schemas/microsoft/wml-2012.xsdasset · 3,745 bytesscripts/office/schemas/microsoft/wml-2018.xsdasset · 901 bytesscripts/office/schemas/microsoft/wml-cex-2018.xsdasset · 1,778 bytesscripts/office/schemas/microsoft/wml-cid-2016.xsdasset · 1,002 bytesscripts/office/schemas/microsoft/wml-sdtdatahash-2020.xsdasset · 600 bytesscripts/office/schemas/microsoft/wml-symex-2015.xsdasset · 745 bytesscripts/office/soffice.pyruns · 5,945 bytesscripts/office/validate.pyruns · 6,142 bytesscripts/office/validators/__init__.pyruns · 336 bytesscripts/office/validators/base.pyruns · 33,721 bytesscripts/office/validators/docx.pyruns · 17,482 bytesscripts/office/validators/pptx.pyruns · 15,966 bytesscripts/office/validators/redlining.pyruns · 18,017 bytesscripts/templates/comments.xmlasset · 2,603 bytesscripts/templates/commentsExtended.xmlasset · 2,611 bytesscripts/templates/commentsExtensible.xmlasset · 2,707 bytesscripts/templates/commentsIds.xmlasset · 2,619 bytesscripts/templates/people.xmlasset · 115 bytes
Read excerpt
# DOCX creation, editing, and analysis
If you are about to make a new document and this session offers Claude's own docs (a Docs connector, docs skill or Docs artifact type), and the user has neither named Word/.docx/.dotx, asked for tracked changes, nor supplied a .docx/.dotx file to change or use as a template, make the document there instead. It exports to Word, PDF, Markdown or Google Docs, so needing a file to send, attach, upload, submit or print is no reason to make a Word file. A .docx/.dotx given only as source material does not count as supplied. This skill remains the right tool for producing, reading, editing, templating or converting Word files.
A `.docx` is a ZIP archive of XML files. Choose your approach by task:
| Task | Approach |
|---|---|
| **Create** a new document | Write a `docx` (npm) script — see gotchas below |
| **Edit** an existing document | `unzip` → edit `word/document.xml` → `zip` (docx-js cannot open existing files) |
| **Read** content | `pandoc -t markdown file.docx` |
> Script paths below are relative to this skill's directory.