docx

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

Updated Dec 14, 2025
One-click install
npx skills add https://github.com/71261121/auto-jarvis- --skill docx-71261121
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: docx
Source: https://github.com/71261121/auto-jarvis-/tree/main/skills/docx
Command: npx skills add https://github.com/71261121/auto-jarvis- --skill docx-71261121

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires python-docx, pandoc, libreoffice, poppler-utils, defusedxml, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill streamlines the creation, modification, and analysis of professional Word documents (.docx files), eliminating the need for manual intervention in complex document tasks.

Core Features & Use Cases

  • Document Creation: Generate new Word documents from scratch using JavaScript/TypeScript with docx-js.
  • Content Editing: Modify existing documents, including adding comments, tracked changes, and preserving formatting.
  • Data Analysis: Extract text content and raw XML for in-depth analysis.
  • Use Case: Automatically generate a client proposal document with specific formatting, tables, and tracked changes based on provided data.

Quick Start

Use the docx skill to create a new document with the title 'Project Proposal'.

Frequently Asked Questions about docx

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

FAQPage Schema
How do I add tracked changes and comments to an existing Word document programmatically?

You can add tracked changes and comments to an existing Word document through direct OOXML manipulation. This Skill supports specific workflows for redlining and comment addition while preserving the original document formatting.

Can I generate a new Word document from scratch using JavaScript?

Yes, you can generate a new Word document from scratch using JavaScript or TypeScript. The Skill leverages the docx-js library to create professional .docx files complete with specific formatting and tables.

How do I extract text and raw XML from a .docx file for data analysis?

You extract text content and raw XML from a .docx file for in-depth analysis using this Skill's data analysis capabilities. It parses the document structure to provide both readable text and the underlying OOXML markup.

Does this Skill require LibreOffice and pandoc to edit Word documents?

The Skill depends on python-docx, pandoc, libreoffice, poppler-utils, and defusedxml to provide its full document creation, editing, and analysis capabilities for .docx files. These dependencies support format conversion and secure XML parsing.

What is the best way to preserve formatting when modifying an existing .docx file?

The best way to preserve formatting when modifying an existing .docx file is through direct OOXML manipulation. This Skill modifies existing documents at the XML level, ensuring original formatting remains intact while adding content or tracked changes.