docx

Create, read, edit, and validate Word documents in DOCX format.

Updated Jul 1, 2026
One-click install
npx skills add https://github.com/jasrajtulsi/GRAD-SCOPE --skill docx-jasrajtulsi
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: docx
Source: https://github.com/jasrajtulsi/GRAD-SCOPE/tree/main/.claude/skills/docx
Command: npx skills add https://github.com/jasrajtulsi/GRAD-SCOPE --skill docx-jasrajtulsi

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill removes the friction of working with Word documents by handling reading, editing, formatting, and validation tasks that are difficult to do reliably by hand.

Core Features & Use Cases

  • Document Creation and Editing: Build polished .docx files and update existing documents without losing structure or formatting.
  • Tracked Changes and Comments: Work with redlines, accept changes, add comments, and preserve review workflows safely.
  • XML-Level Reliability: Unpack, inspect, repair, and repack DOCX packages so documents stay valid and open correctly.
  • Use Case: A team can convert a rough report into a professional Word document, then apply tracked changes and validate the final file before sharing.

Quick Start

Ask the docx skill to edit the attached Word document and return a clean, professionally formatted, validated version.

Frequently Asked Questions about docx

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

FAQPage Schema
How do I edit a Word document and preserve its original formatting?

Editing a Word document without losing formatting requires unpacking the DOCX XML structure, modifying the content, and repackaging it safely. This Skill handles document assembly, updates, and validation to ensure the final file opens correctly.

Can I accept tracked changes and add comments to a DOCX file programmatically?

Yes, working with tracked changes and comments in a DOCX file involves manipulating the underlying WordprocessingML structure. This Skill supports adding comments, managing redlines, and preserving review workflows for professional documents.

What is the best way to validate a DOCX file after modifying its XML?

Validating a DOCX file requires inspecting its internal XML structure and relationships to ensure WordprocessingML compliance. This Skill repairs and repackages DOCX files, guaranteeing documents stay valid and open correctly in office applications.

Does LibreOffice need to be installed to process Word documents reliably?

Processing Word documents reliably often relies on LibreOffice-assisted document handling for complex tasks. This Skill uses LibreOffice alongside XML-level manipulation to extract, edit, and validate DOCX files accurately.

How do I extract images and text from a corrupted DOCX package?

Extracting content from a corrupted DOCX package involves unpacking the file and inspecting its internal XML structure and relationships. This Skill handles extraction, image handling, and repackaging workflows to recover document data safely.