docx

Create and edit Word documents using OpenXML structures with Python-generated visuals.

332|99|Updated Jan 27, 2026
One-click install
npx skills add https://github.com/dnnyngyen/kimi-agent-internals --skill docx-dnnyngyen
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: docx
Source: https://github.com/dnnyngyen/kimi-agent-internals/tree/main/source-code/skills/docx
Command: npx skills add https://github.com/dnnyngyen/kimi-agent-internals --skill docx-dnnyngyen

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires playwright, matplotlib, numpy, and includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

The docx Skill streamlines the creation and editing of Word documents by programmatically applying OpenXML structures, preserving formatting and layout while enabling advanced features like covers, TOC, track changes, and charts.

Core Features & Use Cases

  • Template-driven document generation: Build professional documents (proposals, reports, manuals) from templates.
  • Advanced formatting & visuals: Add covers, back covers, backgrounds, charts (Word-native or matplotlib-based), and cross-references.
  • Collaboration-ready editing: Support for track-changes and comments to enable review workflows.
  • Use Case: Generate a 12-page project proposal with a cover page, dynamic TOC, body sections, charts, and a back cover using included templates.

Quick Start

Use the docx skill to generate a sample project proposal by invoking the generator with the provided templates and assets

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 generation with covers, TOC, and charts?

Automate Word document generation by applying OpenXML structures to templates, producing professional outputs with covers, dynamic tables of contents, and native or matplotlib-based charts for reports and proposals.

Can I add track changes and comments to an OpenXML document for review workflows?

Yes, OpenXML document editing supports track changes and comments, enabling collaboration-ready review workflows directly within generated Word documents without losing formatting.

How do I create professional Word backgrounds and visuals using Python?

Create Word backgrounds and visuals by leveraging Python libraries like Matplotlib and NumPy to generate charts and background decorations, then embed them into OpenXML document templates.

Does this approach work for generating long project proposals with cross-references?

Yes, template-driven document generation supports multi-page project proposals with cover pages, dynamic TOC, body sections, cross-references, and back covers while preserving OpenXML formatting.

What is the best way to programmatically edit Word documents while preserving formatting?

Programmatically edit Word documents while preserving formatting by manipulating OpenXML structures directly, ensuring covers, backgrounds, and track changes remain intact across templates.