docx

Create, edit, and analyze Word documents via XML and JavaScript.

145|36|Updated Feb 26, 2026
One-click install
npx skills add https://github.com/w95/awesome-claude-corporate-skills --skill docx-w95
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: docx
Source: https://github.com/w95/awesome-claude-corporate-skills/tree/main/13-document-processing/docx
Command: npx skills add https://github.com/w95/awesome-claude-corporate-skills --skill docx-w95

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires docx, pandoc, pdfplumber, pdf2image, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill streamlines the creation, editing, and analysis of Microsoft Word documents (.docx files), ensuring professional formatting and efficient content management.

Core Features & Use Cases

  • Document Creation: Generate new .docx files with custom formatting, tables, lists, images, and headers/footers using JavaScript.
  • Document Editing: Modify existing .docx files by unpacking XML, editing content, and repacking, including handling tracked changes and comments.
  • Content Extraction & Conversion: Extract text, convert documents to other formats (like PDF), and accept tracked changes.
  • Use Case: Automatically generate a client-ready proposal document with a table of contents, specific branding, and pre-defined sections, then accept all tracked changes before sending.

Quick Start

Use the docx skill to create a new Word document with a title, a heading, and a paragraph of text.

Frequently Asked Questions about docx

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

FAQPage Schema
How do I programmatically create and format Word documents?

You can create and format Word documents by using JavaScript libraries like docx-js to programmatically generate .docx files with custom formatting, tables, lists, images, and headers.

How do I accept tracked changes in an existing .docx file?

To accept tracked changes in a .docx file, the Skill unpacks the document's underlying XML structure, modifies the content directly, and repacks it to finalize the edits.

What dependencies are required to convert .docx files to PDF?

Converting .docx files to PDF requires installing pandoc, LibreOffice, and Poppler as underlying dependencies to handle the document extraction and format transformation processes.

Can I extract text and content from Word documents without losing formatting?

Yes, you can extract text and content from Word documents by leveraging the programmatic manipulation of XML structures to parse and pull data while preserving the original formatting.

Is manipulating XML directly the best way to edit Word documents?

Manipulating XML directly is a highly advanced approach for editing Word documents, allowing granular control over tracked changes and comments that high-level wrappers often cannot access.

Do I need JavaScript knowledge to generate .docx files with this tool?

Yes, generating new Word documents requires JavaScript knowledge to utilize the docx-js library for defining document structures, custom formatting, and branding elements.