docx

Create, edit, and analyze .docx files with XML manipulation and tracked changes.

Updated Apr 30, 2026
One-click install
npx skills add https://github.com/Ced3-han/Harness-Settings --skill docx-ced3-han
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: docx
Source: https://github.com/Ced3-han/Harness-Settings/tree/main/skills/docx
Command: npx skills add https://github.com/Ced3-han/Harness-Settings --skill docx-ced3-han

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires docx-js, pandoc, libreoffice, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill allows users to easily create, edit, and analyze Word documents, eliminating the need for manual document handling and providing automated solutions for various document-related tasks.

Core Features & Use Cases

  • Document Creation: Generate new Word documents with formatting, tables, and images.
  • Document Editing: Edit existing documents by manipulating XML content, applying tracked changes, or inserting comments.
  • Document Analysis: Extract text, convert to images, and apply formatting rules to documents.
  • Use Case: If you need to create a professional report with tables, images, and headers, this skill can automate the process and ensure consistency.

Quick Start

Use the docx skill to create a new document and add a heading with 'Company Report'.

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 with formatting and tables?

Automate Word document creation by using the docx Skill to generate new .docx files with formatted text, tables, and images. It leverages docx-js and pandoc to ensure professional formatting and consistency without manual editing.

Can I edit existing .docx files by manipulating XML content directly?

Yes, you can edit existing .docx files by directly manipulating their internal XML content. The Skill allows you to modify document structures, apply tracked changes, and insert comments for precise document editing.

How does document analysis work for extracting text from Word files?

Document analysis extracts text content from Word files and can convert documents into images. This process applies formatting rules to extract and structure data, ideal for automated document processing workflows.

Do I need LibreOffice installed to convert Word documents to PDF?

Yes, LibreOffice is required for PDF conversion and handling tracked changes within the Skill. Pandoc and docx-js are also necessary dependencies for document creation and editing tasks.

What is the best way to apply tracked changes and comments to a Word document programmatically?

The best way to apply tracked changes and comments programmatically is through the Skill's XML manipulation capabilities. It uses LibreOffice to manage tracked changes and allows precise insertion of comments for professional document review.

What are the limitations of using pandoc for Word document editing?

While pandoc handles document creation and editing, complex Word formatting and tracked changes require LibreOffice. Limitations may arise with highly advanced layout features, as the workflow relies on XML manipulation for precise formatting control.