skills-docx

Automate Word document creation, editing, and redlining with Python OOXML.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/Within-7/minto-plugin-tools --skill skills-docx
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: skills-docx
Source: https://github.com/Within-7/minto-plugin-tools/tree/main/skills-docx
Command: npx skills add https://github.com/Within-7/minto-plugin-tools --skill skills-docx

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

The Skill enables automated Word document creation, editing, and redlining workflows, preserving formatting, tracked changes, and comments in DOCX files.

Core Features & Use Cases

  • Create new DOCX documents with structured content and formatting.
  • Edit existing documents while preserving styles, tracked changes, and comments.
  • Apply and review tracked changes and comments programmatically for collaboration scenarios.

Quick Start

Start by creating a new Word document with a title and a paragraph, then apply a tracked change and add a comment to illustrate a redlining workflow.

Frequently Asked Questions about skills-docx

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

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

Automating Word document creation and editing while preserving tracked changes requires manipulating the OOXML structure directly. This Skill uses Python scripts with lxml to programmatically create new DOCX files, edit existing documents, and retain styles, comments, and redlining across workflows.

Can I programmatically apply and review comments in DOCX files?

Yes, you can programmatically apply and review comments in DOCX files by manipulating the OOXML elements. This Skill automates adding comments and tracked changes to Word documents, enabling collaboration scenarios where reviewers need context within the file structure.

Does this DOCX automation approach require external services or APIs?

No, this DOCX automation approach does not require external services or APIs. It operates locally using Python OOXML tooling within the skill's scripts, relying solely on the Python environment and the necessary defusedxml and lxml libraries.

What is the best way to redline Word documents without losing existing formatting?

The best way to redline Word documents without losing existing formatting is to edit the underlying OOXML directly. This Skill leverages Python scripts to modify DOCX files, ensuring that styles, tracked changes, and comments are preserved during automated edits.

How does OOXML manipulation work for tracked changes in Word?

OOXML manipulation for tracked changes works by directly modifying the XML elements that represent revisions in a DOCX file. This Skill applies Python OOXML tooling to insert, accept, or reject tracked changes and comments, maintaining document integrity for professional workflows.

What are the limitations of using Python for DOCX redlining workflows?

Using Python for DOCX redlining workflows requires familiarity with OOXML structures to handle complex formatting. This Skill relies on defusedxml and lxml, meaning users need a configured Python environment and cannot rely on visual Word interfaces for programmatic edits.