docx

Create, edit, and format Word documents via DOCX-XML workflows.

Updated Apr 9, 2026
One-click install
npx skills add https://github.com/TungND2k2/Milo-ai --skill docx-tungnd2k2
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: docx
Source: https://github.com/TungND2k2/Milo-ai/tree/main/skills/docx
Command: npx skills add https://github.com/TungND2k2/Milo-ai --skill docx-tungnd2k2

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

Word documents often require manual formatting, complex edits, and careful tracking of changes across multiple files. This Skill automates creation, reading, editing, and formatting of Word documents, streamlining workflows that involve content assembly, image insertion, and document standardization.

Core Features & Use Cases

  • Create new .docx documents with structured formatting, tables, and sections using guided templates.
  • Read, analyze, and modify existing Word documents by unpacking and repacking DOCX content while preserving formatting and tracked changes.
  • Insert images, manage tables, headers/footers, and handle comments and revisions for professional documents.
  • Use cases include generating reports, letters, templates, or client-ready Word docs from structured prompts.

Quick Start

Create a new Word document from a prompt that includes a title and a short paragraph, then insert a table and adjust basic formatting.

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 from structured prompts?

Editing existing Word documents while preserving tracked changes requires unpacking the DOCX-XML, modifying content, and repacking it. This Skill reads, analyzes, and modifies .docx files while maintaining original formatting, comments, and revision history.

Can I insert images and tables into a .docx file programmatically?

Analyzing Word document content for revisions and comments requires parsing the underlying DOCX-XML structure. This Skill unpacks Word documents to read, analyze, and manage tracked changes, comments, and formatting across multiple files.

Does this DOCX editing workflow require lxml and defusedxml dependencies?

Unpacking and repacking Word documents via DOCX-XML workflows requires specific XML parsing libraries to ensure secure and accurate modification. This Skill relies on the lxml and defusedxml dependencies to validate, modify, and re-pack Word content safely.

What is the best way to format Word documents without losing original tracked changes?

The best way to format Word documents without losing tracked changes is through an unpack, modify, and re-pack DOCX-XML workflow. This Skill adjusts formatting, inserts content, and validates the document while preserving all existing revisions.