docx

Generate and modify Microsoft Word .docx files using docx-js and pandoc.

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

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 manipulation of Microsoft Word documents (.docx files), eliminating the need for manual formatting and complex software interactions.

Core Features & Use Cases

  • Document Generation: Create professional Word documents with custom formatting, tables, lists, and headers/footers using JavaScript.
  • Content Editing: Modify existing .docx files, including accepting tracked changes, adding comments, and performing find-and-replace operations.
  • Use Case: Generate a quarterly report in .docx format with a table of contents, specific headings, and a company letterhead, all from a simple prompt.

Quick Start

Use the docx skill to create a new Word document with the title 'Project Proposal'.

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 custom formatting and tables from text?

To generate a Word document with custom formatting, this Skill uses the docx-js library to programmatically create .docx files featuring tables, lists, headers, and footers from text input. It builds professional documents without manual formatting.

Can I accept tracked changes and add comments to an existing .docx file?

Yes, you can accept tracked changes and add comments to an existing .docx file. The Skill modifies documents directly by processing tracked changes, inserting comments, and executing find-and-replace operations on existing content.

Can I extract content from a Word document without opening Microsoft Word?

You can extract content from a Word document without Microsoft Word by using this Skill's pandoc and Poppler dependencies. It reads .docx files programmatically, pulls out text content, and prepares it for further processing.

How do I modify an existing Word document using find-and-replace operations?

To modify an existing Word document using find-and-replace, the Skill parses the .docx file and executes targeted text replacements. It handles content editing programmatically alongside accepting tracked changes and adding comments.