Loading...
Loading...
Use when the task involves reading, creating, or editing `.docx` documents, especially when formatting or layout fidelity matters; prefer `python-docx` plus the bundled `scripts/render_docx.py` for visual checks.
npx skill4agent add ninehills/skills docsofficepdftoppmscripts/render_docx.pypdf2imagepython-docxpython-docxtmp/docs/output/doc/uvuv pip install python-docx pdf2imageuvpython3 -m pip install python-docx pdf2image# macOS (Homebrew)
brew install libreoffice poppler
# Ubuntu/Debian
sudo apt-get install -y libreoffice poppler-utilssoffice -env:UserInstallation=file:///tmp/lo_profile_$$ --headless --convert-to pdf --outdir $OUTDIR $INPUT_DOCXpdftoppm -png $OUTDIR/$BASENAME.pdf $OUTDIR/$BASENAMEpython3 scripts/render_docx.py /path/to/file.docx --output_dir /tmp/docx_pages