Skip to content

DOCX Word Document Toolkit

Lets the agent create, edit, read, and QA Microsoft Word (.docx) files with bundled scripts.

Stars
13,743
Licence
MIT
Files
13 files

What it does

Once installed, the agent knows a structured way to work with Word files: build new documents from a prompt, fill in templates, edit the internal XML for complex changes, extract text and structure, accept tracked changes, add review comments, and render a PDF preview to check the result. It ships small Python scripts for each step and follows Word-friendly formatting rules such as named heading styles and alt text on images.

Great for

  • Professionals who need reports, letters, or contracts drafted as real Word files
  • Teams that fill Word templates with data repeatedly
  • Developers automating document extraction or conversion pipelines

Skip it if

  • Simple one-off text answers where a plain .docx is unnecessary (the skill adds setup overhead)
  • Files that must be checked against Word's exact rendering, since PDF previews come from LibreOffice and may differ
  • Sensitive documents processed through unreviewed scripts, since the scripts run locally with the file access the agent has

Try asking

  • “Turn this meeting notes summary into a formatted Word report with headings”
  • “Fill the placeholders in contract_template.docx with these client details”
  • “Extract all the text from proposal.docx so I can review it”
  • “Accept all tracked changes in reviewed.docx and give me a clean copy”
Step-by-step guide: how to use DOCX Word Document ToolkitInstall, first run, examples, tips and FAQs

Install in 3 steps

  1. 1

    Download the skill

    The ZIP contains the 13 original files, the MIT licence and an attribution note.

    docx-official.zip
  2. 2

    Add it to your agent

    Claude Code (all projects)

    mkdir -p ~/.claude/skills && unzip docx-official.zip -d ~/.claude/skills/

    Claude Code / Agent SDK (this project only)

    mkdir -p .claude/skills && unzip docx-official.zip -d .claude/skills/

    Claude apps (web/desktop): Settings → Capabilities → Skills → Upload skill, and choose the ZIP.

  3. 3

    Ask for the task

    No special command needed — the agent reads the skill's description and loads it when your request matches. Try one of the prompts above.

Get better results

  • Say which page size you want (A4 or Letter) so the agent does not have to guess.
  • Keep a copy of the original .docx before asking for edits, since the in-place and XML workflows change the file.
  • Ask for a PDF preview to check layout before sharing the final document.

What's inside

  • create.md
  • edit.md
  • read.md
  • README.md
  • scripts/annotate.py
  • scripts/assemble.py
  • scripts/audit.py
  • scripts/explode.py
  • scripts/extract_text.py
  • scripts/render_pdf.py
  • scripts/resolve_revisions.py
  • scripts/transcode.py
  • SKILL.md

Redistributed unmodified from XiaomiMiMo/MiMo-Code under the MIT licence. The assessment was drafted with AI from the skill's files on 2026-10-29. Skills can instruct your agent to run code — read SKILL.md and any scripts before installing.