docx

Create, read, and edit Word .docx documents with formatting and find-and-replace.

Updated Feb 10, 2026
One-click install
npx skills add https://github.com/markoinla/green-tea-releases --skill docx-markoinla
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: docx
Source: https://github.com/markoinla/green-tea-releases/tree/main/skills/docx
Command: npx skills add https://github.com/markoinla/green-tea-releases --skill docx-markoinla

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

Word document workflows are often repetitive and error-prone. This skill automates the creation, reading, editing, and formatting of Word documents (.docx), reducing manual editing time and ensuring consistent output.

Core Features & Use Cases

  • Create new .docx documents with structured formatting, headings, and sections.
  • Read, modify, and reorganize content, insert images, and apply professional formatting to match reports, letters, or proposals.
  • Extract or reorganize content from existing Word files, and perform find-and-replace across documents.

Quick Start

Generate a polished Word document from a plain-text prompt.

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 plain text?

You automate Word document generation by applying this skill's scripts to manipulate Word XML and DOCX packaging, creating new .docx files with structured formatting, headings, and sections from plain-text prompts.

Can I insert images and apply headings to existing .docx files programmatically?

Yes, you can insert images and apply headings to existing .docx files programmatically. The skill reads and modifies content while applying professional formatting by manipulating Word XML and DOCX packaging structures.

What is the best way to perform find-and-replace across multiple Word documents?

The best way to perform find-and-replace across Word documents is using this skill's automated scripts to extract, reorganize, and modify content by directly manipulating the underlying Word XML within the DOCX packaging.

Do I need lxml or defusedxml installed to edit Word documents?

Yes, you need lxml and defusedxml installed to edit Word documents. These dependencies are required by the skill's scripts to securely parse and manipulate the Word XML and DOCX packaging structures.

How do I extract and reorganize content from existing Word files?

You extract and reorganize content from existing Word files by running the skill's scripts, which read the DOCX packaging and Word XML to locate, modify, and restructure document elements like headings, sections, and text.