docx
DOCX documents
Anthropic
Creates, edits, and analyzes Word documents with structured validation of the resulting artifact.
- License
- Proprietary — © 2025 Anthropic, PBC, all rights reserved; use is governed by the applicable Anthropic service agreement and the additional restrictions in skills/docx/LICENSE.txt
- Risk
- High
Understand
Covered goals
- create a DOCX document
- edit a Word document
- analyze document structure
Inputs → outputs
- DOCX or DOTX file, legacy DOC file, or document brief
- scoped output and temporary-work paths
- tracked-change author when redlining must be validated
- created, edited, or analyzed DOCX artifact
- optional unpacked ZIP/XML working files
- validation report and optional PDF/JPEG render artifacts
Recognize
Triggers
- create a Word document
- edit a DOCX file
- inspect tracked changes in DOCX
Non-triggers
- edit a plain Markdown file
- upload a document without authorization
- accept legal changes automatically
Choose
Permissions
- read untrusted DOCX ZIP/XML content and scoped document files
- write DOCX, unpacked XML, temporary, PDF, and image files
- delete only scoped temporary, unpacked, or derived working files during cleanup
- overwrite or replace only explicitly authorized target document and render outputs
- run Node.js, Python, archive, Pandoc, LibreOffice, and Poppler processes
- install the docx npm package over the network only if require('docx') fails and installation is authorized
External effects
- document, XML, temporary, PDF, and JPEG files are created or modified on disk
- scoped temporary, unpacked, or derived working files can be deleted during cleanup
- explicitly authorized target document and render outputs can be overwritten or replaced
- local document-conversion and validation subprocesses are executed
- an authorized fallback npm install can make a network request and modify project dependencies
Compatibility
- authorized use through Anthropic services under the applicable Anthropic agreement, with scoped filesystem access and the required local document tooling
Check permissions and confirm every external effect before using this skill.
Compare
Understand → Recognize → Choose → Compare
Pack for your agent
Pre-written instruction by SkillCodex — your request is neither sent nor used to adapt this text; no content is generated, and copying executes nothing.
usage
Use in your agent
# Use DOCX documents in your agent
## Objective
Use the existing docx skill only when it directly covers the requested task.
## Prerequisites
- DOCX or DOTX file, legacy DOC file, or document brief
- scoped output and temporary-work paths
- tracked-change author when redlining must be validated
- Node.js and the docx package for creation
- unzip, zip, and XML editing tools for existing documents
- Python helper scripts for merge, comments, validation, and LibreOffice conversion
- Pandoc for reading, LibreOffice for conversion, and Poppler pdftoppm for rendered verification
## Permissions
- read untrusted DOCX ZIP/XML content and scoped document files
- write DOCX, unpacked XML, temporary, PDF, and image files
- delete only scoped temporary, unpacked, or derived working files during cleanup
- overwrite or replace only explicitly authorized target document and render outputs
- run Node.js, Python, archive, Pandoc, LibreOffice, and Poppler processes
- install the docx npm package over the network only if require('docx') fails and installation is authorized
## External effects
- document, XML, temporary, PDF, and JPEG files are created or modified on disk
- scoped temporary, unpacked, or derived working files can be deleted during cleanup
- explicitly authorized target document and render outputs can be overwritten or replaced
- local document-conversion and validation subprocesses are executed
- an authorized fallback npm install can make a network request and modify project dependencies
## Procedure
- Open the canonical source pinned to revision fa0fa64bdc967915dc8399e803be67759e1e62b8.
- Read the skill instructions before calling its tools.
- Ask for confirmation before any paid, destructive, or remote effect not already authorized.
- Run the procedure within the requested scope and retain useful evidence.
## Non-goals
- edit a plain Markdown file
- upload a document without authorization
- accept legal changes automatically
## Expected result
- created, edited, or analyzed DOCX artifact
- optional unpacked ZIP/XML working files
- validation report and optional PDF/JPEG render artifacts
sha256:0d03e09980bedede95c143b5c32be89435c188d880befd11fa2355ba589a4be0
verification
Verify in your agent
# Verify DOCX documents in your agent ## Result to check Verify the use of docx for the current bounded task. ## Failure signals - The source or revision does not match the manifest. - A permission or external effect was not disclosed. - The output does not match the expected artifacts. - The skill activated for a declared non-trigger. ## Checks - Compare the SHA-256 of SKILL.md with sha256:8017469ea95fb7d28225c62daf8e2f3492a7b516fc64c18c28977cbf8980b7fe. - Confirm the permissions actually used and the observed effects. - Verify artifacts with the narrowest available test. - Separate local, browser, and external evidence in the report. ## Expected result - created, edited, or analyzed DOCX artifact - optional unpacked ZIP/XML working files - validation report and optional PDF/JPEG render artifacts
sha256:c2325f2c2d1959af3e09520d905ad46b55f4be9adc2bf308ae72415281bfc556
Pack digest: sha256:18fc13acd3c5ccbe9890f794cf5a726eeaec129d706a1f5668335ef924431f0f
Source and verification
Open the canonical source- Source revision
- fa0fa64bdc967915dc8399e803be67759e1e62b8
- Verified on
- Digest
- sha256:8017469ea95fb7d28225c62daf8e2f3492a7b516fc64c18c28977cbf8980b7fe