docx

Create and edit Word documents with python-docx, including tables and images.

1|Updated May 2, 2026
One-click install
npx skills add https://github.com/akobryan1/Telemetry-Tracking-and-Command-TT-C- --skill docx-akobryan1
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: docx
Source: https://github.com/akobryan1/Telemetry-Tracking-and-Command-TT-C-/tree/main/.github/skills/skills/docx
Command: npx skills add https://github.com/akobryan1/Telemetry-Tracking-and-Command-TT-C- --skill docx-akobryan1

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires python-docx, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill enables users to generate, modify, and extract content from Word (.docx) files efficiently, automating complex document workflows.

Core Features & Use Cases

  • Document Creation & Formatting: Generate new Word documents with styled headings, tables, images, and dynamic content.
  • Content Editing & Reorganization: Insert, replace, find-and-replace, and manipulate document content, including tracked changes and comments.
  • Use Case: Automate the creation of professional reports with headers, footers, Tables of Contents, and embedded images, ready for dissemination or review.

Quick Start

Use this skill to create a Word document with a title, table, and embedded image as specified by the user 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 creation with styled headings and tables?

Automate Word document creation by using this Skill to generate new .docx files with styled headings, dynamic tables, and embedded images through python-docx XML manipulation. It handles formatting and structure automatically for professional report generation workflows.

Can I extract and reorganize content from existing Word documents?

Extract and reorganize existing Word document content by finding and replacing text, manipulating document structures, and accessing comments and tracked changes. This Skill reads .docx files to modify content directly without manual editing.

Does python-docx support adding tracked changes and comments to Word documents?

Yes, python-docx supports tracked changes and comments within Word documents. This Skill leverages that dependency to insert, replace, and manipulate document content while maintaining revision tracking and annotation capabilities for review workflows.

What is the best way to generate professional reports with Tables of Contents and headers?

Generate professional reports with headers, footers, and Tables of Contents by automating document assembly through this Skill. It structures styled headings, tables, and embedded images into a finalized .docx file ready for dissemination or review.

How do I insert and replace images in a Word document programmatically?

Insert and replace images in a Word document programmatically by passing image inputs to this Skill for embedding into the .docx file structure. It automates image placement and content manipulation using python-docx XML handling.

What are the limitations of using python-docx for Word document automation?

Using python-docx for Word document automation requires Python environment setup and is limited to .docx XML structures. Complex formatting or advanced layout features not exposed by the python-docx library may require manual post-processing.