Anthropic’s docx skill helps an agent create, inspect and edit Word documents. It suits reports, proposals and revisions where headings, tables, page layout or tracked changes need to survive the work. Give the agent the existing document or a clear brief for a new one, together with any template it should follow.
The skill uses different workflows for new and existing files. For a new document, it describes building the file with the JavaScript docx library. For an existing document, it describes unpacking the file, editing its XML and repacking it. Validation scripts check the resulting structure. Explicit page and table dimensions are part of the workflow, rather than leaving layout to defaults.
The surrounding tools matter. pandoc can extract text and tracked changes. LibreOffice supports conversion and document processing, while rendering pages for visual inspection also uses pdftoppm. A successful XML check does not replace looking at the final pages: text can still wrap awkwardly or spill beyond a table cell.
This is a source-available skill under Anthropic’s proprietary license. Its source can be inspected, but it should not be described as an MIT- or Apache-licensed package. The linked skill and license describe the documented workflow and its terms.