Safely read, edit, and convert HWPX (Hangul / ํ๊ธ .hwpx) word-processor files with Python + lxml without corrupting them. Use this whenever a task involves a .hwpx file, a ํ๊ธ / Hangul / ํ์ปด (Hancom Office) document, HWPML, or a Korean government / academic / ๋
ผ๋ฌธ / ๋ณด๊ณ ์ document โ including reading or extracting text and tables (e.g. exporting complex merged tables to Excel / .xlsx), editing paragraphs, tables, images, equations, footnotes/endnotes, or memos, adding or positioning captions, fixing layout (orphaned headings, blank pages, columns), building a table of contents, or repackaging the zip. Also trigger when a ํ๊ธ file "won't open" / "is corrupted" (ํ์ผ์ด ๊นจ์ก๋ค / ํ๊ธ์์ ์ ์ด๋ฆฐ๋ค), or when the user hands you a legacy .hwp (this skill detects it and tells them to convert to .hwpx first). Trigger even if the user only says "edit this ํ๊ธ file" or ".hwpx" and doesn't mention the internals โ naive edits (re-zipping, stale line caches, cloned ids) make ํ๊ธ refuse to open the file.
2026-07-20