docx

Create, edit, and analyze DOCX documents while preserving formatting and tracked changes.

Updated Feb 15, 2026
One-click install
npx skills add https://github.com/ricable/mcai --skill docx-ricable
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: docx
Source: https://github.com/ricable/mcai/tree/main/.agents/skills/docx
Command: npx skills add https://github.com/ricable/mcai --skill docx-ricable

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill removes the friction of working with professional Word documents by helping you read, create, edit, and preserve formatting in DOCX files without breaking structure or losing tracked changes.

Core Features & Use Cases

  • Document Analysis: Extract text and inspect document internals for review, search, or migration tasks.
  • Document Creation: Build new DOCX files programmatically with formatted text and structured layouts.
  • Document Editing: Update existing files, preserve original formatting, and apply tracked changes for professional redlining.
  • Use Case: A legal or business team can use this Skill to revise a contract, add comments, and deliver a clean redlined version while keeping the original document structure intact.

Quick Start

Use the docx skill to extract the text from the attached DOCX file while preserving tracked changes and formatting.

Frequently Asked Questions about docx

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

FAQPage Schema
How do I extract text from a DOCX file while preserving tracked changes and formatting?

You can extract text from DOCX files while preserving tracked changes and formatting by using Pandoc and XML editing to inspect document internals and pull content without breaking the original structure.

Can I edit existing Word documents and apply tracked changes programmatically?

Yes, you can edit existing Word documents and apply tracked changes programmatically by updating DOCX files through XML editing and docx-js generation, ensuring revision-safe updates and professional redlining.

What is the best way to create a new DOCX document with structured layouts?

The best way to create a new DOCX document with structured layouts is to use docx-js-based generation to build files programmatically, applying formatted text and structured layouts for professional document workflows.

Does this approach work for professional workflows like contract review and report drafting?

Yes, this approach works for professional workflows like contract review and report drafting by allowing you to revise contracts, add comments, and deliver clean redlined versions while keeping the original document structure intact.

Why do my DOCX documents lose formatting when I extract text or apply edits?

DOCX documents lose formatting when extraction or editing bypasses the internal XML structure. Using Pandoc and direct XML editing preserves formatting, comments, and tracked changes during text extraction and document updates.