docx

Create, read, edit, and manipulate Word documents with Python and JavaScript.

Updated Feb 16, 2026
One-click install
npx skills add https://github.com/michaeljabbour/amplifier-bundle-letsgo --skill docx-michaeljabbour
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: docx
Source: https://github.com/michaeljabbour/amplifier-bundle-letsgo/tree/main/skills/docx
Command: npx skills add https://github.com/michaeljabbour/amplifier-bundle-letsgo --skill docx-michaeljabbour

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This skill streamlines the process of creating, reading, editing, and manipulating Word documents (.docx files), eliminating the need for manual intervention in complex document formatting and content management.

Core Features & Use Cases

  • Document Creation: Generate new .docx files from scratch using JavaScript, including complex formatting like tables, lists, headers, footers, and tables of contents.
  • Document Editing: Modify existing .docx files by unpacking, editing XML, and repacking, with support for tracked changes and comments.
  • Content Manipulation: Convert between document formats (e.g., .doc to .docx), extract text, and convert documents to images.
  • Use Case: Automatically generate a professional business letter with a company letterhead, specific formatting, and tracked changes for review.

Quick Start

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

Frequently Asked Questions about docx

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

FAQPage Schema
How do I automate creating Word documents with complex formatting like tables and headers?

Automating Word document creation handles complex formatting like tables, lists, and headers by unpacking and editing XML or using JavaScript libraries. This eliminates manual formatting and generates professional .docx files directly from scripts.

Can I add tracked changes and comments to an existing .docx file programmatically?

Editing existing .docx files programmatically supports tracked changes and comments by unpacking the document, manipulating its underlying XML content, and repacking it. This allows automated review workflows without manual intervention.

What tools do I need to convert .doc files to .docx and extract text?

Converting .doc to .docx and extracting text requires pandoc, docx-js, LibreOffice, and Poppler for full functionality. These tools process document formats and manipulate content for automated extraction and conversion.

Does editing Word documents through XML manipulation support generating tables of contents?

Generating formatted Word documents through XML manipulation and JavaScript libraries supports complex structures including tables of contents, headers, and footers. It handles document creation from scratch with professional formatting.

What is the best way to convert Word documents to images automatically?

Converting Word documents to images is best handled through automated document manipulation using Poppler and LibreOffice. This approach processes .docx files to extract visual representations without manual export steps.