docx

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

1|Updated Dec 18, 2025
One-click install
npx skills add https://github.com/sidart10/orion-slackbot --skill docx-sidart10
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: docx
Source: https://github.com/sidart10/orion-slackbot/tree/main/.skills/docx
Command: npx skills add https://github.com/sidart10/orion-slackbot --skill docx-sidart10

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 create, edit, and analyze Microsoft Word (.docx) documents with advanced features like tracked changes and comments, eliminating manual document manipulation.

Core Features & Use Cases

  • Document Creation: Generate new .docx files from scratch using programmatic control.
  • Content Editing: Modify existing documents, including text, formatting, and structure.
  • Tracked Changes (Redlining): Implement precise insertions and deletions with full tracking, ideal for collaborative reviews or legal documents.
  • Text Extraction & Analysis: Convert .docx to Markdown or access raw XML for in-depth analysis.
  • Use Case: A legal team needs to review a contract. This Skill can be used to apply specific edits with tracked changes, ensuring all modifications are clearly visible and auditable.

Quick Start

Use the docx skill to convert the attached document 'report.docx' into markdown format with all tracked changes preserved.

Frequently Asked Questions about docx

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

FAQPage Schema
How do I add tracked changes to a Word document programmatically?

You can add tracked changes (redlining) to a .docx file by programmatically inserting precise insertions and deletions. This ensures all modifications are fully tracked, clearly visible, and auditable for collaborative reviews or legal contracts.

How do I convert a .docx file to Markdown while preserving formatting?

Converting a .docx file to Markdown is handled by leveraging pandoc for format conversion. This process extracts the document text and structure, allowing you to access the content for in-depth analysis or integration with text-based workflows.

Can I create a new .docx document from scratch without opening Microsoft Word?

Yes, you can generate new .docx files from scratch using programmatic control. By leveraging libraries like docx-js and Python's Document library for OOXML manipulation, you can build document structures, text, and formatting directly.

Does this approach work for modifying existing content and formatting in a Word document?

Modifying existing .docx files is fully supported, allowing you to alter document text, formatting, and structure. This enables detailed document reviews and content updates without needing to manually open or edit the file.

What libraries are needed to manipulate OOXML and extract text from Word documents?

To manipulate OOXML and extract text, you need libraries like docx-js and Python's Document library, alongside dependencies including pandoc, libreoffice, poppler-utils, and defusedxml for comprehensive document processing and analysis.

What is the best way to perform a detailed document review with visible edits and comments?

The best way to perform a detailed document review is by applying specific edits with tracked changes and comments. This approach ensures that all modifications and annotations are clearly visible and auditable throughout the review process.