docx

Create, edit, and extract text from .docx files with tracked changes.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires docx-js, pandoc, libreoffice, poppler, defusedxml, and includes scripts (resource) and assets (resource) components.

What problem does it solve?

This Skill offers robust support for creating, editing, analyzing, and converting .docx files with tracked changes, comments, formatting preservation, and text extraction. It streamlines document-related tasks for professionals and businesses.

Core Features & Use Cases

  • Document Creation & Editing: Build and modify documents with support for tracked changes and comments.
  • Formatting Preservation: Maintain complex formatting across document edits.
  • Text Extraction: Extract text from .docx files for analysis or conversion.
  • Use Case: Imagine you need to modify a complex contract, with extensive formatting and comments. This Skill allows you to perform the necessary edits while preserving the original layout and structure.

Quick Start

Create a new document with the docx skill by running: docx-js new --title "Sample Document Title" --content "This is a sample document."

Frequently Asked Questions about docx

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

FAQPage Schema
How do I extract text from a .docx file while preserving formatting?

To extract text from a .docx file while preserving formatting, you can use this skill to parse documents via docx-js and Poppler. It maintains complex layouts and structures during text extraction for legal or academic analysis.

Can I modify a .docx file with tracked changes and comments?

Yes, you can modify a .docx file with tracked changes and comments. This skill supports building and editing documents while retaining revisions and annotations, ensuring complex contract edits preserve original layouts.

What dependencies do I need to manipulate .docx documents programmatically?

To manipulate .docx documents programmatically, you need docx-js, pandoc, LibreOffice, Poppler, and defusedxml. These dependencies enable comprehensive document manipulation, formatting preservation, and file conversion.

Does LibreOffice work with pandoc for .docx file conversion and analysis?

LibreOffice works with pandoc for .docx file conversion and analysis by handling file manipulation and format transformations. Together they support comprehensive document creation, editing, and text extraction workflows.

What is the best way to edit complex legal documents with intricate formatting?

The best way to edit complex legal documents with intricate formatting is using this skill's docx-js integration. It ensures formatting preservation and tracked changes support across extensive contract modifications.

Why does my .docx document formatting break when extracting text?

Your .docx document formatting may break during text extraction if the tool lacks comprehensive layout preservation. This skill uses Poppler and docx-js to maintain complex structures and prevent formatting loss.