New advertisers: 50% off your first month with code FIRSTMONTHSee slots
qodex-ai avatar

Word Document Processor

Word document processing covering creation, editing, tracked changes, and text extraction through a redlining workflow.

skills.sh installs
3.6K
GitHub stars
50
last updated
Aug 21, 2026
View on GitHub

What it does

  • Covers creating new .docx files with docx-js and editing existing files through the Document library over unpacked OOXML
  • Includes pandoc text extraction with tracked-change options (--track-changes=accept, reject, or all) plus raw XML access to word/document.xml, comments.xml, and word/media/
  • Guides a batched redlining workflow of 3 to 10 changes per batch that marks only the altered text and reuses original run RSIDs
  • Designed for reviewing legal, academic, business, or government documents, where redlining is required

Install

$ npx -y skills add qodex-ai/ai-agent-skills --skill word-document-processor -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

DOCX creation, editing, and analysis

Overview

A user may ask you to create, edit, or analyze the contents of a .docx file. A .docx file is essentially a ZIP archive containing XML files and other resources that you can read or edit. You have different tools and workflows available for different tasks.

Workflow Decision Tree

Reading/Analyzing Content

Use "Text extraction" or "Raw XML access" sections below

Creating New Document

Use "Creating a new Word document" workflow

Editing Existing Document

  • Your own document + simple changes Use "Basic OOXML editing" workflow

  • Someone else's document Use "Redlining workflow" (recommended default)

  • Legal, academic, business, or government docs Use "Redlining workflow" (required)

Reading and analyzing content

Text extraction

If you just need to read the text contents of a document, you should convert the document to markdown using pandoc. Pandoc provides excellent support for preserving document structure and can show tracked changes:

Details

Repository
github.com/qodex-ai/ai-agent-skills
Categories
Office Files & Slides, Writing & Content

More from qodex-ai/ai-agent-skills

All 24

Similar to Word Document Processor

More Office Files & Slides