docx

Automate Word document creation, editing, and analysis via OOXML workflows.

19|4|Updated Feb 1, 2026
One-click install
npx skills add https://github.com/jarredkenny/agency-ai --skill docx-jarredkenny
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: docx
Source: https://github.com/jarredkenny/agency-ai/tree/main/roles/orchestrator/skills/docx
Command: npx skills add https://github.com/jarredkenny/agency-ai --skill docx-jarredkenny

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Word document creation, editing, and analysis often involve manual, repetitive OOXML tasks that are error-prone and time-consuming. This Skill automates those workflows, enabling consistent DOCX generation, structured edits, and robust review processes.

Core Features & Use Cases

  • Template-driven DOCX creation: Generate Word documents from templates using programmatic OOXML workflows.
  • Editing & formatting automation: Apply changes to existing documents via the Document library and OOXML manipulation.
  • Redlining & tracked changes: Manage revision workflows with tracked changes to support reviews and approvals.
  • Unpack/Pack workflows: Decompose a DOCX into its XML components to perform precise edits, then repackage into a valid .docx.
  • Use Case: A legal or enterprise team auto-generates client proposals, edits a draft, applies redlines, and ships the final document with a single operation.

Quick Start

Use the DOCX skill to create a new Word document with a basic template, apply a set of edits to an existing document, and perform a redlining workflow on a sample file. Install required tooling (docx, pandoc, LibreOffice, and related utilities) as described in the dependencies before running the quick start steps.

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 templates using OOXML?

Word document creation from templates is automated using programmatic OOXML workflows and the docx-js library. This enables consistent template-driven DOCX generation by programmatically defining document structures and injecting content into predefined layouts.

Can I programmatically redline and track changes in existing DOCX files?

Redlining and tracked changes in DOCX files are managed through OOXML manipulation and the Document library. This supports automated revision workflows by applying structured edits that render as tracked changes for professional review and approval processes.

What is the unpack and pack workflow for editing DOCX files?

The unpack and pack workflow decomposes a DOCX file into its underlying XML components for precise structural edits, then repackages the modified XML back into a valid .docx file. This allows granular OOXML manipulation beyond standard document editing interfaces.

Do I need pandoc and LibreOffice to convert and export Word documents?

Pandoc and LibreOffice are required for DOCX conversion and export tasks. Pandoc handles format transformations between markup languages and DOCX, while LibreOffice provides the rendering engine necessary to export Word documents into target formats like PDF.

What's the best way to apply batch updates across multiple Word documents?

Batch updates across multiple Word documents are executed via automated OOXML workflows and the Document library. This approach applies consistent formatting and content edits programmatically across numerous DOCX files, eliminating manual repetitive changes.

Are there limitations to editing Word documents through OOXML manipulation?

OOXML manipulation limitations include dependency on external libraries like docx-js for creation and the Document library for editing. Complex formatting may require unpack/pack workflows, and conversions depend on standard tooling like pandoc and LibreOffice to maintain document fidelity.