docx

Create and edit Microsoft Word .docx documents with JavaScript and XML.

3.5k|1.0k|Updated Feb 22, 2026
One-click install
npx skills add https://github.com/nextlevelbuilder/goclaw --skill docx-nextlevelbuilder
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: docx
Source: https://github.com/nextlevelbuilder/goclaw/tree/main/skills/docx
Command: npx skills add https://github.com/nextlevelbuilder/goclaw --skill docx-nextlevelbuilder

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill streamlines the creation, editing, and manipulation of Microsoft Word documents (.docx files), automating complex formatting and content management tasks.

Core Features & Use Cases

  • Document Generation: Create new .docx files from scratch using JavaScript libraries, with control over styles, tables, images, and layout.
  • Content Editing: Modify existing .docx files by unpacking, editing XML, and repacking, including handling tracked changes and comments.
  • Tracked Changes & Comments: Add, accept, or reject tracked changes and insert comments using specific tools and scripts.
  • Use Case: Generate a professional business proposal in .docx format, complete with a table of contents, specific formatting, and embedded images, or automatically accept all tracked changes in a collaborative document.

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 generate a Word document with complex formatting programmatically?

To generate a Word document programmatically, use JavaScript libraries to create new .docx files from scratch, controlling styles, tables, images, and layout. This automates complex formatting and content management tasks for professional documents.

How do I manage tracked changes and comments in a Word document?

You can manage tracked changes and comments in Word documents by using specific scripts and utilities to add, accept, or reject modifications. This enables automated review processing for collaborative .docx files.

Can I convert Word documents to other formats using LibreOffice and pandoc?

Yes, document conversions are supported via integrated tools like pandoc and LibreOffice. These dependencies allow you to process and transform .docx files into alternative formats for different publishing workflows.

Do I need JavaScript to create a Word document from scratch?

Yes, JavaScript is required for document generation, as the process uses JavaScript libraries to programmatically build new .docx files. This allows precise control over embedded images, tables, and specific layout styles.