docx

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

333|83|Updated Jan 9, 2026
One-click install
npx skills add https://github.com/SpaceZephyr/myskill --skill docx-spacezephyr
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: docx
Source: https://github.com/SpaceZephyr/myskill/tree/main/docx
Command: npx skills add https://github.com/SpaceZephyr/myskill --skill docx-spacezephyr

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires defusedxml, and includes scripts (resource) components.

What problem does it solve?

This Skill removes the friction of working with Word documents by helping you create, edit, analyze, and revise .docx files while preserving formatting, comments, and change history.

Core Features & Use Cases

  • Document Creation: Build new professional Word documents from structured content.
  • Editing and Redlining: Make precise changes to existing documents using tracked changes, deletions, insertions, and review workflows.
  • Comments and Review: Add comments, replies, and review annotations for collaborative editing.
  • Text Extraction and Inspection: Read document content, inspect raw OOXML, and analyze formatting or embedded structure when needed.
  • Use Case: Update a contract, preserve the original wording as tracked changes, and leave reviewer comments on the exact clauses that need attention.

Quick Start

Use the docx skill to revise the attached Word document while preserving its formatting and marking all requested edits clearly.

Frequently Asked Questions about docx

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

FAQPage Schema
How do I edit a Word document with tracked changes?

You can edit a DOCX file with tracked changes by using this Skill to apply insertions, deletions, and revisions while preserving the original formatting and document structure. It handles revision-safe editing for professional redlining workflows.

Can I extract text and inspect OOXML structure from a DOCX file?

Yes, you can extract text and inspect raw OOXML from a DOCX file. This Skill reads document content and analyzes embedded formatting or structure while keeping relationships and document markup valid.

What's the best way to add comments and review annotations to Word documents?

The best way to add comments to Word documents is using this Skill to insert review annotations and replies for collaborative editing. It preserves existing comments and document history during the review markup process.

Do I need defusedxml to process Word documents safely?

Yes, you need the defusedxml dependency installed to process Word documents safely. It provides the required DOCX-aware XML handling for parsing OOXML structures securely.

How do I create a new DOCX file from structured content?

To create a new DOCX file from structured content, use this Skill to build professional Word documents from your input. It generates valid OOXML structures while maintaining proper formatting and relationships.

Why does my DOCX document lose formatting when I edit the XML directly?

Editing OOXML directly often breaks formatting because document relationships and markup become invalid. This Skill applies revision-safe editing to preserve formatting, comments, and tracked changes during modifications.