docx

Create, read, edit, and format Word documents from natural-language prompts.

Updated Mar 16, 2026
One-click install
npx skills add https://github.com/cgm-free/ai-education-platform --skill docx-cgm-free
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: docx
Source: https://github.com/cgm-free/ai-education-platform/tree/main/.agents/skills/docx
Command: npx skills add https://github.com/cgm-free/ai-education-platform --skill docx-cgm-free

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

The skill automates the creation, reading, editing, and formatting of Word documents (.docx) from natural-language prompts, reducing manual document preparation time.

Core Features & Use Cases

  • Word document generation: Create polished .docx files from plain text prompts with headings, tables, images, and sections.
  • Editing and formatting: Apply styles, insert images, manage tables of contents, headers/footers, and tracked changes or comments.
  • Use cases: Produce reports, letters, memos, or templates that require professional formatting and consistent styling.

Quick Start

Provide a polished Word document from a detailed prompt with headings, images, and tables.

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 from a natural-language prompt?

You can automate Word document creation by providing detailed natural-language prompts to generate polished .docx files with headings, tables, images, and sections. This eliminates manual formatting and reduces document preparation time.

Can I apply styles and insert images into an existing .docx file?

Yes, you can edit existing .docx files by applying styles, inserting or replacing images, managing tables of contents, and configuring headers and footers through deterministic Python workflows.

What is the best way to generate a Word report with tracked changes and comments?

Generating a Word report with tracked changes and comments is handled by manipulating DOCX XML directly. This approach ensures professional formatting and consistent styling while tracking all modifications.

Does this approach work for creating Word templates and memos without manual formatting?

Yes, it works for creating Word templates, memos, and letters. You provide the content via prompts, and the deterministic workflows apply the required formatting, headings, and structures automatically.

Are there safeguards to prevent editing non-Word files when manipulating DOCX XML?

Yes, there are built-in safeguards to ensure only Word documents are processed. The deterministic Python workflows validate files before applying any XML manipulation or formatting changes.

Do I need Python libraries like lxml to format Word documents automatically?

Yes, the automated formatting of Word documents relies on Python dependencies like lxml and defusedxml to securely parse and manipulate the underlying DOCX XML structure.