This handles Word document creation, editing, and analysis through a combination of pandoc, docx-js, and a custom Python OOXML library. The real value is in the redlining workflow, which converts docs to markdown for planning changes, then implements them as proper tracked changes in the XML with batch processing and minimal edit patterns. If you're creating docs from scratch, it uses docx-js. For reading content, it leans on pandoc. For edits, especially on someone else's document or anything requiring professional review trails, it unpacks the DOCX, manipulates the XML directly with helper scripts, and repacks it. The batching strategy and emphasis on preserving RSIDs shows this was built for real document collaboration workflows, not just text replacement.

skills.sh installs
1.3K
GitHub stars
184
last updated
Aug 21, 2026

Install

$ npx -y skills add appautomaton/document-skills --skill docx --agent claude-code

Installs into .claude/skills of the current project.

Files

Word documents

You already know Word's features. This skill adds what you can't see from the code: a library that makes tracked changes and comments correctly, validation that catches untracked edits, a way to see pages as a reader will, and the docx-js and OOXML behaviours that silently produce broken files.

Running scripts

<skill> is the directory containing this file. Run bundled scripts by absolute path from the user's working directory, so relative paths to their files keep working:

uv run <skill>/ooxml/scripts/unpack.py contract.docx unpacked

Run Python you write with its dependencies declared, either uv run --with defusedxml script.py or a PEP 723 header. Run Node scripts as NODE_PATH=<skill>/node_modules node build.js; if <skill>/node_modules is missing, run npm install in <skill> once. Rendering pages needs LibreOffice (soffice) and poppler (pdftoppm); reading needs pandoc.

Choosing a workflow

Sponsors

Details

Repository
github.com/appautomaton/document-skills
Category
Office & Documents
First seen
May 16, 2026

More from appautomaton/document-skills

All 4
1jezweb avatargws-setupjezweb/claude-skillsSet up the Google Workspace CLI (gws) from scratch. Guides through GCP project creation, OAuth credentials, authentication, and installing 90+ agent skills for 1.1Kskills.sh installs
2myzy-ai avatardokie-ai-pptmyzy-ai/dokie-ai-pptdokie ai ppt986skills.sh installs
3ailabs-393 avatardocxailabs-393/ai-labs-claude-skillsComprehensive document creation, editing, and analysis with support for tracked changes, comments, formatting preservation, and text extraction. When Claude nee924skills.sh installs
4sanjay3290 avatargoogle-drivesanjay3290/ai-skillsInteract with Google Drive - search files, find folders, list contents, download files, upload files, create folders, move, copy, rename, and trash files. Use w875skills.sh installs
5aaronvanston avatarpresentation-designaaronvanston/skills-presentationsVisual design guidance for bold, minimal presentations. Provides layout patterns, typography hierarchy, color specifications, and slide composition rules. Use w819skills.sh installs
6apetta avataragent-xlsxapetta/agent-xlsxagent xlsx776skills.sh installs