Claude Skill MartBrowse skillsQuick linesLearn by videoTerminal guideWhat is a Skill?
Back to list

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 & OfficeIntermediate1,114107AI 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 → modify word/document.xml → zip, read with pandoc -t markdown.
  • Encodes hard-won docx-js gotchas: A4 default vs. US Letter DXA sizing, landscape orientation quirks, tables needing both columnWidths and per-cell width, ShadingType.CLEAR instead of SOLID, proper bullet numbering, PageBreak inside a Paragraph, TOC requiring built-in HeadingLevel, and PositionalTab for 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.py for a clean copy, and validate.py --author to 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

  1. "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.
  2. "Revise clause 3 of this contract as tracked changes" → unzip, run merge_runs.py, insert <w:ins>/<w:del>, validate with --author.
  3. "Leave a review comment on the fee cap sentence" → comment.py creates 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)
  1. Download the ZIP with the button below.
  2. In Claude, open Settings → Capabilities and turn on 'Code execution and file creation'. (one time)
  3. Go to Customize → Skills → + → 'Upload a skill' and upload the ZIP.
Download 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.

  1. Open a terminal.
  2. Clone the repo: git clone https://github.com/fcakyon/claude-codex-settings.git
  3. Create the skills directory: mkdir -p ~/.claude/skills
  4. Copy the skill: cp -r claude-codex-settings/plugins/anthropic-office-skills/skills/docx ~/.claude/skills/
  5. Confirm the bundled scripts came along: scripts/merge_runs.py, scripts/comment.py, scripts/accept_changes.py, scripts/office/.
  6. Install external dependencies: pandoc, LibreOffice (soffice), Poppler (pdftoppm). On macOS: brew install pandoc poppler and brew install --cask libreoffice.
  7. Restart Claude Code and test with a prompt like "make this a Word document with a TOC".
  8. Note: the skill is licensed as Proprietary (see LICENSE.txt) — review terms before commercial use.
View source on GitHubLicense: Apache-2.0