docx

Create, edit, and format Word documents with templates and tracked changes.

12|4|Updated Jun 21, 2026
One-click install
npx skills add https://github.com/eccstartup/grok_skills_bundle --skill docx-eccstartup
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: docx
Source: https://github.com/eccstartup/grok_skills_bundle/tree/main/docx
Command: npx skills add https://github.com/eccstartup/grok_skills_bundle --skill docx-eccstartup

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires defusedxml, lxml, Pillow, validators, and includes scripts (resource) components.

What problem does it solve?

Create, edit, and format Word documents (.docx/.dotx) efficiently, reducing manual drafting time and ensuring consistent formatting across outputs.

Core Features & Use Cases

  • Template-driven document creation with headings, tables of contents, and page numbers.
  • Content extraction, reorganization, and image insertion within Word files.
  • Global find-and-replace, tracked changes, and comments management for collaborative workflows.
  • Convert or prepare polished Word outputs from templates for professional deliverables.

Quick Start

Generate a polished Word document from an outline using the provided Word template.

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 from a template?

You can automate Word document creation by using template-driven scripts to apply headings, tables of contents, and page numbers, generating polished .docx outputs from predefined .dotx templates automatically.

Can I insert images and extract content from existing .docx files?

Yes, you can extract content, reorganize sections, and insert images into Word files programmatically, ensuring deterministic modifications while preserving the original document's layout and embedded media.

Does this approach support tracked changes and comments for collaborative editing?

It supports collaborative workflows by enabling global find-and-replace, tracked changes, and comments management within Word documents, allowing teams to review and accept deterministic script-based modifications.

What's the best way to apply global find-and-replace across multiple Word documents?

The best way to apply global find-and-replace is using deterministic scripts that target specific text patterns across .docx files, ensuring consistent formatting and content updates without manual editing.

Do I need Word installed to format documents with tables of contents and page numbers?

No, you do not need Word installed. The process relies on script-based modifications and libraries to generate full Word features like TOC, headings, headers, footers, and page numbers directly within .docx files.

What are the limitations of script-based Word document formatting?

Script-based Word document formatting requires template support for consistent outputs and is limited to deterministic modifications, meaning highly dynamic or interactive document elements may not be fully supported.