docx

Create and edit Microsoft Word documents with tracked changes and comments.

445|61|Updated Nov 7, 2023
One-click install
npx skills add https://github.com/OpenAgentsInc/openagents --skill docx-openagentsinc
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: docx
Source: https://github.com/OpenAgentsInc/openagents/tree/main/skills/document-skills/docx
Command: npx skills add https://github.com/OpenAgentsInc/openagents --skill docx-openagentsinc

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires python-docx, and includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill automates complex Microsoft Word document editing, including legal redlining, content generation, and collaborative feedback. It significantly reduces manual effort in document management, ensuring consistency and accuracy across various versions and reviews.

Core Features & Use Cases

  • Content Generation & Editing: Programmatically create, modify, and format Word documents, inserting text, tables, images, and applying styles.
  • Tracked Changes & Comments: Manage insertions, deletions, and comments, enabling automated redlining and review processes crucial for legal and compliance workflows.
  • Document Analysis: Extract text, styles, and structural information for analysis, content repurposing, or conversion to other formats.
  • Use Case: A legal team needs to generate multiple versions of a contract with specific clauses added or removed based on client requirements. This skill can automate the document generation, apply tracked changes for review, and even add comments for specific sections, ensuring accuracy and saving hours of manual drafting.

Quick Start

To add a new paragraph to an existing Word document 'report.docx': from docx import Document; doc = Document('report.docx'); doc.add_paragraph('This is a new paragraph added by the skill.'); doc.save('updated_report.docx')