Hermes Agent skill for inspecting, generating, editing, validating, and repackaging Hancom HWPX documents using a safe ZIP/XML OWPML workflow.
SKILL.md— main Hermes skill instructions.scripts/— helper scripts for validation, extraction, seed-based creation, placeholder filling, equation/table/image insertion, and existing-object replacement.references/— workflow and helper-script reference docs.
- HWPX-only ZIP/XML workflow; binary
.hwpis read-only/fallback territory. - Clone-and-mutate from known-good seed/template files.
- Preserve styles, geometry, object references, and package metadata when possible.
- Use real
hp:equationobjects for substantive formulas. - Treat
rhwprendering as weak smoke check only; final visual authority is Hancom Office/PDF. - For generated documents, verify requested format coverage, content density, equation fidelity, and whitespace/readability before returning.
Copy this directory into your Hermes skills directory:
mkdir -p ~/.hermes/skills/productivity
cp -a . ~/.hermes/skills/productivity/hwpx-document-processingThen start a fresh Hermes session and load hwpx-document-processing.
python scripts/validate_hwpx.py your-file.hwpx
python scripts/extract_hwpx_text.py your-file.hwpx --format json -o extract.json