Word Document (DOCX) Creation & Editing Skill
Create polished Word documents, edit existing ones at the XML level, and handle tracked changes and comments reliably.
Docs & OfficeIntermediate★ 1,114⑂ 107AI score 10/10Last updated: Aug 28, 2026
What it does
- Routes each request to the right approach: create with a
docx(npm) script, edit via unzip → modifyword/document.xml→ zip, read withpandoc -t markdown. - Encodes hard-won docx-js gotchas: A4 default vs. US Letter DXA sizing, landscape orientation quirks, tables needing both
columnWidthsand per-cellwidth,ShadingType.CLEARinstead ofSOLID, proper bullet numbering,PageBreakinside aParagraph, TOC requiring built-inHeadingLevel, andPositionalTabfor dot leaders. - Provides a visual verification loop: convert to PDF with LibreOffice, rasterize with
pdftoppm, then actually look at the pages. - Covers redlining in depth:
<w:ins>/<w:del>wrapping,<w:delText>, deleted paragraph marks,accept_changes.pyfor a clean copy, andvalidate.py --authorto catch untracked edits. - Handles comments through
comment.py, which writes all six cross-linked parts and prints the anchor markers to insert.
Who it's for
- Professionals producing reports, memos, letters, and contracts in Word.
- Legal/contract reviewers who depend on accurate tracked changes and comments.
- Developers automating document generation pipelines.
Examples
- "Turn this Markdown draft into a Word report with a table of contents and page numbers" → generates a docx-js script, then renders to images to verify layout.
- "Revise clause 3 of this contract as tracked changes" → unzip, run
merge_runs.py, insert<w:ins>/<w:del>, validate with--author. - "Leave a review comment on the fee cap sentence" →
comment.pycreates the comment parts and outputs the anchor snippet.
· · · Install guide · · ·
Try it now, no install
Paste this into Claude to use the skill without installing anything.
Read the instructions in this file and follow them to help me: https://raw.githubusercontent.com/fcakyon/claude-codex-settings/HEAD/plugins/anthropic-office-skills/skills/docx/SKILL.md What I want: (describe your task here)
If Claude can't open the link, open it yourself and paste the contents instead.
↓ If it works for you, download the ZIP below and install it. Then it runs on its own — no pasting each time.
Install in the Claude app (no terminal)
- Download the ZIP with the button below.
- In Claude, open Settings → Capabilities and turn on 'Code execution and file creation'. (one time)
- Go to Customize → Skills → + → 'Upload a skill' and upload the ZIP.
Install in Claude Code
Let Claude do it — paste this into Claude Code
Install the skill I found on Claude Skill Mart. Copy the plugins/anthropic-office-skills/skills/docx folder from the GitHub repo fcakyon/claude-codex-settings into my ~/.claude/skills/fcakyon-docx/. When it's done, tell me in one line what this skill can do.
Install with a command instead
git clone https://github.com/fcakyon/claude-codex-settings.git /tmp/ccs && mkdir -p ~/.claude/skills && cp -r /tmp/ccs/plugins/anthropic-office-skills/skills/docx ~/.claude/skills/⚠ This is a third-party skill. Check the source repository before installing.
- Open a terminal.
- Clone the repo:
git clone https://github.com/fcakyon/claude-codex-settings.git - Create the skills directory:
mkdir -p ~/.claude/skills - Copy the skill:
cp -r claude-codex-settings/plugins/anthropic-office-skills/skills/docx ~/.claude/skills/ - Confirm the bundled scripts came along:
scripts/merge_runs.py,scripts/comment.py,scripts/accept_changes.py,scripts/office/. - Install external dependencies: pandoc, LibreOffice (
soffice), Poppler (pdftoppm). On macOS:brew install pandoc popplerandbrew install --cask libreoffice. - Restart Claude Code and test with a prompt like "make this a Word document with a TOC".
- Note: the skill is licensed as Proprietary (see LICENSE.txt) — review terms before commercial use.
View source on GitHub ↗License: Apache-2.0