docx

Create, edit, and extract text from Word .docx documents.

Updated Jan 5, 2026
One-click install
npx skills add https://github.com/Mhafis99/manajemen-keuangan --skill docx-mhafis99
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: docx
Source: https://github.com/Mhafis99/manajemen-keuangan/tree/main/menejemenkeuanganarsm/skills/docx
Command: npx skills add https://github.com/Mhafis99/manajemen-keuangan --skill docx-mhafis99

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This skill enables automated creation, modification, and analysis of Word documents (.docx) while preserving formatting, enabling tracked changes and comments, and extracting text or metadata for integration into workflows.

Core Features & Use Cases

  • Create new documents from templates or programmatic content while maintaining professional formatting.
  • Edit existing documents with deterministic, tracked changes, redlining, and comments to support collaboration.
  • Extract text, structure, and metadata from .docx files for indexing, reporting, or data pipelines.
  • Use case: generate monthly reports by assembling sections, applying edits, and exporting a final document for sharing.

Quick Start

Generate a sample Word document by running a minimal script that creates a document with formatted content.

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 generation and formatting programmatically?

Automated Word document generation creates professional .docx files from templates or code while preserving formatting. This skill enables assembling sections, applying edits, and exporting final documents for sharing through deterministic scripts.

Can I edit existing .docx files with tracked changes and comments?

Editing existing .docx files with tracked changes and comments supports collaboration workflows. This skill modifies documents deterministically, enabling redlining and annotations while maintaining the original document structure and formatting.

How do I extract text and metadata from Word documents for data pipelines?

Extracting text and metadata from Word documents pulls structural content from .docx files for indexing or reporting. This skill parses document structure to retrieve text and metadata for integration into data pipelines.

Does this Word document automation approach work with lxml and defusedxml?

This Word document automation approach works with lxml and defusedxml as dependencies. The skill requires these libraries to process .docx XML structures safely and perform programmatic document creation, modification, and analysis.

What is the best way to generate monthly reports by assembling Word document sections?

Generating monthly reports by assembling Word document sections creates formatted output for sharing. This skill automates the workflow of combining content sections, applying tracked edits, and exporting a final .docx file.

What are the limitations of programmatic Word document editing?

Programmatic Word document editing relies on deterministic XML processing via lxml and defusedxml. The skill focuses on text, structure, metadata, tracked changes, and comments, meaning complex embedded objects may require additional processing outside its scope.