anthropic-docx
Skill by davekilleen
Creates, edits and analyzes .docx Word files, including tracked changes, comments and text extraction. It is for users who need an AI assistant to work with Word documents.
Install anthropic-docx
Built from the published package, never by AI.
git clone --depth 1 https://github.com/davekilleen/Dex /tmp/Dex && mkdir -p ~/.claude/skills && cp -r /tmp/Dex/.agents/skills/anthropic-docx ~/.claude/skills/anthropic-docxRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/davekilleen/Dex /tmp/Dex && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/Dex/.agents/skills/anthropic-docx ~/.gemini/antigravity-cli/skills/anthropic-docxAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill gives an AI assistant instructions for working with .docx files. A .docx file is a ZIP archive of XML, so the skill covers reading text with pandoc, reading raw XML, creating new documents with docx-js, and editing existing documents with a Python Document library. It also describes a redlining workflow for tracked changes, which groups edits into batches of 3 to 10 and marks only the text that changes. Scripts unpack and pack the document, and LibreOffice and Poppler can render pages as images for visual review.
The skill is aimed at people who work with professional documents, such as legal, academic, business or government files, and who want changes shown as tracked edits. The source says redlining is required for those document types. The listing names davekilleen as publisher and the license is listed as Proprietary, with full terms in a LICENSE.txt file that is not included in the source.
Written from the project's SKILL.md and checked against it.
What it can do
- Text extractionConverts a .docx file to markdown with pandoc, with tracked changes shown or accepted or rejected.
- Raw XML accessUnpacks a document to read word/document.xml, word/comments.xml and embedded media.
- New document creationBuilds new Word documents from scratch using docx-js in JavaScript or TypeScript.
- Editing existing documentsEdits a document with the Python Document library after unpacking and before repacking.
- Redlining workflowApplies tracked insertions and deletions in batches, keeping unchanged text in its original runs.
- VerificationConverts the reviewed file to markdown again so changes can be checked with grep.
- Page imagesConverts a .docx to PDF with LibreOffice and then to JPEG or PNG pages with pdftoppm.
What you need
- pandoc
- Node.js with the docx npm package
- Python with defusedxml
- LibreOffice
- Poppler (pdftoppm)
Try asking
- Extract the text of this .docx file and show any tracked changes.
- Review this contract and make the tracked edits to the payment terms.
- Create a new Word document with a title, two sections and a table of contents.
Good to know
- Creating documents depends on the docx-js guidance, which the source says must be read in full before use.
- Batches of 3 to 10 changes are recommended, and the source says to test each batch before the next.
- Line numbers from markdown output do not map to XML, so changes must be located by section, pattern or structure.
- The license is listed as Proprietary, with terms in a LICENSE.txt file not included in the source.
Security check
D- Has instructions to the assistant hidden in an HTML commentIn
.agents/skills/anthropic-docx/SKILL.md:<!-- Generated from `.claude/skills/anthropic-docx/SKILL.md` by `scripts/generate-agents-skills.py`. Do not edit. -->
Checked automatically: .agents/skills/anthropic-docx/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to anthropic-docx
All alternatives →Creates importable JSON templates for the Obsidian Web Clipper. It is for users who want to clip a site, understand the available variables, or format clipped content.
Harness Creator builds, audits, and improves the instruction and state files that help AI coding agents stay reliable across sessions. It is for developers whose agents forget context, drift out of scope, or claim work is done too early.
Guides an assistant through extracting text from scanned PDFs, photographed pages, and images with OCR. Covers backends, language packs, force-OCR, and performance tuning.
Edits a named local file in place to remove AI-writing patterns, using minimal targeted changes and post-edit verification. Built for users who explicitly ask to clean, rewrite, or humanize that specific file.
Polishes, translates, or tightens existing academic manuscript prose while preserving facts, terminology, and evidence boundaries. Made for researchers revising drafts, including Chinese-to-English translation and LaTeX layout fixes.
Adds PDF form analysis and filling, table extraction, OCR, validation and batch processing to an AI assistant. Aimed at developers who run complex or high-volume PDF workflows.
Compare with obsidian-clipper-template-creator, harness-creator or xberg-extracting-with-ocr
anthropic-docx: common questions
Can this skill track changes in a Word document?
Yes. The source describes a redlining workflow that marks insertions and deletions with w:ins and w:del tags, and it recommends this for legal, academic, business and government documents.
How does the assistant read a .docx file?
For plain text, the source recommends converting the file to markdown with pandoc. For comments, metadata or complex formatting, it says to unpack the file and read the raw XML.
Who published this skill?
The listing names davekilleen as the publisher. The license is listed as Proprietary, and the full terms are in a LICENSE.txt file that is not part of the source.
How do I install anthropic-docx?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is anthropic-docx free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is anthropic-docx safe to use?
It scores 71 of 100. Grades: maintenance A, licence A, quality A. Security check: grade D (has instructions to the assistant hidden in an html comment). Review the code before you install. How grades work.
What are alternatives to anthropic-docx?
Similar skills: obsidian-clipper-template-creator, harness-creator, xberg-extracting-with-ocr, file-edit-in-place.
