docx

Create and edit Word documents with tracked changes and comments.

2|Updated Oct 29, 2025
One-click install
npx skills add https://github.com/shanelindsay/agentic-r --skill docx-shanelindsay
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: docx
Source: https://github.com/shanelindsay/agentic-r/tree/main/skills/scientific-thinking/document-skills/docx
Command: npx skills add https://github.com/shanelindsay/agentic-r --skill docx-shanelindsay

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This toolkit provides programmatic capabilities to create and modify Word documents (.docx), enabling automated editing workflows, tracked changes, comments, and content preservation for professional document processing.

Core Features & Use Cases

  • Create new Word documents programmatically with preserved formatting.
  • Apply tracked changes and comments to existing documents, enabling team review workflows.
  • Extract, analyze, and modify content from OOXML Word files for automation and auditing.
  • Use Case: A legal team drafts a contract in DOCX, applies tracked changes, and exports a revision history for review.

Quick Start

Load a DOCX file, apply edits with tracked changes, and save the updated document.

Frequently Asked Questions about docx

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

FAQPage Schema
How do I apply tracked changes to a Word docx file programmatically?

To apply tracked changes to a Word docx programmatically, use a Python-based API that injects RSIDs, authors, and timestamps into the OOXML structure, enabling automated team review workflows and revision auditing.

Can I add comments to existing OOXML Word documents in Python?

Yes, you can add comments to existing OOXML Word documents in Python by injecting structured comment data into the docx file, preserving formatting while enabling professional collaborative review and content annotation.

What is the best way to automate Word document creation while preserving formatting?

The best way to automate Word document creation while preserving formatting is using a Python docx toolkit that directly manipulates OOXML files, ensuring structural integrity and professional formatting across automated edits.

Does this docx tracking toolkit require defusedxml to run?

Yes, this docx tracking toolkit requires the defusedxml dependency to run, ensuring secure XML parsing when automating Word document creation, editing, and extracting content from OOXML files.

How do I extract and analyze content from OOXML Word files for auditing?

You extract and analyze content from OOXML Word files for auditing by running Python scripts that parse the document structure, capturing tracked changes, comments, and revision history data like RSIDs and timestamps.