docx
Installation
SKILL.md
Important: All
scripts/paths are relative to this skill directory. Run with:cd {this_skill_dir} && python scripts/...Or use thecwdparameter ofexecute_shell_command.
DOCX creation, editing, and analysis
Prerequisites
- docx (
npm install -g docx): new document creation - LibreOffice (
soffice):.doc->.docxconversion, tracked-changes acceptance, and PDF export - pandoc: text extraction
- pdftoppm (poppler-utils): document-to-image workflows
- If
pdftoppmis unavailable, a Python fallback path may usepdf2image. - On Windows, dependencies must be installed and available in
PATH; if missing, report the dependency issue and stop (do not keep retrying).
Overview
A .docx file is a ZIP archive containing XML files.