New advertisers: 50% off your first month with code FIRSTMONTHSee slots

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

skills.sh installs
1.8K
GitHub stars
849
last updated
Aug 21, 2026
View on GitHub

What it does

  • Covers text extraction via pandoc, raw OOXML access for comments and metadata, and new document creation through docx-js
  • Includes a Document library workflow for editing existing files, with unpack and pack scripts for round-tripping OOXML
  • Provides a batched redlining workflow that marks only changed text as tracked insertions and deletions, preserving original run RSIDs
  • Designed for reviewing contracts, legal, academic, and government documents where the default is redlining

Install

$ npx -y skills add tfriedel/claude-office-skills --skill docx -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

DOCX creation, editing, and analysis

Overview

A user may ask you to create, edit, or analyze the contents of a .docx file. A .docx file is essentially a ZIP archive containing XML files and other resources that you can read or edit. You have different tools and workflows available for different tasks.

Workflow Decision Tree

Reading/Analyzing Content

Use "Text extraction" or "Raw XML access" sections below

Creating New Document

Use "Creating a new Word document" workflow

Editing Existing Document

  • Your own document + simple changes Use "Basic OOXML editing" workflow

  • Someone else's document Use "Redlining workflow" (recommended default)

  • Legal, academic, business, or government docs Use "Redlining workflow" (required)

Reading and analyzing content

Text extraction

If you just need to read the text contents of a document, you should convert the document to markdown using pandoc. Pandoc provides excellent support for preserving document structure and can show tracked changes:

Details

Repository
github.com/tfriedel/claude-office-skills
Categories
Office Files & Slides, Writing & Content
First seen
May 16, 2026

More from tfriedel/claude-office-skills

All 4