docx

Create, edit, and analyze .docx files with tracked changes and Markdown conversion.

Updated Jan 24, 2026
One-click install
npx skills add https://github.com/Albatross679/snake-hrl-torchrl --skill docx-albatross679
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: docx
Source: https://github.com/Albatross679/snake-hrl-torchrl/tree/main/skills/docx
Command: npx skills add https://github.com/Albatross679/snake-hrl-torchrl --skill docx-albatross679

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 streamlines complex document workflows by enabling programmatic creation, editing, and sophisticated analysis of .docx files, including tracked changes and comments.

Core Features & Use Cases

  • Document Creation: Generate new .docx files from scratch using JavaScript/TypeScript.
  • Content Editing: Modify existing .docx files with Python, handling tracked changes and comments.
  • Redlining: Implement precise tracked changes using a batching strategy for complex document reviews.
  • Text Extraction: Convert .docx to Markdown, preserving structure and tracked changes.
  • Use Case: Automatically generate a legal contract, apply specific edits with tracked changes, and extract key clauses for a summary report.

Quick Start

Use the docx skill to convert the document 'report.docx' into markdown format.

Frequently Asked Questions about docx

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

FAQPage Schema
How do I automate Word document generation and apply tracked changes programmatically?

Convert a .docx file to Markdown while preserving document structure and tracked changes by using text extraction libraries. This extracts content into a structured format suitable for summary reports and downstream analysis.

Can I extract text and comments from existing .docx files for analysis?

Extract text and comments from existing .docx files for analysis using Python libraries. This preserves formatting and tracked changes, enabling sophisticated document analysis and the extraction of key clauses for review.

What's the best way to redline a Word document in batch processing?

Redline a Word document in batch processing by applying a batching strategy for tracked changes. This implements precise edits and comments systematically, handling complex document reviews programmatically without manual intervention.

Does this approach to document management work with standard OOXML formats?

Yes, this document management approach works with standard OOXML formats by handling .docx files through programmatic interfaces. It preserves formatting, comments, and tracked changes across creation and editing workflows.

Do I need pandoc and libreoffice to convert and edit Microsoft Word documents?

Limitations of programmatic .docx editing include potential formatting loss during complex conversions and dependency on libraries like pandoc and libreoffice. For highly complex layouts, manual review may still be required after batch processing.