docx

Create, edit, and analyze .docx files through Python scripts.

90|28|Updated Mar 2, 2026
One-click install
npx skills add https://github.com/YuppyChen/ai-novelist --skill docx-yuppychen
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: docx
Source: https://github.com/YuppyChen/ai-novelist/tree/main/.claude/skills/docx
Command: npx skills add https://github.com/YuppyChen/ai-novelist --skill docx-yuppychen

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires pandoc, docx-js, libreoffice, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill allows for the creation, editing, and analysis of Word documents (.docx files), offering a comprehensive suite of tools to handle various document tasks efficiently.

Core Features & Use Cases

  • Document Creation: Generate new .docx files from scratch or convert existing content.
  • Document Editing: Edit existing .docx files, including text, tables, images, and more.
  • Content Analysis: Extract text, images, and metadata from .docx files.
  • Use Case: Need to create a professional report from scratch or modify an existing document? This Skill can handle complex formatting, add images, and manage tracked changes with ease.

Quick Start

Create a new Word document with 'docx create new document --title "My Report" --author "John Doe" --date "2023-10-01"'.

Frequently Asked Questions about docx

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

FAQPage Schema
How do I automate Word document creation and editing with Python?

Automate Word document creation and editing by running Python scripts that generate new .docx files or modify existing text, tables, and images. This approach handles complex formatting and document generation efficiently.

What's the best way to extract text and images from a .docx file?

Extract text and images from a .docx file by using document analysis scripts that parse the file's internal structure. This process isolates content and metadata for review or migration to other formats.

Do I need pandoc and LibreOffice to convert .docx files to images?

Yes, converting .docx files to images requires pandoc, docx-js, and LibreOffice. These dependencies handle the complex rendering and conversion operations necessary for accurate visual output.

Can I accept tracked changes in Word documents programmatically?

Accept tracked changes in Word documents programmatically by executing targeted document editing scripts. This functionality processes revision marks and finalizes collaboration review workflows automatically.

How do I generate a professional report from scratch in .docx format?

Generate a professional report from scratch in .docx format by executing a creation command with parameters for title, author, and date. This builds a structured document ready for further formatting.