docx

Create, edit, and validate .docx Word documents with OOXML handling.

Updated Jun 5, 2026
One-click install
npx skills add https://github.com/forgefabrik/agent-bigbrother --skill docx-forgefabrik
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: docx
Source: https://github.com/forgefabrik/agent-bigbrother/tree/main/.agents/skills/docx
Command: npx skills add https://github.com/forgefabrik/agent-bigbrother --skill docx-forgefabrik

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires defusedxml, lxml, libreoffice, git, gcc, and includes scripts (resource) components.

What problem does it solve?

This Skill removes the friction of working with Word files by making it easy to create, read, edit, and validate .docx documents without manually wrestling with XML or broken formatting.

Core Features & Use Cases

  • Document creation: Generate polished Word documents with headings, tables, images, headers, footers, lists, hyperlinks, and page layout controls.
  • Document editing: Unpack an existing .docx, update the XML safely, and repack it while preserving formatting and relationships.
  • Review workflows: Accept tracked changes, add comments and replies, and handle redlines in professional editing workflows.
  • Validation and repair: Check OOXML structure, unique IDs, content types, namespaces, whitespace preservation, and comment markers, with automated fixes for common issues.
  • Use case: Turn a messy draft, report, memo, or letter into a clean, properly formatted Word file ready to share.

Quick Start

Ask the skill to create, edit, convert, or validate a Word document and specify the exact formatting or change you want.

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 tables and images programmatically?

To create a Word document with tables and images, this Skill generates .docx files by constructing valid OOXML structures, handling image placement, and applying professional page layout controls automatically.

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

You can accept tracked changes and add comments to a .docx file by unpacking the document, manipulating the underlying XML to resolve redlines and insert comment markers, and repacking it safely.

Why does editing Word document XML break my formatting and relationships?

Editing Word document XML breaks formatting when whitespace, unique IDs, or content types are corrupted. This Skill validates OOXML structure and relationships, applying automated fixes to preserve document integrity.

Does LibreOffice work with .docx conversion and validation workflows?

LibreOffice is integrated as a backed conversion utility within this Skill, enabling reliable .docx format conversions while separate validation checks ensure OOXML schema compliance and correct namespaces.

What is OOXML-aware unpacking and repacking for Word files?

OOXML-aware unpacking and repacking is the process of extracting a .docx file into its XML components, editing the content while preserving namespaces and whitespace, and re-zipping it into a valid document.