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.
Utility skill
Read, create, or edit .docx files while preserving layout quality.
python-docx for structured edits and document creation.Record one Markdown log per run:
export CODEX_HOME="${CODEX_HOME:-$HOME/.codex}"
export SKILL_LOGGER="$CODEX_HOME/skills/fitgpt-dev-orchestrator/scripts/skill_run_log.py"
RUN_LOG=$(python3 "$SKILL_LOGGER" --skill "doc" --action "process <docx-task>" --status started)
# ...run the document task...
python3 "$SKILL_LOGGER" --skill "doc" --action "process <docx-task>" --status success --log-file "$RUN_LOG"
# on failure: use --status failure
scripts/render_docx.py or DOCX -> PDF -> PNG when tools are available.python-docx.tmp/docs/ for intermediate files.output/doc/ in this repo.python-docx, optionally pdf2imagescripts/render_docx.py, soffice, pdftoppm