tkm:docx

Create, edit, and analyze .docx files with tracked changes and text extraction.

Updated May 13, 2026
One-click install
npx skills add https://github.com/khapn-2933/agentic-coding-hands-on --skill tkm-docx
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: tkm:docx
Source: https://github.com/khapn-2933/agentic-coding-hands-on/tree/main/.claude/skills/document-skills/docx
Command: npx skills add https://github.com/khapn-2933/agentic-coding-hands-on --skill tkm-docx

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires pandoc, docx, LibreOffice, Poppler, defusedxml, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill simplifies the creation, editing, and analysis of .docx files, streamlining workflows for document management and professional formatting.

Core Features & Use Cases

  • Document Creation and Editing: Build and modify .docx files with precision and control.
  • Formatting and Preservation: Retain formatting across document transformations.
  • Text Extraction: Extract text and structured data from .docx files.
  • Use Case: Suppose you need to create a detailed contract with tracked changes. This Skill provides the tools to efficiently draft, format, and review the document, ensuring accuracy and professionalism.

Quick Start

To create a new Word document with tracked changes, use the tkm:docx skill with the command: "Create a new Word document with the following content: 'Contract Title\nContract Details...'".

Frequently Asked Questions about tkm:docx

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

FAQPage Schema
How do I extract text and structured data from a .docx file?

To extract text from a .docx file, this Skill processes the document's internal XML structure to retrieve text and structured data while preserving formatting. It requires Python libraries like defusedxml for safe XML manipulation during the extraction process.

Can I create a Word document with tracked changes using Python?

Yes, you can create a Word document with tracked changes by instructing the Skill to draft content like 'Create a new Word document with the following content'. It builds the .docx file with precision, enabling professional collaboration workflows.

Does this Skill require pandoc and LibreOffice for .docx conversion?

Yes, .docx conversion requires pandoc, LibreOffice, and Poppler dependencies. These tools handle PDF conversion and document transformations, ensuring formatting is retained across different output formats.

What is the best way to manage professional document formatting in .docx?

The best way to manage .docx formatting is through advanced XML manipulation and text processing. This Skill provides precise control over document creation and editing, ensuring formatting is preserved across transformations for professional workflows.

How do I analyze and modify the XML structure of a .docx file?

To analyze and modify .docx XML structure, the Skill uses defusedxml for safe XML manipulation and text processing libraries. This allows detailed document analysis, editing, and preservation of formatting across transformations.

Are there limitations when converting .docx files to PDF with Poppler?

PDF conversion with Poppler and LibreOffice works for standard document workflows but may have limitations with complex formatting. The Skill relies on these dependencies for transformation tasks, so ensuring proper environment setup is crucial for accurate output.