Word Document Handler

Create, edit, and analyze Word .docx documents with docx-js and OOXML.

Updated Sep 9, 2025
One-click install
npx skills add https://github.com/tjade273/claude-code-interp --skill word-document-handler
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Word Document Handler
Source: https://github.com/tjade273/claude-code-interp/tree/main/mnt/skills/public/docx
Command: npx skills add https://github.com/tjade273/claude-code-interp --skill word-document-handler

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Word documents (.docx) often require creation, editing, and analysis while preserving professional formatting, comments, and tracked changes. This Skill guides you through generating new documents, reading and parsing content, editing with formatting preservation, and extracting text when needed.

Core Features & Use Cases

  • Document creation and editing: Generate or modify Word documents while preserving styles, formatting, and structure, including tracked changes and comments.
  • Content extraction: Extract plain text or structured data from .docx for downstream processing.
  • Workflow automation: Use docx-js for programmatic document generation and editing in scripts or apps.

Quick Start

Use the Word Document Handler to create a new Word doc named report.docx, add a title and a short paragraph, enable tracked changes, and export the final document.

Frequently Asked Questions about Word Document Handler

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate Word document creation while preserving formatting and tracked changes?

Automate Word document creation with this Skill by using docx-js for programmatic generation and OOXML editing, ensuring deterministic outputs that preserve professional formatting, styles, and tracked changes.

Can I extract plain text from a .docx file for downstream processing?

Yes, you can extract plain text or structured data from .docx files for downstream processing. The Skill reads and parses document content while applying text extraction to isolate the needed information.

What is the best way to edit existing Word documents without losing comments and styles?

The best way to edit existing Word documents without losing comments and styles is using OOXML editing. This approach modifies .docx files deterministically, preserving the original structure, formatting, and comments.

Does docx-js support generating Word documents with tracked changes enabled?

Yes, docx-js supports generating Word documents with tracked changes enabled. The Skill leverages docx-js for programmatic document generation and editing, allowing you to apply and preserve tracked changes in new or existing files.

How do I add a title and paragraphs to a new .docx file programmatically?

To add a title and paragraphs to a new .docx file programmatically, use the Skill's document creation workflow. It leverages docx-js to generate the document, add content, and export the final .docx output.

When should I use OOXML editing instead of docx-js for Word document editing?

Use OOXML editing when modifying existing .docx files to ensure deterministic outputs and strict formatting preservation. Use docx-js when generating new Word documents programmatically from scratch.