docx

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

Updated Jan 10, 2026
One-click install
npx skills add https://github.com/robinbarvaag/poynt --skill docx-robinbarvaag
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: docx
Source: https://github.com/robinbarvaag/poynt/tree/main/.github/skills/docx
Command: npx skills add https://github.com/robinbarvaag/poynt --skill docx-robinbarvaag

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill streamlines the creation, editing, and analysis of professional documents, ensuring accuracy and preserving complex formatting.

Core Features & Use Cases

  • Document Creation: Generate new .docx files from scratch using JavaScript/TypeScript.
  • Content Editing: Modify existing .docx files, including tracked changes and comments.
  • Data Extraction: Extract text and raw XML content from .docx files for analysis.
  • Use Case: Automatically update a legal contract by applying specific changes, adding comments, and ensuring all tracked revisions are correctly formatted.

Quick Start

Use the docx skill to convert the attached file 'report.docx' to markdown with tracked changes.

Frequently Asked Questions about docx

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

FAQPage Schema
How do I edit a .docx file and add tracked changes programmatically?

To edit a .docx file with tracked changes, this Skill uses the OOXML Document library to modify XML content directly, ensuring revisions and comments are correctly formatted while preserving the original document structure.

Can I extract text from a .docx file while preserving formatting?

Yes, you can extract text and raw XML content from .docx files using pandoc, which converts document content into markdown while maintaining structural integrity for downstream analysis and processing.

What is the best way to generate a new .docx document from scratch?

The best way to generate a new .docx document is using the docx-js JavaScript library, which allows for programmatic creation of professional files with complex formatting and structural elements.

Do I need LibreOffice installed to manage .docx files with this Skill?

Yes, LibreOffice is a required dependency alongside pandoc and poppler-utils to handle document conversion, rendering, and extraction tasks for professional .docx file management.

How does XML manipulation help with applying redlining to legal contracts?

XML manipulation directly alters the OOXML structure of .docx files, allowing precise application of tracked changes and comments to legal contracts without corrupting complex formatting.