borghei/docx-toolkit
> Audit Microsoft Word (.docx) documents for heading hierarchy, comments, tracked changes, broken cross-references, and style consistency. Use when reviewing a contract draft, preparing a document for handoff, or enforcing a style guide.
npx skills add https://github.com/borghei/Claude-Skills --skill docx-toolkit
Audit .docx files using the standard library only — no python-docx required. Reads OOXML directly with zipfile + xml.etree.
docx, Word, Microsoft Word, document, document review, comments, tracked changes, redline, headings, style guide, word count, document audit
Before running the audit, confirm these inputs. If any is unknown or vague, ASK — do not assume:
Stop rule: ask only the 2-3 that most change the output. If the user says "just draft it," proceed and list your assumptions at the top of the artifact.
python scripts/docx_auditor.py contract.docx
Outputs: word count, paragraph count, heading hierarchy, comment count, tracked-changes status, hyperlink count, list of unique paragraph styles used.
Goal: Catch the issues that embarrass a sender — leftover comments, unresolved track changes, broken heading hierarchy — before the document leaves.
Steps:
python scripts/docx_auditor.py document.docxTime Estimate: 5-15 minutes per document.
Goal: Quantify how much rework a returned contract needs before reading it line-by-line.
Steps:
.docxreferences/docx_review_checklist.md for the actual content reviewTime Estimate: 1 minute per document for triage.
Goal: Detect documents drifting from your style guide before they ship to a customer.
Steps:
assets/style_compliance_template.md)Time Estimate: 2-5 minutes per document.
Reads a .docx file as a ZIP archive and parses OOXML directly. No external dependencies.
# Human-readable
python scripts/docx_auditor.py document.docx
# JSON
python scripts/docx_auditor.py document.docx --json
Reports:
Limits: This tool reads existing docx files. For *generating* docx, use the templates in assets/ and edit in Word, or install python-docx separately.
references/docx_review_checklist.md — Pre-handoff checklist; common rework triggers; mistakes that survive automated auditsassets/style_compliance_template.md — Format for declaring allowed paragraph stylesassets/handoff_checklist_template.md — Pre-send checklist with sign-off boxeslegal/ skills for contract redlinesmarketing/copywriting/ for content reviewc-level-advisor/board-deck-builder for board-pack documentsTake borghei/docx-toolkit from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.