docx-offline

Extracts text, unpacks OOXML, and manages tracked changes in DOCX files offline.

50|3|Updated Jan 30, 2026
One-click install
npx skills add https://github.com/okwinds/miscellany --skill docx-offline
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: docx-offline
Source: https://github.com/okwinds/miscellany/tree/main/agent/skills/docx-offline
Command: npx skills add https://github.com/okwinds/miscellany --skill docx-offline

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill enables offline DOCX document manipulation by providing tools to extract text, unpack and re-pack OOXML, and manage tracked changes and comments without relying on online services.

Core Features & Use Cases

  • Offline OOXML manipulation: extract, analyze, edit, and repackage Word documents.
  • Tracked changes and comments: create, review, and manage redlined edits and comments.
  • Image and media handling: embed and reference images within documents while preserving formatting.
  • Use Case: Prepare a suite of contracts for review by demonstrating redlined edits and inline comments without requiring cloud-based tools.

Quick Start

Start by installing Python dependencies and inspecting the included scripts in the skill's scripts directory, then run a sample workflow to unpack a DOCX and perform edits.

Frequently Asked Questions about docx-offline

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

FAQPage Schema
How do I edit DOCX files offline and manage tracked changes without cloud services?

Yes, you can manage redlining and inline comments in OOXML offline. The scripts support creating, reviewing, and managing tracked changes and comments directly within Word documents, ensuring edits are preserved during offline document manipulation.

Does offline OOXML manipulation require specific Python dependencies for document parsing?

Handling images and media during offline DOCX editing involves embedding and referencing images within the OOXML structure. The included scripts manage media handling while preserving document formatting during the unpacking and repacking process.

What is the best way to unpack and repackage Word documents for offline analysis?

Yes, strict OOXML validation is supported for edited documents. The scripts ensure that your offline DOCX manipulation, including redlining and media handling, produces strictly valid OOXML output when repackaging the Word document.

Can I handle images and media embedding while editing DOCX files offline?

Yes, you can handle images and media embedding while editing DOCX files offline. The provided scripts support embedding and referencing images within documents, preserving formatting during OOXML unpacking and repacking operations.