docx

Create, edit, and analyze .docx files with Python libraries.

Updated Feb 4, 2026
One-click install
npx skills add https://github.com/jaydubya818/Dental_Agent --skill docx-jaydubya818
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: docx
Source: https://github.com/jaydubya818/Dental_Agent/tree/main/.claude/skills/document-skills/docx
Command: npx skills add https://github.com/jaydubya818/Dental_Agent --skill docx-jaydubya818

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires pandoc, docx, libreoffice, poppler-utils, defusedxml, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill streamlines the creation, modification, and analysis of professional documents, eliminating the need for manual formatting and complex editing tasks.

Core Features & Use Cases

  • Document Creation: Generate new .docx files from scratch using programmatic control over text, styles, tables, and formatting.
  • Content Editing: Modify existing .docx files, including tracked changes, comments, and complex formatting preservation.
  • Use Case: Automatically generate a legal contract with specific clauses, update a client report with new data and tracked changes, or extract all comments and revisions from a shared document.

Quick Start

Use the docx skill to create a new document with a title, a heading, and a paragraph of text.

Frequently Asked Questions about docx

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I extract text and comments from a .docx file programmatically?

You can extract text and comments from a .docx file using the docx Skill's Python libraries like python-docx. It parses document structures to retrieve all text, comments, and tracked revisions programmatically.

How do I create a .docx document with specific formatting and tables?

To create a .docx document with specific formatting and tables, use the docx Skill to generate new files from scratch with programmatic control over text, styles, and tables.

Can I add tracked changes to an existing Word document using Python?

Yes, you can add tracked changes to an existing Word document using Python. The docx Skill modifies existing .docx files and supports tracked changes, comments, and complex formatting preservation.

Does the docx Skill work with pandoc and libreoffice for document manipulation?

Yes, the docx Skill works with pandoc and libreoffice for document manipulation. It relies on these dependencies alongside python-docx and poppler-utils to handle text extraction and complex workflows.

What is the best way to automate editing legal and academic .docx documents?

The best way to automate editing legal and academic .docx documents is using the docx Skill, which streamlines modification and analysis of professional documents while handling complex workflows and formatting preservation.

Why should I use python-docx instead of manually formatting Word documents?

You should use python-docx to eliminate manual formatting and complex editing tasks. The docx Skill streamlines the creation, modification, and analysis of professional documents automatically.