docx

Update or extract content from DOCX documents while preserving formatting and template structure.

63|12|Updated Mar 9, 2026
One-click install
npx skills add https://github.com/iBz-04/gloamy --skill docx-ibz-04
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: docx
Source: https://github.com/iBz-04/gloamy/tree/main/src/skills/assets/docx
Command: npx skills add https://github.com/iBz-04/gloamy --skill docx-ibz-04

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes assets (resource) components.

What problem does it solve?

The docx Skill helps you update and extract information from .docx files without breaking layout, styles, or structured content like tables, headings, and references.

Core Features & Use Cases

  • Template-safe document edits: Performs targeted changes while preserving styles, section order, and references.
  • Extraction and structured workflows: Reads document structure before editing and supports extraction, review-style updates, and generation workflows for Word-compatible outputs.
  • Guardrailed output handling: Recommends writing to a new file by default and doing a final verification pass for layout regressions (tables, images, fonts, pagination).

Quick Start

Use the docx skill to extract text and key structure from 'proposal.docx' and produce an updated 'proposal_updated.docx' with the requested section edits preserved.

Frequently Asked Questions about docx

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

FAQPage Schema
How do I edit a docx file without breaking the original formatting and styles?

To edit a docx file without breaking formatting, the skill performs structure-aware reading before modification, ensuring targeted changes preserve template styles, section order, and references.

Can I extract text and structure from a Word document for a review workflow?

Yes, you can extract text and structure from a Word document for a review workflow. The skill reads document structure first, supporting extraction, tracked-review style updates, and safe generation outputs.

What is the best way to update specific clauses in a Word document while preserving tables?

The best way to update specific clauses while preserving tables is using template-safe document edits. This approach performs targeted changes while maintaining structural integrity and references.

Does docx generation require pandoc and document renderers to validate output?

Yes, docx generation and extraction require dependency-based conversion and validation tooling such as pandoc and document renderers to ensure Word-compatible outputs and prevent layout regressions.

Why should I write to a new file when doing targeted edits on a Word document?

You should write to a new file when editing a Word document to avoid overwriting originals. This guardrailed output handling recommends a final verification pass for layout regressions.

How do I automate office document drafting for Word-compatible outputs?

You automate office document drafting by using the skill to generate Word-compatible outputs. It performs safe generation workflows, requiring structure-aware reading before any modification.