LogoAwesome Skills
  • Search
  • Category
  • Tag
  • Blog
LogoAwesome Skills
LogoAwesome Skills

Discover Open-Source Agent Skills for AI Coding Assistants

Product

  • Search
  • Category
  • Tag
  • Blog

Resources

  • Claude Skill Docs
  • Antigravity Skills Docs

Tools

  • Claude Code
  • OpenCode
  • Cursor
  • Codex
  • Antigravity

Company

  • Privacy Policy
  • Terms of Service
  • Sitemap

©2026 Awesome Skills. All rights reserved.

Privacy PolicyTerms
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

784stars116forksUpdated 7/14/2026
#docx#document-automation#tracked-changes#ooxml#python#javascript

Security Assessment

Medium Risk(60/100)

Detected risks:

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

About docx

docx provides comprehensive creation, editing, and analysis of Microsoft Word (.docx) documents, including tracked changes, comments, formatting preservation, and text extraction. It solves the challenge that a .docx file is really a ZIP archive of XML files, giving Claude structured tools and workflows for each task type rather than treating documents as opaque. A workflow decision tree routes each request: reading/analyzing content, creating a new document, editing your own document with simple changes, or redlining someone else's document, with redlining recommended as the default and required for legal, academic, business, or government docs.

For reading, it converts documents to markdown with pandoc (including --track-changes=accept/reject/all), or for comments, complex formatting, structure, embedded media, and metadata it unpacks raw XML with python ooxml/scripts/unpack.py, working with key files like word/document.xml and word/comments.xml and tracked-change tags <w:ins> and <w:del>. For creating new documents it uses docx-js (JavaScript/TypeScript with Document, Paragraph, TextRun components, exported via Packer.toBuffer()), mandating a complete read of docx-js.md first. For editing existing documents it uses a Python Document library, requiring a full read of ooxml.md, then unpack, script, and pack (python ooxml/scripts/pack.py). The redlining workflow plans tracked changes in markdown, groups them into batches of 3-10, and stresses minimal, precise edits that mark only changed text while preserving original run RSIDs. The skill ships OOXML schema files, validation scripts, and comment templates.

Target users are people who need Claude to produce or revise professional Word documents at scale, especially reviewers marking up contracts or formal documents with tracked changes. Stated requirements include reading the referenced docs in full without range limits, using location methods other than markdown line numbers to find changes in XML, and re-grepping word/document.xml immediately before each script because line numbers change after every run.

FAQ

When should I use the redlining workflow versus basic editing?

Use basic OOXML editing for your own document with simple changes. Use the redlining (tracked changes) workflow as the recommended default when editing someone else's document, and it is required for legal, academic, business, or government documents.

How do I create a brand new Word document?

Use docx-js, a JavaScript/TypeScript approach with Document, Paragraph, and TextRun components, exporting as .docx via Packer.toBuffer(). You must first read the entire docx-js.md file (about 500 lines) with no range limits before creating the document.

How is text extracted from a document?

For reading text, convert the document to markdown with pandoc, e.g. pandoc --track-changes=all path-to-file.docx -o output.md, with options accept, reject, or all. For comments, complex formatting, structure, media, or metadata, unpack the raw XML instead using python ooxml/scripts/unpack.py.

What is the principle for making tracked changes?

Make minimal, precise edits: only mark text that actually changes, breaking replacements into unchanged text plus deletion plus insertion plus unchanged text, and preserve the original run's RSID by reusing the original <w:r> element for unchanged text. Group related changes into batches of 3-10 and test each batch.

How are edits located within the document XML?

Use location methods such as section/heading numbers, numbered paragraph identifiers, grep patterns with unique surrounding text, or document structure. Do NOT use markdown line numbers, and always grep word/document.xml immediately before writing a script because line numbers change after each script run.

All Files

58 files
ooxml/schemas/ISO-IEC29500-4_2016/shared-relationshipReference.xsd1.3 KB
View
ooxml/schemas/ISO-IEC29500-4_2016/vml-main.xsd25.5 KB
View
ooxml/schemas/ISO-IEC29500-4_2016/vml-presentationDrawing.xsd0.5 KB
View
ooxml/schemas/ISO-IEC29500-4_2016/vml-wordprocessingDrawing.xsd3.9 KB
View
ooxml/schemas/ISO-IEC29500-4_2016/xml.xsd4.5 KB
View
ooxml/schemas/microsoft/wml-2010.xsd25.9 KB
View
ooxml/schemas/microsoft/wml-2018.xsd0.9 KB
View
ooxml/schemas/microsoft/wml-cid-2016.xsd1.0 KB
View
ooxml/schemas/microsoft/wml-symex-2015.xsd0.7 KB
View
ooxml/scripts/unpack.py1.0 KB
View
docx-js.md16.1 KB
View
ooxml/schemas/ecma/fouth-edition/opc-contentTypes.xsd1.9 KB
View
ooxml/schemas/ecma/fouth-edition/opc-digSig.xsd2.8 KB
View
ooxml/schemas/ISO-IEC29500-4_2016/dml-chart.xsd73.2 KB
View
ooxml/schemas/ISO-IEC29500-4_2016/dml-diagram.xsd50.1 KB
View
ooxml/schemas/ISO-IEC29500-4_2016/dml-main.xsd148.5 KB
View
ooxml/schemas/ISO-IEC29500-4_2016/dml-spreadsheetDrawing.xsd8.7 KB
View
ooxml/schemas/ISO-IEC29500-4_2016/pml.xsd81.7 KB
View
ooxml/schemas/ISO-IEC29500-4_2016/shared-bibliography.xsd7.2 KB
View
ooxml/schemas/ISO-IEC29500-4_2016/shared-customXmlDataProperties.xsd1.2 KB
View
ooxml/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesCustom.xsd2.5 KB
View
ooxml/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesVariantTypes.xsd7.3 KB
View
ooxml/scripts/validation/__init__.py0.3 KB
View
ooxml.md22.8 KB
View
ooxml/schemas/ecma/fouth-edition/opc-coreProperties.xsd2.5 KB
View
ooxml/schemas/ecma/fouth-edition/opc-relationships.xsd1.3 KB
View
ooxml/schemas/ISO-IEC29500-4_2016/dml-chartDrawing.xsd6.8 KB
View
ooxml/schemas/ISO-IEC29500-4_2016/dml-lockedCanvas.xsd0.6 KB
View
ooxml/schemas/ISO-IEC29500-4_2016/dml-picture.xsd1.2 KB
View
ooxml/schemas/ISO-IEC29500-4_2016/dml-wordprocessingDrawing.xsd14.4 KB
View
ooxml/schemas/ISO-IEC29500-4_2016/shared-additionalCharacteristics.xsd1.2 KB
View
ooxml/schemas/ISO-IEC29500-4_2016/shared-commonSimpleTypes.xsd6.2 KB
View
ooxml/schemas/ISO-IEC29500-4_2016/shared-customXmlSchemaProperties.xsd0.9 KB
View
ooxml/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesExtended.xsd3.4 KB
View
ooxml/schemas/ISO-IEC29500-4_2016/shared-math.xsd22.8 KB
View
ooxml/schemas/ISO-IEC29500-4_2016/sml.xsd236.6 KB
View
ooxml/schemas/ISO-IEC29500-4_2016/vml-officeDrawing.xsd24.7 KB
View
ooxml/schemas/ISO-IEC29500-4_2016/vml-spreadsheetDrawing.xsd5.6 KB
View
ooxml/schemas/ISO-IEC29500-4_2016/wml.xsd167.4 KB
View
ooxml/schemas/mce/mc.xsd3.1 KB
View
ooxml/schemas/microsoft/wml-2012.xsd3.7 KB
View
ooxml/schemas/microsoft/wml-cex-2018.xsd1.7 KB
View
ooxml/schemas/microsoft/wml-sdtdatahash-2020.xsd0.6 KB
View
ooxml/scripts/pack.py5.5 KB
View
ooxml/scripts/validate.py1.9 KB
View
ooxml/scripts/validation/base.py39.0 KB
View
ooxml/scripts/validation/pptx.py12.0 KB
View
scripts/__init__.py0.1 KB
View
scripts/templates/comments.xml2.6 KB
View
scripts/templates/commentsExtensible.xml2.7 KB
View
ooxml/scripts/validation/docx.py9.8 KB
View
ooxml/scripts/validation/redlining.py10.9 KB
View
scripts/document.py48.9 KB
View
scripts/templates/commentsExtended.xml2.6 KB
View
scripts/templates/commentsIds.xml2.6 KB
View
scripts/utilities.py13.4 KB
View
scripts/templates/people.xml0.1 KB
View
SKILL.md9.9 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

Repository

tfriedel/claude-office-skills

Related Skills

research

448

secops-detection-engineering

21,346

qdrant-monitoring

259

project-architecture

3