docx

Automate Word document generation, editing, and formatting for .docx outputs.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/hueidou/CoCo --skill docx-hueidou
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: docx
Source: https://github.com/hueidou/CoCo/tree/main/src/coco/agents/skills/docx
Command: npx skills add https://github.com/hueidou/CoCo --skill docx-hueidou

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

Word document creation, editing, and formatting can be tedious; this skill automates complex Word workflows to produce consistent, polished .docx outputs.

Core Features & Use Cases

  • Create new .docx documents with professional formatting (headings, tables, headers/footers, images).
  • Edit and reorganize content in existing Word files, including find-and-replace, image insertion, and table generation.
  • Manage tracked changes and comments to generate ready-to-share documents for reports, letters, templates, and proposals.

Quick Start

Provide a client-ready .docx document that follows the requested structure and 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 for reports and letters?

You can automate Word document generation by using this skill to create new .docx files with headings, tables, headers, footers, and images. It applies professional formatting to reports, letters, and templates automatically.

Can I edit existing Word files and insert images into a .docx document?

Yes, you can edit existing Word files and insert images into a .docx document. The skill supports reorganizing content, performing find-and-replace operations, and generating tables within existing files.

How do I manage tracked changes and comments in Word documents?

Managing tracked changes and comments in Word documents is supported to generate ready-to-share files. This skill handles revisions and annotations, ensuring the final .docx output is polished and reviewed.

Does this Word document generation tool require lxml to format headers and footers?

Yes, this Word document generation tool relies on lxml and defusedxml to format headers, footers, and document structures. These dependencies enable the parsing and manipulation of XML underlying .docx files.

What is the best way to create a Word document with a table of contents and tables?

The best way to create a Word document with a table of contents and tables is using an automated document-workflow skill. It validates content and applies structural formatting to generate professional .docx outputs.

What are the limitations of editing complex Word templates with automated scripts?

Limitations of editing complex Word templates with automated scripts include potential constraints around advanced tracked changes handling and optional export steps. Content validation is applied to satisfy document-workflow requirements within .docx formats.