docx

Create, read, and edit Word .docx and .dotx documents via XML manipulation.

Updated Jun 25, 2026
One-click install
npx skills add https://github.com/Rheasilvia/hermes-desktop --skill docx-rheasilvia
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: docx
Source: https://github.com/Rheasilvia/hermes-desktop/tree/main/skills/productivity/docx
Command: npx skills add https://github.com/Rheasilvia/hermes-desktop --skill docx-rheasilvia

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires docx, pandoc, libreoffice, poppler-utils, defusedxml, lxml, and includes scripts (resource) and assets (resource) components.

What problem does it solve?

This skill solves the complexity of programmatically creating, editing, and validating Word documents, which are inherently complex XML-based ZIP archives.

Core Features & Use Cases

  • Document Generation: Create professional reports, memos, and letters using programmatic templates.
  • Surgical Editing: Perform find-and-replace, redlining, and comment insertion directly into the underlying XML structure.
  • Validation: Ensure document integrity and schema compliance before sharing or finalizing.
  • Use Case: Automatically generate a contract from a template, insert specific client data, add review comments, and validate the final file for schema errors.

Quick Start

Use the docx skill to create a new report document based on the provided template and insert the specified content.

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

To automate Word document generation, you create professional reports or memos by programmatically manipulating underlying .docx XML structures. This approach allows you to generate documents from templates, insert specific client data, and add review comments automatically.

What is the best way to programmatically edit and redline Word documents?

The best way to programmatically redline Word documents is through surgical XML modifications. This method enables precise find-and-replace operations, redlining, and comment insertion directly into the .docx file's underlying XML structure.

Can I validate .docx schema compliance before sharing files?

Yes, you can validate .docx schema compliance before sharing files by running automated validation checks on the underlying XML structures. This ensures document integrity and confirms schema compliance in the final file.

Do I need pandoc and libreoffice to manage .docx files programmatically?

Yes, comprehensive .docx lifecycle management requires pandoc, libreoffice, and docx-js. These dependencies provide the necessary environment for high-level document generation, conversion, and surgical XML modifications.

How does manipulating underlying XML structures help with Word document automation?

Manipulating underlying XML structures allows precise control over Word documents, which are inherently complex XML-based ZIP archives. This mechanism enables surgical editing, automated validation, and high-level document generation programmatically.