/documents-skills:docx-toolkitfrom documents-skills
Audits .docx files for heading hierarchy, comments, tracked changes, and style consistency using only standard library (zipfile + xml.etree). Useful for pre-handoff cleanup, contract review triage, or style guide enforcement.
Ships in documents-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
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, settle the inputs below. When one is missing or vague and would change the result, ask about it; when it wouldn't, use a sensible default and say which one you used.
Ask about the two or three inputs that matter most for this request, not the whole list. If the user wants a result straight away, produce it and state your assumptions at the top.
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 boxesIn Scope:
.docx files with scripts/docx_auditor.py, which parses OOXML with zipfile and xml.etree and needs no third-party packageOut of Scope:
.docx files, including accepting tracked changes or deleting comments; the tool only readslegal/contract-review/)marketing/copy-editing/)markdown-html/md-document/)Important Caveats:
assets/ by hand.legal/ skills for contract redlinesmarketing/copywriting/ for content reviewc-level-advisor/board-deck-builder for board-pack documentsWhat SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
4 skills in this plugin
/pdf-toolkitAudit PDF files for metadata leakage, page count, encryption, JavaScript, embedded files, and version. Use before sending a PDF externally, when redacting sensitive metadata, or running a PDF security review.
/pptx-toolkitAudit PowerPoint (.pptx) decks for slide count, text density, embedded images and fonts, hidden slides, speaker notes, and animation density. Use when reviewing a board deck, sales deck, or conference talk before sending.
/xlsx-toolkitAudit Microsoft Excel (.xlsx) workbooks for formula density, external references, named ranges, hidden sheets, and data validation. Use when reviewing a financial model, sharing a workbook externally, or checking for data leakage.
npx claudepluginhub borghei/claude-skills --plugin documents-skillsOther plugins' skills for the same job