Docx

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

1|Updated Mar 11, 2026
One-click install
npx skills add https://github.com/BishopCodes/OpenPAI --skill docx-bishopcodes
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Docx
Source: https://github.com/BishopCodes/OpenPAI/tree/main/skills/Utilities/Documents/Docx
Command: npx skills add https://github.com/BishopCodes/OpenPAI --skill docx-bishopcodes

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 Microsoft Word documents, automating complex tasks like tracked changes, table manipulation, and format conversion.

Core Features & Use Cases

  • Document Creation: Generate professional Word documents from scratch using JavaScript/TypeScript.
  • Editing & Redlining: Modify existing .docx files, including adding and reviewing tracked changes with Python.
  • Analysis & Conversion: Extract text, convert to Markdown, or transform documents into images.
  • Use Case: A legal team needs to review a contract. This Skill can automatically apply tracked changes for proposed edits, convert the document to Markdown for easier review, and even generate image previews of each page.

Quick Start

Use the Docx skill to create a new Word document with the title 'Project Proposal' and add a paragraph below it.

Frequently Asked Questions about Docx

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

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

You can apply tracked changes to a Word document by modifying existing .docx files using Python's Document library for OOXML manipulation. This enables automated redlining for proposed edits.

What is the best way to convert a .docx file to Markdown for easier review?

The best way to convert a .docx file to Markdown is by using pandoc, which extracts and transforms the document content. This simplifies reviewing complex documents by converting them into plain text formats.

How do I generate a Word document with complex formatting, tables, and images from scratch?

You generate a Word document with complex formatting, tables, and image insertion from scratch using JavaScript or TypeScript. This approach utilizes docx-js to programmatically create professional .docx files.

Can I convert Word document pages into image previews for analysis?

Yes, you can convert Word document pages into image previews for analysis using LibreOffice and Poppler-utils. These dependencies transform .docx files into images, enabling visual page inspection and document review.

Do I need pandoc and LibreOffice installed to create and edit Word documents?

You need pandoc and LibreOffice installed primarily for document conversion and analysis tasks, such as transforming .docx files to Markdown or images. Document creation and editing utilize docx-js and Python libraries separately.

Why use Python's Document library for OOXML manipulation instead of standard text editing?

Python's Document library handles OOXML manipulation to access the underlying XML structure of Word documents. Standard text editing cannot preserve complex formatting or manage tracked changes effectively within the .docx zip archive.