docx

Create, edit, and analyze .docx files with tracked changes and comments.

564|70|Updated Jan 25, 2026
One-click install
npx skills add https://github.com/ynulihao/AgentSkillOS --skill docx-ynulihao
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: docx
Source: https://github.com/ynulihao/AgentSkillOS/tree/main/data/skill_seeds/docx
Command: npx skills add https://github.com/ynulihao/AgentSkillOS --skill docx-ynulihao

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires pandoc, docx, libreoffice, poppler-utils, defusedxml, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill empowers you to efficiently create, edit, and analyze professional documents (.docx files), handling complex formatting, tracked changes, and comments with ease.

Core Features & Use Cases

  • Document Creation: Generate new .docx files from scratch using programmatic control over text, formatting, and structure.
  • Content Editing: Modify existing documents, including text replacements, formatting adjustments, and complex redlining.
  • Tracked Changes & Comments: Implement and manage tracked changes and comments for collaborative document review and editing workflows.
  • Use Case: A legal team needs to review a contract. They can use this Skill to apply specific edits, add comments, and track all changes made by different reviewers, ensuring a clear audit trail.

Quick Start

Use the docx skill to create a new document with the title 'Project Proposal' and add a paragraph with the text 'This is the main content.'.

Frequently Asked Questions about docx

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

FAQPage Schema
How do I track changes and add comments to a docx file for collaborative review?

To track changes and add comments in a docx file, you can use this Skill to programmatically apply edits, insert reviewer comments, and manage redlining workflows while preserving original formatting.

Can I generate a new docx document from scratch with specific formatting and structure?

Yes, you can generate a new docx document from scratch by programmatically defining text content, paragraph structures, and formatting rules using integrated document generation libraries.

What is the best way to extract text and analyze existing OOXML structures in a docx file?

The best way to extract text and analyze OOXML structures is by utilizing Python's Document library within the Skill to manipulate XML elements directly and retrieve content accurately.

Does this docx editing workflow require installing dependencies like pandoc or libreoffice?

Yes, this docx editing workflow requires installing several dependencies including pandoc, libreoffice, poppler-utils, and defusedxml to ensure comprehensive document processing and format conversion.

Why do my complex formatting and redlining adjustments break when modifying a docx document?

Complex formatting and redlining often break during manual edits due to underlying OOXML corruption, but using programmatic manipulation via docx-js and Python ensures structural preservation.

Can I use this tool to programmatically manage contract redlining for a legal team?

Yes, legal teams can use this tool to implement specific contract edits, add comments, and track all reviewer changes, ensuring a clear and reliable audit trail for document redlining.