DOCX Toolkit — Create, Edit, and Analyze Word Documents

    1

    Professional-grade skill for all Word document (.docx) operations without needing Microsoft Office

    Free

    4 installsSecurity scanned

    Works with the AI tools you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIGitHub CopilotGitHub CopilotGemini CLIGemini CLI+20 more

    DOCX Toolkit — Create, Edit, and Analyze Word Documents

    Example session with this skill installed

    Create a professional US Letter report with a Table of Contents, Arial 12pt font, and a two-column layout for the executive summary.

    • Read your context and instructions
    • Compiled the docx toolkit

    I have generated the report using docx-js. I configured US Letter dimensions (12240x15840 DXA), mapped Heading 1 and 2 to the TOC, and implemented a two-column section for the summary using a 720 DXA gap. The file is validated and ready.

    Connects securely to your tools. The creator never sees your data.

    About this skill

    The problem

    Programmatically generating and editing Word documents is notoriously fragile, often resulting in corrupted XML or inconsistent formatting across different viewers. Manually managing docx-js configurations or parsing raw OpenXML is time-consuming and prone to schema violations.

    What it does

    • Generates professional .docx files using docx-js with explicit control over page sizes, margins, and multi-column layouts.
    • Edits existing documents by unpacking XML, merging adjacent runs, and repacking with automatic schema validation and repair.
    • Implements complex document features including tracked changes, nested comments, table of contents, and dot-leader tab stops.
    • Handles legacy .doc to .docx conversion and high-fidelity text extraction via Pandoc integration.
    • Converts documents to PDF or high-resolution images using headless LibreOffice and Poppler.

    Frameworks & tools

    Node.js (docx-js), Python (scripts/office), Pandoc, LibreOffice, and Poppler.

    Why this beats prompting it yourself

    This skill enforces strict XML compliance rules that LLMs typically hallucinate, such as element ordering in pPr and proper namespace handling for tracked changes. It provides a structured workflow for unpacking and repacking files that prevents the common "corrupted file" errors associated with direct string manipulation of OpenXML.

    Use cases

    • Automate the generation of legal contracts with precise formatting and smart quotes.
    • Review documents programmatically by inserting tracked changes and replies to comments as a named author.
    • Build reporting pipelines that convert dynamic data into branded Word templates with headers, footers, and tables.
    • Extract clean Markdown from complex Word documents while preserving tracked changes for analysis.

    Known limitations

    Requires a Node.js environment for new document creation and Python for the unpacking/packing utility scripts. Does not support direct manipulation of Google Docs or PDFs without local conversion.

    How to install

    Works the same in every agent - Claude, Cursor, Codex, Copilot and 20+ more.

    ~30 seconds
    1. 1

      Download the ZIP

      Free skills download straight away. Paid skills unlock right after purchase.

    2. 2

      Unzip into your skills folder

      Every agent reads skills from one folder on your machine. Drop the unzipped folder in there.

    3. 3

      Ask your agent to use it

      Restart the agent if it was already running. It picks the skill up automatically - no config needed.

    Skills folder by agent

    Click the path to copy it. Create the folder if it does not exist yet.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill passes our trust checks below.

    Security scanned

    Passed our 8-point scan before listing

    4 installs

    Downloaded by developers to date

    Free forever

    No account required to browse

    Trust & safety

    Security scanned

    Verified clean 1 month ago

    • Free to download with an account

    Listed1 month ago

    Frequently Asked Questions