Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

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.

  • Score 85
  • 6.2k stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

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/docx

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install docx in Claude Code

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

A

No 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 →

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.

Add to stack

Loading.