Back to Skills

docx

Comprehensive document creation, editing, and analysis with support for tracked changes, comments, formatting preservation, and text extraction. When Claude needs to work with professional documents (.docx files) for: (1) Creating new documents, (2) Modifying or editing content, (3) Working with tracked changes, (4) Adding comments, or any other document tasks

9stars3forksUpdated 2/21/2026

Security Assessment

Medium Risk(60/100)

Detected risks:

Privilege Escalation([SKILL.md] sudo)
Security Score60/100

About docx

The docx skill provides comprehensive capabilities for creating, editing, and analyzing Word documents (.docx files). It supports working with tracked changes, comments, formatting preservation, and text extraction. This skill is designed to assist users with a variety of document-related tasks, including generating new documents from scratch, modifying existing ones, and extracting key information such as text or metadata. It simplifies handling professional documents that require attention to detail and document integrity, such as legal, academic, business, and government files.

FAQ

How do I extract text from a .docx document?

You can extract text from a .docx file by converting it to markdown using Pandoc. This will preserve document structure and tracked changes. The command to use is: `pandoc --track-changes=all path-to-file.docx -o output.md`.

Can I edit someone else's .docx document with tracked changes?

Yes, you should use the 'Redlining workflow' for editing someone else's document. This workflow is also recommended for legal, academic, business, or government documents.

What tools are required for creating a new .docx document?

To create a new .docx document, you should use 'docx-js', a JavaScript/TypeScript library. You will need to fully read the 'docx-js.md' file for syntax, formatting rules, and best practices before proceeding with document creation.

Is there a requirement to read a file before editing or creating a document?

Yes, before editing or creating documents, it is mandatory to read the relevant documentation file completely. For creating new documents, read 'docx-js.md', and for editing, read 'ooxml.md' in full.

All Files

4 files
SKILL.md9.9 KB
View
LICENSE.txt1.4 KB
View
ooxml.md23.0 KB
View
docx-js.md16.1 KB
View

Install docx

Download and extract the skill files to your .claude/skills/ directory.

Quick Setup:

  1. Copy the skill folder to .claude/skills/
  2. Claude will automatically detect and use the skill