
Description
docx is an agent skill for creating, reading, editing and analysing Word documents, which are .docx files, and Word templates, which are .dotx files. A .docx file is a ZIP archive of XML files, and the skill chooses an approach by task. To create a new document, it writes a script with the docx npm library. To fill placeholders in a template, it uses a patch function that takes data, an output type and patches. To edit existing content, it unpacks the file, edits the relevant XML parts, and repackages it safely. To read content, it uses pandoc, with the track-changes option set so that reviewers can see every change, or accepts changes for the clean text. The skill targets docx version 9.8.1. It asks you to check that the library is available in the script's project and to install it there if needed, because setup varies by environment. It also lists layout constraints that matter when generating documents with docx-js. Use it whenever the deliverable is a Word document, or whenever a .docx file has to be read or changed. It is part of the k-dense-ai scientific agent skills repository on GitHub, which has about 49,600 stars. The listing shows it as free.…
Highlights
- Creates Word documents with docx-js
- Fills template placeholders
- Edits existing OOXML content safely
- Reads files with tracked changes via pandoc
- Targets docx 9.8.1
Ratings & Reviews
No ratings yet
Be the first to rate docx.
People also visit

canvas-design
Create beautiful visual art in .png and .pdf documents using design philosophy
docx FAQ
What can it do with Word files?
Create new .docx documents, fill .dotx or .docx templates, edit the XML inside existing files, and read content including tracked changes.
How are new documents made?
With a script that uses the docx npm library, which the skill targets at version 9.8.1.
How is a file read for review?
With pandoc, using the track-changes option so that all changes are shown.
Does it need setup?
The skill asks you to check that docx is available in the script's project, and to install it there if it is not.
How do I install it?
Run npx skills add https://github.com/k-dense-ai/scientific-agent-skills --skill docx.
Is it checked for security?
Its security audits show passes from Gen Agent Trust Hub and Snyk, and a warning from Socket.
What are the best docx alternatives?
Popular alternatives to docx include implement, brand-guidelines and canvas-design. See all docx alternatives





