docx

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

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/opensesh/BOS-2.0 --skill docx-opensesh
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: docx
Source: https://github.com/opensesh/BOS-2.0/tree/main/.claude/skills/public/docx
Command: npx skills add https://github.com/opensesh/BOS-2.0 --skill docx-opensesh

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 professional Word documents (.docx) efficiently, handling complex tasks like tracked changes, comments, and formatting preservation.

Core Features & Use Cases

  • Document Creation: Generate new .docx files from scratch using JavaScript/TypeScript.
  • Content Editing: Modify existing documents with precision using Python's Document library.
  • Tracked Changes & Comments: Implement redlining, review edits, and add comments seamlessly.
  • Analysis & Conversion: Extract text, convert documents to images, and work with raw XML.
  • Use Case: A legal team needs to review a contract. They can use this Skill to apply tracked changes for proposed edits, add comments for specific clauses, and ensure all formatting is preserved before finalizing.

Quick Start

Use the docx skill to create a new Word document with a title and a heading.

Frequently Asked Questions about docx

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

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

You can add tracked changes and comments to a Word document by utilizing Python's Document library to implement redlining, review edits, and insert annotations while preserving the original formatting.

What is the best way to extract text and convert .docx files?

The best way to extract text and convert .docx files is by using pandoc, which efficiently handles text extraction and document conversion while maintaining the structural integrity of the content.

How do I generate a new .docx file from scratch?

You can generate a new .docx file from scratch by leveraging docx-js in JavaScript or TypeScript, which allows for comprehensive document creation including titles, headings, and complex formatting.

Can I manipulate raw OOXML and ensure schema compliance for Word documents?

Yes, you can manipulate raw OOXML and ensure schema compliance for Word documents, enabling complex structural modifications and professional document workflows while maintaining format validity.

Do I need pandoc and libreoffice installed to process .docx files?

Yes, you need pandoc, libreoffice, poppler-utils, and defusedxml installed, as these dependencies handle critical functions like text extraction, conversion, rendering, and secure XML parsing.

How does this approach handle formatting preservation when editing existing documents?

Formatting preservation is handled by utilizing Python's Document library for precise content modifications, ensuring that original styles, layouts, and tracked changes remain intact during the editing process.