docx

Create, edit, and analyze .docx files with docx-js, pandoc, and LibreOffice.

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

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 streamlines the creation, editing, and analysis of Word documents, allowing for efficient document management and manipulation.

Core Features & Use Cases

  • Document Creation: Build new Word documents with formatting and styling from scratch.
  • Document Editing: Modify existing Word documents with support for tables, images, footnotes, and page breaks.
  • Content Analysis: Extract text and manipulate content within Word documents, including tracked changes and comments.
  • Use Case: If you need to create a professional report, memo, or letter in Word, this Skill can help with document formatting, including tables of contents, headings, and page numbers.

Quick Start

Use the docx skill to convert a .doc to .docx file: docx convert .doc document.doc

Frequently Asked Questions about docx

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create a Word document with formatting and tables from scratch?

To create a Word document with formatting and tables, this Skill uses docx-js to build new .docx files from scratch, supporting professional styling, headings, and page numbers.

Can I edit an existing .docx file to add images and footnotes?

Yes, you can edit an existing .docx file to add images and footnotes. The Skill modifies current Word documents by applying advanced formatting features such as tables, page breaks, and tracked changes.

Do I need LibreOffice and pandoc installed to process Word documents?

Yes, you need LibreOffice and pandoc installed to process Word documents. The Skill requires docx-js, pandoc, and LibreOffice as dependencies to successfully read, manipulate, and convert binary DOCX files.

What is the best way to convert a .doc file to .docx format?

The best way to convert a .doc file to .docx format is using the Skill's built-in conversion command. It leverages LibreOffice and pandoc to transform legacy .doc files into modern .docx documents.

How does document analysis handle tracked changes and comments?

Document analysis handles tracked changes and comments by extracting text and manipulating content within Word documents. The Skill isolates revisions and annotations to support detailed content review and modification workflows.

What are the limitations when processing complex Word document formatting?

Limitations when processing complex Word document formatting depend on the capabilities of docx-js, pandoc, and LibreOffice. Extremely intricate layout structures may not translate perfectly during binary DOCX manipulation or format conversion.