docx

Create, edit, and analyze .docx files using Python and JavaScript libraries.

3|3|Updated Mar 8, 2026
One-click install
npx skills add https://github.com/sixtycat2000-ctrl/LobsterAI-Web --skill docx-sixtycat2000-ctrl
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: docx
Source: https://github.com/sixtycat2000-ctrl/LobsterAI-Web/tree/main/SKILLs/docx
Command: npx skills add https://github.com/sixtycat2000-ctrl/LobsterAI-Web --skill docx-sixtycat2000-ctrl

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, handling complex formatting, tracked changes, and comments efficiently.

Core Features & Use Cases

  • Document Creation: Generate new .docx files from scratch using programmatic control.
  • Content Editing: Modify existing documents, including text replacement and formatting.
  • Tracked Changes: Implement and manage tracked changes for collaborative review (redlining).
  • Comment Management: Add, review, and manage comments within documents.
  • Text Extraction: Convert .docx content to Markdown or plain text.
  • Use Case: A legal team needs to review a contract. Use this Skill to apply tracked changes for proposed edits, add comments for specific clauses, and then export the reviewed document.

Quick Start

Use the docx skill to create a new document with a title and two headings.

Frequently Asked Questions about docx

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

FAQPage Schema
How do I generate Word documents programmatically using Python and JavaScript?

You can generate Word documents programmatically by using libraries like python-docx and docx-js to manipulate OOXML structures, allowing you to create new .docx files from scratch with custom formatting and content.

Can I apply tracked changes and redlining to a Word document for collaborative review?

Yes, you can apply tracked changes and redlining to a Word document. The Skill supports implementing and managing tracked changes, as well as adding, reviewing, and managing comments within documents for collaborative review.

What is the best way to convert a PDF to a DOCX file?

The best way to convert a PDF to a DOCX file is by using Pandoc and Libreoffice, which are dependencies for this Skill that handle format conversion and transform PDF content into an editable Word document format.

Does this tool support extracting text from existing DOCX files to Markdown?

Yes, this tool supports extracting text from existing DOCX files. It can convert .docx content into Markdown or plain text, making it easier to analyze document content or migrate it to other formats.

How do I modify content and formatting in an existing Word document?

You modify content and formatting in an existing Word document by using python-docx or docx-js to programmatically edit the OOXML structure, enabling text replacement, formatting adjustments, and targeted content updates.

What dependencies do I need to install to manage OOXML documents effectively?

To manage OOXML documents effectively, you need dependencies including Pandoc for format conversion, LibreOffice, poppler-utils for PDF processing, and defusedxml for secure XML parsing during document manipulation.