docx

Create, edit, and analyze Word documents with python-docx.

14|2|Updated Feb 18, 2026
One-click install
npx skills add https://github.com/opencodos/opencodos --skill docx-opencodos
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: docx
Source: https://github.com/opencodos/opencodos/tree/main/skills/DOCX
Command: npx skills add https://github.com/opencodos/opencodos --skill docx-opencodos

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Word document creation, editing, and analysis are repetitive and error-prone. This Skill automates the end-to-end DOCX workflow, reducing manual editing and ensuring consistent formatting.

Core Features & Use Cases

  • Create basic documents with headings, tables, and images using Python (python-docx) or Node.js (docx).
  • Edit existing documents, replace placeholders, and apply style changes across paragraphs and tables.
  • Track changes, extract raw XML, and perform template-driven document generation for reports, contracts, and proposals.

Quick Start

Open a DOCX template, modify placeholders, and save the updated document.

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 and editing with python-docx?

You can automate Word document creation and editing by using python-docx to load DOCX templates, replace placeholders, modify paragraphs and tables, and save the updated files with consistent formatting. This reduces manual document work across reports and contracts.

What's the best way to generate template-driven DOCX files for business reports?

The best way to generate template-driven DOCX files is to open an existing Word template, programmatically replace placeholders with data, apply style changes, and save the updated document. This ensures consistent formatting for reports, contracts, and proposals.

Can I track changes and extract raw XML from Word documents using Python?

Yes, you can track changes and extract raw XML from Word documents using Python. The Skill supports loading DOCX files to analyze document structures, apply style changes across paragraphs, and save modifications while preserving document fidelity.

Does python-docx support modifying existing Word documents with tables and images?

Yes, python-docx supports modifying existing Word documents containing tables and images. You can edit documents, replace placeholders, and apply style changes across paragraphs and tables while maintaining the original formatting fidelity.

Can I use Node.js instead of Python to automate DOCX document manipulation?

Yes, you can use Node.js for DOCX document manipulation. The Skill supports creating basic documents with headings, tables, and images using either Python with python-docx or Node.js with the docx library for template-driven generation.