docx

Create, edit, and analyze .docx files while preserving formatting and tracked changes.

Updated Jul 8, 2026
One-click install
npx skills add https://github.com/CeeKay1901/pilot-skillmarkt --skill docx-ceekay1901
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: docx
Source: https://github.com/CeeKay1901/pilot-skillmarkt/tree/main/skills/docx
Command: npx skills add https://github.com/CeeKay1901/pilot-skillmarkt --skill docx-ceekay1901

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill helps you work with Word documents without wrestling with XML, manual formatting, or fragile file handling. It is designed for creating polished .docx files, reading existing documents, and making precise edits or tracked-change updates reliably.

Core Features & Use Cases

  • Create professional documents: Build reports, letters, memos, and templates with headings, tables, page numbers, headers, footers, and images.
  • Edit existing .docx files: Unpack, modify, and repack Word files while preserving structure, formatting, comments, and tracked changes.
  • Analyze and convert content: Extract text from Word documents, convert legacy .doc files, and produce clean outputs for downstream use.
  • Use case: If you need to turn a messy document into a polished deliverable with a table of contents and consistent formatting, this Skill provides the full workflow.

Quick Start

Use the docx skill to create or revise my Word document and return a polished .docx file with the formatting I need.

Frequently Asked Questions about docx

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

FAQPage Schema
How do I create a Word document with consistent formatting and a table of contents?

To create a Word document with consistent formatting, you can generate polished .docx files complete with headings, tables, page numbers, and a table of contents. This approach handles the full document creation workflow automatically.

Can I edit existing .docx files while preserving tracked changes and comments?

Yes, you can edit existing .docx files while preserving tracked changes, comments, and original formatting. The process unpacks, modifies, and repacks Word documents reliably without losing document structure.

What's the best way to convert legacy .doc files into clean text or modern formats?

The best way to convert legacy .doc files is to use document conversion tools that extract content and produce clean outputs. This method analyzes Word documents and transforms them for downstream use.

Does editing Word documents programmatically require handling raw XML?

No, editing Word documents programmatically does not require handling raw XML. The process manages XML-level repair, validation, and manipulation internally, letting you focus on the document content and formatting.

Do I need LibreOffice and pandoc installed to generate Word files?

Yes, you need LibreOffice, pandoc, and Python-based Office helpers installed. These dependencies are required to unpack, validate, repack, and manipulate Word files during creation and conversion workflows.

Why does my Word document formatting break when making automated edits?

Word document formatting breaks during automated edits when the underlying XML structure is modified incorrectly. Using a dedicated docx workflow ensures files are unpacked, validated, and repacked safely to preserve structure.