docx

Create, read, edit, and format DOCX files with XML-based workflows.

2|1|Updated Apr 1, 2026
One-click install
npx skills add https://github.com/miriamdong/mstack --skill docx-miriamdong
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: docx
Source: https://github.com/miriamdong/mstack/tree/main/docx
Command: npx skills add https://github.com/miriamdong/mstack --skill docx-miriamdong

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires defusedxml, lxml, pandoc, docx-js, soffice, and includes scripts (resource) components.

What problem does it solve?

Word processing tasks like creating, editing, reading, and formatting .docx files can be tedious and error-prone. This Skill provides a self-contained toolkit to automate DOCX workflows, including docx creation, content editing, image insertion, table handling, and formatting.

Core Features & Use Cases

  • Create new documents with structured formatting and content.
  • Read, modify, and re-pack existing .docx files, including image insertion and content updates.
  • Perform content extraction, formatting adjustments, and basic conversions for professional documents in business, education, or legal contexts.

Quick Start

Provide a content outline or text and I will produce a fully formatted Word document (.docx) ready to download.

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 formatting?

Automate Word document creation and formatting by providing a content outline or text to produce a fully formatted .docx file. The workflow uses deterministic scripting and XML-based processing to apply structured formatting across business, education, and legal contexts.

Can I edit an existing .docx file and insert images or tables?

Yes, you can edit an existing .docx file by unpacking its XML structure, modifying content and metadata, and repacking it. The workflow supports image insertion, table handling, and formatting adjustments within the document.

What's the best way to generate formatted DOCX reports from text?

The best way to generate formatted DOCX reports from text is to supply a content outline to the automated workflow. It leverages docx-js and XML-based processing to create structured documents with deterministic formatting for professional deliverables.

Does this DOCX automation workflow require pandoc or soffice?

Yes, the DOCX automation workflow relies on dependencies including pandoc, soffice, lxml, and defusedxml. These tools enable document creation, content extraction, formatting adjustments, and basic conversions for professional documents.

How do I extract content and metadata from Word documents?

Extract content and metadata from Word documents using the unpacking feature of the DOCX automation workflow. This XML-based approach allows you to read and modify existing .docx files, handling content updates and metadata adjustments deterministically.