docx

Create, edit, and analyze .docx files with formatting and text extraction.

Updated Aug 13, 2025
One-click install
npx skills add https://github.com/Enztun/enztronic.com --skill docx-enztun
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: docx
Source: https://github.com/Enztun/enztronic.com/tree/main/apps/meteora-lp/skills/docx
Command: npx skills add https://github.com/Enztun/enztronic.com --skill docx-enztun

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill unit enables efficient document creation, editing, and analysis with .docx files. It helps eliminate common manual document tasks by offering support for features like tracked changes, comments, formatting, and text extraction.

Core Features & Use Cases

  • Document Creation: Create and manage .docx files from scratch with ease.
  • Editing and Analysis: Modify existing content, manage tracked changes, add comments, and analyze text.
  • Advanced Formatting: Preserves formatting and offers extensive customization options.
  • Use Case: For instance, a user can use this Skill to generate a professional report with charts, tables, and complex layouts in a single command.

Quick Start

Run the setup script for environment check and installation. Then, generate a new document using the following command:

bash "$SKILL_DIR/setup.sh"
python3 "$DOCX_SCRIPTS/docx.py" output.docx --create --title "Sample Document" --description "This is a sample document created using the docx skill."

Frequently Asked Questions about docx

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

FAQPage Schema
How do I automate .docx report generation with complex layouts and tables?

To create a .docx document from scratch, run the setup script for environment installation, then execute the Python processing script with the output filename and creation flags. This generates a new file with customized titles and descriptions.

Can I extract text and manage tracked changes in an existing .docx file?

Yes, you can modify existing .docx files to extract text, manage tracked changes, and add comments. The processing script handles complex document workflows and analyzes data within the file without requiring manual text extraction.

Do I need pandoc and libreoffice installed to process and format .docx files?

Yes, processing and formatting .docx files requires pandoc and libreoffice installed alongside the docx Python package. The setup script automatically checks your environment and installs these dependencies to ensure robust document customization.

What is the best way to preserve formatting when editing .docx documents programmatically?

The best way to preserve formatting during programmatic .docx editing is to use an advanced document processing script that supports extensive customization. This ensures original styling remains intact while modifying content and generating complex layouts.

Are there limitations when using libreoffice for .docx text analysis and formatting?

While libreoffice handles robust formatting and processing tasks for .docx files, complex workflows with highly specific tracked changes might still require manual review. The tool automates standard document creation and text analysis efficiently within typical software engineering limits.