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 kortix-ai

Creates, edits, extracts, converts and reviews Word (.docx) documents for an AI assistant. It suits users who work with Word files in finance, legal or other corporate settings.

  • Score 85
  • 21k stars
  • NOASSERTION
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install docx

Built from the published package, never by AI.

git clone --depth 1 https://github.com/kortix-ai/suna /tmp/suna && mkdir -p ~/.claude/skills && cp -r /tmp/suna/packages/starter/templates/general-knowledge-worker/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 create, edit, extract, convert and review Word documents. The source explains that a .docx file is a ZIP container of XML parts, and that creation, reading and modification all work on that XML structure. New documents are made with the docx npm module, and existing files are unpacked to XML, modified and repacked.

The skill also covers text extraction with anydoc or pandoc, converting legacy .doc files with soffice, rebuilding documents from PDF with pdf2docx, and rendering pages as images. It sets rules for professional documents, such as using Word styles instead of literal markdown, keeping tracked changes and fields live, and checking metadata before sharing.

Written from the project's SKILL.md and checked against it.

What it can do

  • Create documentsBuilds a new Word document from scratch using the docx npm module.
  • Edit existing filesUnpacks a .docx to XML, modifies it and repacks it.
  • Extract textPulls text out of a document with anydoc, or with pandoc including tracked changes.
  • Convert legacy .docConverts .doc files to .docx with soffice before XML work.
  • Rebuild from PDFRuns pdf2docx to create a baseline .docx, then corrects layout artifacts.
  • Export pages as imagesConverts a document to PDF with soffice, then renders JPEG pages with pdftoppm.
  • Flatten tracked changesRuns a script that produces a copy with tracked changes accepted.
  • Professional formatting rulesApplies Word styles, keeps fields live and preserves defined terms and placeholders.

What you need

  • LibreOffice (soffice) for conversions and the flatten script
  • pandoc
  • pdftoppm
  • Python 3 with lxml, python-docx and pdf2docx
  • uv, only for packages that are not pre-installed

Try asking

  • Extract the text from this .docx file as Markdown
  • Convert this old .doc file to .docx and then edit it
  • Rebuild this PDF as an editable Word document

Good to know

  • The flatten script requires LibreOffice.
  • Existing tracked changes from other reviewers are kept, not accepted or rejected.
  • Legal clause numbering is not changed without instruction.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: packages/starter/templates/general-knowledge-worker/skills/docx/SKILL.md, packages/starter/templates/general-knowledge-worker/skills/docx/scripts/accept_changes.py, packages/starter/templates/general-knowledge-worker/skills/docx/scripts/comment.py, packages/starter/templates/general-knowledge-worker/skills/docx/scripts/pack.py, packages/starter/templates/general-knowledge-worker/skills/docx/scripts/unpack.py. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • CREATION.md11 KB
  • EDITING.md6 KB
  • SKILL.md6 KB
  • scripts/accept_changes.py4 KB
  • scripts/comment.py12 KB
Show all 12 files
  • scripts/pack.py3 KB
  • scripts/templates/comments.xml3 KB
  • scripts/templates/commentsExtended.xml3 KB
  • scripts/templates/commentsExtensible.xml3 KB
  • scripts/templates/commentsIds.xml3 KB
  • scripts/templates/people.xml115 B
  • scripts/unpack.py10 KB

Alternatives to docx

All alternatives →

Compare with obsidian-clipper-template-creator, harness-creator or xberg-extracting-with-ocr

docx: common questions

Can it edit a Word file that has tracked changes?

Yes. The source says to keep new edits tracked when a document already has tracked changes, and not to accept or reject other reviewers' redlines.

Can it turn a PDF into an editable Word file?

Yes. It runs pdf2docx to make a baseline .docx, then fixes issues such as misaligned tables or broken hyperlinks by editing the XML.

Does it work with old .doc files?

Yes. The source says to convert legacy .doc files to .docx with soffice before any XML work.

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 NOASSERTION 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 F, 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.