docx

Create and edit .docx files using docx-js, pandoc, and LibreOffice.

Updated Feb 6, 2026
One-click install
npx skills add https://github.com/EATSTEAK/dotagents --skill docx-eatsteak
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: docx
Source: https://github.com/EATSTEAK/dotagents/tree/main/skills/docx
Command: npx skills add https://github.com/EATSTEAK/dotagents --skill docx-eatsteak

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This skill streamlines the creation, editing, and analysis of Microsoft Word documents (.docx files), eliminating the need for manual formatting and complex document manipulation.

Core Features & Use Cases

  • Document Generation: Create new .docx files from scratch using JavaScript with precise formatting, styles, tables, and images.
  • Document Editing: Modify existing .docx files by unpacking, editing XML, and repacking, including handling tracked changes and comments.
  • Content Conversion: Convert documents to and from various formats using tools like pandoc and LibreOffice.

Quick Start

Use the docx skill to create a new Word document with a title and a paragraph.

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 with JavaScript?

Automate Word document generation by using the docx-js library to programmatically create .docx files with precise formatting, tables, and images. This eliminates manual formatting by handling content structure directly through Node.js scripts.

Can I modify existing .docx files and manage tracked changes?

Yes, you can modify existing .docx files by unpacking the document, editing the underlying XML directly, and repacking it. This approach allows you to programmatically manage tracked changes and insert comments without manual editing.

What's the best way to convert Word documents to other formats?

Convert Word documents to and from various formats using command-line tools like pandoc and LibreOffice. This enables automated content conversion pipelines to transform .docx files into target formats without manual intervention.

Do I need Node.js and LibreOffice to create formatted Word documents?

Yes, full functionality requires Node.js, npm, pandoc, and LibreOffice. Node.js and npm support the docx-js library for document creation, while pandoc and LibreOffice handle command-line content format conversion.

How does generating a table of contents in a .docx file work?

Generating a table of contents in a .docx file works by using the docx-js library to apply heading styles and structure the document programmatically. This ensures the table of contents is accurately formatted and updated based on the document's headings.