Skip to content

Word Document Creator and Editor

Create, edit, validate and review .docx Word files with formatting, tracked changes and comments

Stars
15,719
Licence
Apache-2.0
Files
15 files

What it does

Once installed, the agent knows how to build new Word (.docx) files with proper headings, tables, lists, page sizes and page numbers, and how to safely edit existing ones by unpacking the file's XML, changing it and repacking it. It also knows how to read document text including tracked changes, convert legacy .doc files, render pages to images, accept all tracked changes, and add comments. It runs bundled Python helper scripts and validates the output file.

Great for

  • Professionals who need reports, memos, letters or templates delivered as Word files
  • Developers automating document generation or editing Word templates
  • People reviewing documents with tracked changes and comments who want a clean final version

Skip it if

  • PDF, spreadsheet or Google Docs work, which the skill explicitly excludes (the wrong format would be produced)
  • Editing sensitive or original documents without a backup, since accept-changes and XML edits overwrite or rewrite content and validation may not catch every issue
  • Environments where LibreOffice or Node.js cannot be installed, since several features depend on them

Try asking

  • “Create a formal project status report in Word with a table of contents, numbered headings and page numbers”
  • “Accept all tracked changes in contract.docx and save a clean copy”
  • “Convert old_memo.doc to .docx and replace the company name throughout”
  • “Extract the text of this Word file including tracked changes so I can summarise it”
Step-by-step guide: how to use Word Document Creator and EditorInstall, first run, examples, tips and FAQs

Install in 3 steps

  1. 1

    Download the skill

    The ZIP contains the 15 original files, the Apache-2.0 licence and an attribution note.

    docx.zip
  2. 2

    Add it to your agent

    Claude Code (all projects)

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

    Claude Code / Agent SDK (this project only)

    mkdir -p .claude/skills && unzip docx.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

  • Keep a copy of the original .docx before asking the agent to edit or accept changes, since the process rewrites the file.
  • Ask for the page size explicitly (US Letter or A4) because the library defaults to A4.
  • Install LibreOffice and pandoc first, otherwise the conversion and extraction steps will fail.

What's inside

  • LICENSE.txt
  • scripts/__init__.py
  • scripts/accept_changes.py
  • scripts/comment.py
  • scripts/office/helpers/__init__.py
  • scripts/office/helpers/merge_runs.py
  • scripts/office/helpers/simplify_redlines.py
  • scripts/office/pack.py
  • scripts/office/soffice.py
  • scripts/office/unpack.py
  • scripts/office/validate.py
  • scripts/office/validators/__init__.py
  • scripts/office/validators/base.py
  • scripts/office/validators/docx.py
  • SKILL.md

Redistributed unmodified from eigent-ai/eigent under the Apache-2.0 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.