docx

Create, read, edit, and format .docx documents with Python tooling.

Updated Apr 17, 2026
One-click install
npx skills add https://github.com/ccstudentcc/agent-prompts --skill docx-ccstudentcc
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: docx
Source: https://github.com/ccstudentcc/agent-prompts/tree/main/.codex/skills/docx
Command: npx skills add https://github.com/ccstudentcc/agent-prompts --skill docx-ccstudentcc

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

Word documents often require precise formatting, layout, and typography which can be tedious and error-prone to do manually. This skill automates the creation, reading, editing, and formatting of Word documents (.docx) to ensure consistent structure, styling, and delivery quality.

Core Features & Use Cases

  • Create, read, edit, and format .docx documents with reliable typography and layout.
  • Insert images, manage tables, and apply headings, tables of contents, page numbers, and templates.
  • Reflow or reorganize content, generate polished Word outputs from outlines or existing material, and prepare professional documents (reports, letters, templates).

Quick Start

Create a ready-to-use .docx by applying a provided outline and adding an image to a document template.

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 with tables and images?

Automate Word document creation by applying templates and Python tooling to insert images, manage tables, and apply headings, ensuring reliable typography and consistent structure in .docx files.

Can I read and reorganize content from existing .docx files?

Read and reorganize content from .docx files by extracting existing material and reflowing it into polished Word outputs, maintaining professional structure for reports, letters, and templates.

Do I need Python to format Word documents with templates and TOCs?

Formatting Word documents with templates, TOCs, and page numbers requires Python tooling with dependencies like defusedxml and lxml to robustly handle .docx formatting and clear processing boundaries.

What is the best way to generate professional reports from an outline?

Generate professional reports from outlines by applying provided document templates to create ready-to-use .docx files, adding structured headings, images, and tables for reliable layout and delivery quality.

Are there limitations when processing non-Word file formats?

Processing non-Word file formats is a limitation, as this approach requires clear boundaries to avoid them and robustly handles only .docx formatting to ensure precise layout and typography.