docx

Create, edit, and analyze .docx files with tracked changes and comments.

5|2|Updated Jan 24, 2026
One-click install
npx skills add https://github.com/s1366560/agi-demos --skill docx-s1366560
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: docx
Source: https://github.com/s1366560/agi-demos/tree/main/.memstack/skills/docx
Command: npx skills add https://github.com/s1366560/agi-demos --skill docx-s1366560

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill streamlines complex document workflows by enabling programmatic creation, editing, and analysis of .docx files, including sophisticated handling of tracked changes and comments.

Core Features & Use Cases

  • Document Creation: Generate new .docx files from scratch using JavaScript/TypeScript.
  • Content Editing: Modify existing documents with basic or advanced OOXML manipulation.
  • Tracked Changes (Redlining): Implement precise tracked changes for document review and collaboration.
  • Comment Management: Add, reply to, and manage comments within documents.
  • Text Extraction & Analysis: Convert .docx to markdown or extract raw XML for detailed analysis.
  • Use Case: Automatically generate a legal contract draft, apply specific formatting, insert clauses with tracked changes, and add reviewer comments, all through a single command.

Quick Start

Use the docx skill to create a new document with the title "Quarterly Report" and a heading "Introduction".

Frequently Asked Questions about docx

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

FAQPage Schema
How do I programmatically add tracked changes to a .docx file for document redlining?

To add tracked changes for redlining, you can manipulate .docx files programmatically using Python or JavaScript libraries. This Skill supports precise redline implementation, allowing automated insertion of tracked revisions for professional document review and collaboration workflows.

Can I extract text and convert .docx files to markdown for analysis?

Yes, you can extract text and convert .docx files to markdown for analysis. The Skill facilitates detailed text extraction and raw XML manipulation, enabling you to convert Word document content into markdown or extract raw OOXML structures for deep document analysis.

What's the best way to create Word documents from scratch using JavaScript or Python?

The best way to create Word documents from scratch is by using this Skill's programmatic generation capabilities via JavaScript or Python. It enables comprehensive document creation, allowing you to generate new .docx files with specific formatting, headings, and structured content automatically.

How do I manage and insert comments into existing .docx files programmatically?

You can manage and insert comments into existing .docx files programmatically through advanced OOXML manipulation. The Skill provides comment management features that allow you to add, reply to, and organize reviewer comments within your Word documents during automated batch processing.

Does this approach preserve formatting when editing existing OOXML documents?

Yes, formatting is preserved when editing existing OOXML documents. The Skill's advanced manipulation capabilities ensure that original document formatting, styles, and structures are maintained while you apply programmatic text edits, insert clauses, or manage tracked changes.