docx

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

Updated May 30, 2026
One-click install
npx skills add https://github.com/jeffpecky/vortex --skill docx-jeffpecky
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: docx
Source: https://github.com/jeffpecky/vortex/tree/main/src/skills/bundled/docx
Command: npx skills add https://github.com/jeffpecky/vortex --skill docx-jeffpecky

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill provides advanced functionality for creating, editing, and analyzing Word documents (.docx files) with precision and efficiency.

Core Features & Use Cases

  • Document Creation and Editing: Leverage docx-js for comprehensive document creation and editing capabilities.
  • Formatting Options: Support for tables, images, page breaks, hyperlinks, footnotes, tab stops, and more.
  • Conversion and Analysis: Convert .doc to .docx, extract content, and perform operations like find-and-replace and tracked changes management.
  • Use Case: When a user requires a professional Word document with complex formatting, like tables of contents, headings, or page numbers, this skill can be used to create a polished final product.

Quick Start

Use the docx skill to create a new document with a title and some headings.

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 complex formatting like tables and footnotes programmatically?

This Skill creates Word documents with complex formatting using docx-js, supporting tables, images, hyperlinks, footnotes, and tab stops. It structures these elements programmatically to produce a polished .docx file.

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

Converting .doc to .docx format is handled by LibreOffice, which this Skill utilizes for conversion tasks. It processes legacy Word documents and outputs the modern .docx format for further editing.

Do I need pandoc and LibreOffice installed to extract text from a Word document?

Yes, you need pandoc installed to extract text from a Word document, as this Skill uses pandoc for text extraction. LibreOffice is also required as a dependency for executing document conversion tasks.

Can I perform find-and-replace operations and manage tracked changes in a .docx file?

You can perform find-and-replace operations and manage tracked changes in a .docx file. This Skill provides advanced document manipulation capabilities to edit, analyze, and modify existing Word document contents directly.

How does docx-js handle document creation for tables of contents and page numbers?

docx-js handles document creation by programmatically structuring elements like tables of contents, headings, and page numbers. This Skill leverages the library to generate a polished final Word document product with precise formatting.