docx-official

Create, edit, and analyze Word documents with tracked changes and comments.

Updated Mar 1, 2026
One-click install
npx skills add https://github.com/Jotures/Brain_OS --skill docx-official
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: docx-official
Source: https://github.com/Jotures/Brain_OS/tree/main/skills/docx-official
Command: npx skills add https://github.com/Jotures/Brain_OS --skill docx-official

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 the creation, editing, and analysis of professional Word documents, eliminating manual formatting and complex redlining tasks.

Core Features & Use Cases

  • Document Creation: Generate new .docx files from scratch using JavaScript or Python libraries.
  • Content Editing: Modify existing documents, including tracked changes, comments, and complex formatting.
  • Redlining & Review: Implement precise tracked changes and review documents efficiently.
  • Use Case: Automatically update a legal contract by replacing all instances of a specific clause with a new one, ensuring all changes are tracked and comments are preserved.

Quick Start

Use the docx-official skill to convert the document 'report.docx' into a markdown file with tracked changes enabled.

Frequently Asked Questions about docx-official

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

FAQPage Schema
How do I automate redlining and tracked changes in a Word document?

Automating redlining and tracked changes in a Word document involves programmatically modifying the OOXML structure to insert revisions. This Skill uses libraries like python-docx and docx-js to add precise tracked changes and comments to .docx files.

Can I generate a .docx file from scratch using JavaScript or Python?

Yes, you can generate a .docx file from scratch using JavaScript or Python. This Skill supports document creation through libraries like docx-js and python-docx, enabling deterministic OOXML manipulation for professional documents.

What is the best way to update a legal contract and preserve all comments?

The best way to update a legal contract while preserving comments is to use deterministic OOXML manipulation. This Skill automates replacing specific clauses in .docx files, ensuring all changes are tracked and existing comments are maintained.

Does this approach support converting a .docx file to markdown with tracked changes?

Yes, this approach supports converting a .docx file to markdown with tracked changes enabled. Utilizing dependencies like pandoc and libreoffice, the Skill processes professional documents and extracts content while maintaining revision visibility.

Do I need pandoc and libreoffice installed to analyze Word documents?

Yes, you need pandoc, libreoffice, and poppler-utils installed to handle comprehensive Word document workflows. These dependencies enable the Skill to process, analyze, and convert complex .docx files with deterministic OOXML manipulation.

Why use python-docx and docx-js for editing complex formatting instead of standard text editors?

Using python-docx and docx-js for editing complex formatting ensures deterministic OOXML manipulation without corrupting the file structure. Standard text editors cannot reliably parse the underlying XML, whereas these libraries handle tracked changes and comments accurately.