docx

Automates .docx document creation, editing, and formatting from prompts.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires defusedxml, lxml.

What problem does it solve?

Automating Word document creation, editing, and formatting reduces manual, error-prone tasks and speeds up producing polished .docx outputs.

Core Features & Use Cases

  • Create new .docx documents from structured prompts with consistent styling
  • Read, edit, and format content, insert images, and perform find-and-replace
  • Use cases include generating letters, reports, templates, or formatted documents from templates

Quick Start

Create a Word document from user input and save it as a .docx.

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

You can automate Word document creation by providing structured prompts to generate new .docx files with consistent styling, formatting, and content directly from your workflow inputs.

Can I insert images and perform find-and-replace in a .docx file programmatically?

Yes, you can read, edit, and format existing .docx files programmatically, including inserting images, running find-and-replace operations, and applying tracked changes and comments.

What is the best way to generate formatted reports and letters as .docx files?

Generating formatted reports and letters is best handled by applying automated styling and template updates within .docx files, ensuring polished outputs across workflows without manual formatting errors.

Does this Word document automation approach support tracked changes and comments?

Yes, the Word document automation process implements tracked changes and comments natively, allowing you to manage revisions and annotations directly within the generated or edited .docx files.

Do I need lxml and defusedxml to process Word documents?

Yes, processing Word documents relies on lxml and defusedxml dependencies to safely parse and manipulate the underlying XML structure of .docx files during reading and writing operations.

Can I update existing Word document templates with new content automatically?

Yes, you can update existing Word document templates automatically by reading the .docx file, performing find-and-replace operations, and inserting new content while preserving the original formatting.