kimi-docx

Create and edit Word documents with OpenXML SDK and Python+lxml.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill enables automated Word document generation and editing, ensuring professional formatting and compliant OpenXML structures without manual scripting from scratch.

Core Features & Use Cases

  • Generate new .docx files with covers, headers/footers, TOC, charts, and back covers using a C# OpenXML SDK workflow.
  • Edit existing documents via Python + lxml while preserving original formatting and applying track-changes, comments, and revisions.
  • Use in enterprise docs, templates, and collaborative editing workflows that require deterministic builds and strict OOXML validation.

Quick Start

Provide an outline or template and generate a professional Word document using the skill.

Frequently Asked Questions about kimi-docx

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

FAQPage Schema
How do I automate Word document generation with headers, footers, and a TOC?

Automating Word document generation is achieved through a C# OpenXML SDK workflow that deterministically builds .docx files with covers, headers, footers, charts, and tables of contents.

Can I edit existing .docx files and apply track changes without breaking formatting?

Editing existing .docx files while preserving original formatting is executed via Python and lxml, allowing you to apply track changes, comments, and revisions to the document structure safely.

Does this approach maintain strict OOXML structure validation for enterprise templates?

Strict OOXML structure validation for enterprise templates is maintained during creation and editing, ensuring compliant OpenXML structures without requiring manual scripting from scratch.

What's the best way to add charts and tracked changes to Word documents programmatically?

Adding charts programmatically is supported by the OpenXML SDK deterministic build workflow, while tracked changes are applied using the Python and lxml editing workflow for existing documents.

Do I need OpenXML SDK and Python to create and edit professional Word documents?

You need the OpenXML SDK for the C# workflow to generate new documents, and Python with lxml for the editing workflow to apply revisions and comments to existing .docx files.