docx

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

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

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill streamlines the creation, editing, and analysis of Word documents (.docx files), enabling users to work with professional documents without manual formatting or coding.

Core Features & Use Cases

  • Document Creation: Generate new Word documents with custom styles and layouts.
  • Document Editing: Edit existing documents by modifying content, formatting, and inserting images.
  • Content Analysis: Extract and analyze text content from documents.
  • Use Case: Suppose you need to create a detailed report with a table of contents, headings, and images. Use this Skill to create the document structure, add content, and apply formatting in one step.

Quick Start

Create a new Word document and add a title and a section with text content.

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 custom styles and layouts?

Automate Word document creation by using Python libraries to generate new .docx files with custom styles, structured layouts, headings, and images without manual formatting.

Can I extract and analyze text content from existing .docx files?

Yes, you can extract and analyze text content from existing .docx files. The Skill parses document XML structures to pull text content for analysis and downstream processing.

Do I need LibreOffice installed to edit and render Word documents?

Yes, LibreOffice is required to manipulate Word document XML structures and render outputs. The environment also requires docx-js, pandoc, and poppler dependencies.

What's the best way to modify formatting and insert images into a Word document programmatically?

Modify formatting and insert images into a Word document programmatically by editing the document's XML structures directly using Python libraries, bypassing manual Word editors.

How does document XML editing handle professional table of contents and headings generation?

Document XML editing handles professional generation by building the .docx internal structure to programmatically apply heading hierarchies and generate accurate tables of contents.

Are there limitations when using Python for document automation on complex Word files?

Limitations arise when using Python for document automation on complex Word files if XML structures are heavily corrupted or if advanced macros require native Microsoft Word execution.