docx

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

Updated Mar 7, 2026
One-click install
npx skills add https://github.com/involvex/llms-remote --skill docx-involvex
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: docx
Source: https://github.com/involvex/llms-remote/tree/main/.agents/skills/docx
Command: npx skills add https://github.com/involvex/llms-remote --skill docx-involvex

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires docx, pandoc, LibreOffice, Poppler, 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 manual formatting and complex manipulation.

Core Features & Use Cases

  • Document Generation: Create new Word documents from scratch using JavaScript, including complex layouts, tables, images, and styles.
  • Document Editing: Modify existing .docx files by unpacking, editing XML, and repacking, including handling tracked changes and comments.
  • Content Analysis: Extract text, convert formats, and accept tracked changes using tools like pandoc and LibreOffice.
  • Use Case: Automatically generate a professional report with a table of contents, specific formatting, and embedded images, or programmatically accept all tracked changes in a document before submission.

Quick Start

Use the docx skill to create a new 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 specific formatting and tables?

Automate Word document generation by using the docx-js library to programmatically build .docx files with complex layouts, tables, images, and custom styles. This eliminates manual formatting by defining document structures directly through code.

Can I programmatically accept tracked changes and comments in a .docx file?

Yes, you can programmatically accept tracked changes and manage comments in a .docx file. The skill modifies existing Word documents by unpacking the file, editing the underlying XML structure, and repacking it to finalize the content.

Does pandoc work with converting older .doc files to the .docx format?

Yes, pandoc works with converting older .doc files to the .docx format. The skill leverages command-line tools including pandoc and LibreOffice to extract text and handle format conversions for content analysis.

What is the best way to extract text and content from a Word document for analysis?

The best way to extract text and content from a Word document is using pandoc and LibreOffice command-line tools. These tools parse the .docx file structure to pull raw text and format conversions without manual intervention.

Do I need LibreOffice and Poppler installed to manipulate Word documents via XML?

LibreOffice and Poppler are required dependencies for manipulating Word documents. While core editing unpacks and modifies XML directly, these tools provide the necessary environment for rendering, format conversion, and content extraction.