docx
Skill by netease-youdao
Creates, edits and analyzes .docx Word files, including tracked changes, comments and text extraction. Built for people who work with professional Word documents through an AI assistant.
Install docx
Built from the published package, never by AI.
git clone --depth 1 https://github.com/netease-youdao/LobsterAI /tmp/LobsterAI && mkdir -p ~/.claude/skills && cp -r /tmp/LobsterAI/SKILLs/docx ~/.claude/skills/docxRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/netease-youdao/LobsterAI /tmp/LobsterAI && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/LobsterAI/SKILLs/docx ~/.gemini/antigravity-cli/skills/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
The docx skill lets an AI assistant read, create and edit Word (.docx) files. Text can be extracted with pandoc, and tracked changes can be shown in the output. Raw XML access covers comments, complex formatting, document structure, embedded media and metadata. New documents are built with docx-js, while existing files are edited with a Python Document library. In LobsterAI, live editing tools can change text, paragraphs and formatting directly.
The skill also describes a redlining workflow for reviewing someone else's document with tracked changes. It includes converting Word files to PDF and then to JPEG or PNG images for visual checks. The source makes the redlining workflow required for legal, academic, business and government documents. It suits people who need to draft, revise or review professional Word files with an AI assistant.
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 options to show, accept or reject tracked changes.
- Raw XML accessUnpacks a .docx file to read comments, structure, embedded media and metadata in the XML.
- Create new documentsBuilds new Word documents from scratch using docx-js in JavaScript or TypeScript.
- Edit existing documentsModifies existing files with a Python Document library and repacks them into .docx.
- Live editing in LobsterAIUses word_read and word_edit to change text, paragraphs, formatting and tables in the editor.
- Tracked changes redliningPlans and applies tracked insertions and deletions in batches, then verifies them in markdown.
- Document to image conversionConverts a .docx to PDF with LibreOffice, then to JPEG or PNG pages with pdftoppm.
What you need
- pandoc
- docx npm package
- LibreOffice
- Poppler (pdftoppm)
- Python with defusedxml
Try asking
- Extract the text from report.docx as markdown, including tracked changes.
- Create a new Word document with a heading, a paragraph and a table.
- Review contract.docx and mark my edits as tracked changes with comments.
Good to know
- The license is proprietary, and the full terms are in LICENSE.txt.
- Live editing only works when the word_read and word_edit tools are available.
- Tracked changes, comments, headers, footers and images use the OOXML workflows, not live editing.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: SKILLs/docx/SKILL.md, SKILLs/docx/ooxml/scripts/pack.py, SKILLs/docx/ooxml/scripts/unpack.py, SKILLs/docx/ooxml/scripts/validate.py, SKILLs/docx/ooxml/scripts/validation/__init__.py, SKILLs/docx/ooxml/scripts/validation/base.py, SKILLs/docx/ooxml/scripts/validation/docx.py, SKILLs/docx/ooxml/scripts/validation/pptx.py, SKILLs/docx/ooxml/scripts/validation/redlining.py. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
LICENSE.txt1 KB -
SKILL.md12 KB -
docx-js.md17 KB -
ooxml.md23 KB -
ooxml/schemas/ISO-IEC29500-4_2016/dml-chart.xsd73 KB
Show all 59 files
-
ooxml/schemas/ISO-IEC29500-4_2016/dml-chartDrawing.xsd7 KB -
ooxml/schemas/ISO-IEC29500-4_2016/dml-diagram.xsd50 KB -
ooxml/schemas/ISO-IEC29500-4_2016/dml-lockedCanvas.xsd624 B -
ooxml/schemas/ISO-IEC29500-4_2016/dml-main.xsd148 KB -
ooxml/schemas/ISO-IEC29500-4_2016/dml-picture.xsd1 KB -
ooxml/schemas/ISO-IEC29500-4_2016/dml-spreadsheetDrawing.xsd9 KB -
ooxml/schemas/ISO-IEC29500-4_2016/dml-wordprocessingDrawing.xsd14 KB -
ooxml/schemas/ISO-IEC29500-4_2016/pml.xsd82 KB -
ooxml/schemas/ISO-IEC29500-4_2016/shared-additionalCharacteristics.xsd1 KB -
ooxml/schemas/ISO-IEC29500-4_2016/shared-bibliography.xsd7 KB -
ooxml/schemas/ISO-IEC29500-4_2016/shared-commonSimpleTypes.xsd6 KB -
ooxml/schemas/ISO-IEC29500-4_2016/shared-customXmlDataProperties.xsd1 KB -
ooxml/schemas/ISO-IEC29500-4_2016/shared-customXmlSchemaProperties.xsd880 B -
ooxml/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesCustom.xsd3 KB -
ooxml/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesExtended.xsd3 KB -
ooxml/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesVariantTypes.xsd7 KB -
ooxml/schemas/ISO-IEC29500-4_2016/shared-math.xsd23 KB -
ooxml/schemas/ISO-IEC29500-4_2016/shared-relationshipReference.xsd1 KB -
ooxml/schemas/ISO-IEC29500-4_2016/sml.xsd237 KB -
ooxml/schemas/ISO-IEC29500-4_2016/vml-main.xsd26 KB -
ooxml/schemas/ISO-IEC29500-4_2016/vml-officeDrawing.xsd25 KB -
ooxml/schemas/ISO-IEC29500-4_2016/vml-presentationDrawing.xsd535 B -
ooxml/schemas/ISO-IEC29500-4_2016/vml-spreadsheetDrawing.xsd6 KB -
ooxml/schemas/ISO-IEC29500-4_2016/vml-wordprocessingDrawing.xsd4 KB -
ooxml/schemas/ISO-IEC29500-4_2016/wml.xsd167 KB
And 29 more files on GitHub.
Alternatives to 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
docx: common questions
Can this skill show tracked changes in a Word file?
Yes. The skill uses pandoc with the --track-changes option set to all, accept or reject to read tracked changes.
Does editing a document keep its formatting?
In LobsterAI live editing, the source says untouched formatting is preserved and the file saves automatically. The OOXML workflows edit the XML directly.
How does the skill create a new Word document?
It uses docx-js to build the document with Document, Paragraph and TextRun components, then exports it with Packer.toBuffer().
How do I install docx?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is docx free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is docx safe to use?
It scores 85 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to docx?
Similar skills: obsidian-clipper-template-creator, harness-creator, xberg-extracting-with-ocr, file-edit-in-place.
