hwpx

hwpx is a skill for Claude Code, Codex from airmang/python-hwpx-automation. It costs 169 tokens per session (7,810 once invoked), scanned A, original, Apache-2.0.

A document tool for reading, editing, extracting, and automating Korean HWP and HWPX files. HWPX is a ZIP-based Korean word-processing format, while HWP is an older binary format.

In plain words
What is it for?
Use it to change formatting, insert pictures, fill templates, compare documents, create mail merges, and calculate table totals. Results are produced as HWPX files.
Why use it?
It lets you work with these files without relying on the Hancom word processor, while preserving the original HWP file and reporting content that could not be converted.

Skill for Claude CodeCodex

Which agent this was written for is unclear — built for openclaw. Also seen: mentions Claude Code; mentions Codex; built for openclaw.

Good fit Use it to change formatting, insert pictures, fill templates, compare documents, create mail merges, and calculate table totals. Results are produced as HWPX files.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/airmang/python-hwpx-automation/plugins-src
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add airmang/python-hwpx-automation --skill plugins-src
Clone the repo
git clone --depth 1 https://github.com/airmang/python-hwpx-automation

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for hwpx

README.md
[![agentmods](https://agentmods.dev/badge/skills/airmang/python-hwpx-automation/plugins-src/github.svg)](https://agentmods.dev/skills/airmang/python-hwpx-automation/plugins-src)
Your own site
<a href="https://agentmods.dev/skills/airmang/python-hwpx-automation/plugins-src"><img src="https://agentmods.dev/badge/skills/airmang/python-hwpx-automation/plugins-src/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for hwpx

Your own site · 80×15
<a href="https://agentmods.dev/skills/airmang/python-hwpx-automation/plugins-src"><img src="https://agentmods.dev/badge/skills/airmang/python-hwpx-automation/plugins-src.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 169 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 7,810 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00169 $0.07810
Opus 5.5 $0.00068 $0.03124
Sonnet 5.5 $0.00034 $0.01562
Haiku 4.5 $0.00017 $0.00781

Measured 4d ago against content hash dda5c9fe7ab0, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

hwpx scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 4d ago.

The scan reads SKILL.md. This mod also ships 14 executable files (demo/024-mixed-form/build_reference.py, demo/025-runtime-modularization/build_reference.py, examples/01_create_and_save.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins-src/SKILL.md · 240 lines

How it starts

The opening of the file, as written. The whole thing — 240 lines — stays where its author put it; the contents beside it link to each section on GitHub.

hwpx (HWPX / OWPML)

HWPX MCP 도구가 없는 환경(claude.ai 채팅, MCP 서버가 뜨지 않은 Claude Code): 이 스킬 폴더에 chat-engine.md가 있으면 그 문서를 먼저 읽고 그 절차대로 한다. 스킬에 든 python-hwpx 엔진을 불러와 Python으로 작업하며, 엔진을 따로 설치하거나 인터넷에서 받지 않는다.

.hwpx는 ZIP 기반 OWPML 문서이고, .hwp는 HWP 5.0 바이너리 문서다. .hwp는 입력 형식이다: 읽어서 .hwpx로 바꿔 작업한다. .hwp라는 이유만으로 거절하거나 한/글에서 .hwpx로 바꿔 오라고 하지 않는다.

  • 읽기·추출은 .hwp를 그대로 연다(get_document_info의 format: "hwp", hwpConversion).
  • 고칠 때는 먼저 copy_document로 .hwpx 사본을 만들고 그 사본을 고친다. 원본 .hwp는 건드리지 않고, 결과는 .hwpx로 낸다. 원본 경로를 편집 도구의 대상으로 주지 않는다.
  • 옮기지 못한 내용(hwpConversion, doc.conversion_report의 unconverted·dropped)과 Hwp5Error(암호·배포용·DRM)는 그대로 보고한다.
  • .hwp는 읽기만 한다. 결과를 .hwp로 쓰지 않는다(python-hwpx 7.0에서 .hwp 쓰기는 실험 기능이다). 사용자가 .hwp 파일을 원하면 결과 .hwpx를 한/글에서 열어 .hwp로 저장하도록 안내한다.

모든 작업은 python-hwpx-automation의 MCP 도구를 1차 경로로 사용한다. 새 설정은 정식 host-local key hwpx, launcher scripts/hwpx-automation-mcp, 콘솔 hwpx-automation-mcp를 사용한다. hwpx-mcp-server 이름과 launcher wrapper는 6.x 호환 표면이며 host key는 MCP 프로토콜 식별자가 아니다. MCP가 없을 때의 local Python(python-hwpx >= 7.0) 대안과 번들 스크립트는 references 문서에만 있다.

일반적인 읽기·편집·양식 채움·문서 생성처럼 여러 단계를 거치는 작업은 서버가 상태와 안전 정책을 강제하는 start_workflow를 1차 경로로 쓴다. get_workflow·continue_workflow로 진행하고, decision에서만 approve_workflow_decision을 호출한다. 중단·재개는 cancel_workflow·resume_workflow를 쓴다. 큰 결과의 resultRef는 get_workflow_result로 회수한다. typed 입력과 영수증 계약은 workflows-autonomous를 본다. primitive 도구는 workflow가 지원하지 않는 전문 작업 또는 진단용 escape hatch다. 단, 처음 보는 기존 문서의 semantic 구조를 탐색하고 본문·표 셀·기존 단순 머리글 story 또는 블록 이동·복사를 포함한 이종 편집을 한 번에 적용하는 요청은 get_document_node → query_document_nodes → apply_document_commands 경로를 쓴다. 지원되는 문서·하위 트리를 다른 HWPX로 이식할 때는 같은 경로로 source/target canonical path를 확정한 뒤 dump_document_blueprint → manifest의 unsupported/fidelity 검토 → replay_document_blueprint(dry-run → commit)를 쓴다.

기존 문서의 읽기/문안/적용 전환, 손편집 후 재조회, 허용 범위와 기준본 보존, Python·CLI·MCP 안전 가드는 기존 편집 안내를 따른다. 구조 검사 통과와 실제 한컴 화면 확인은 별도로 보고한다.

Read the full file on GitHub · 240 lines

Files

What ships with it

60 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 4d ago Changed dda5c9fe7ab0
  2. 9d ago First seen · 240 lines · 169 tokens per session scan A c1e8d8bfa529

Subscribe to this mod's changes

hwpx is a skill published in the GitHub repository airmang/python-hwpx-automation (70 stars, last pushed yesterday), licensed Apache-2.0. It adds 169 tokens to every session and 7,810 once invoked, about $0.0007 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-21.

Related

hwpx compared with skills from other repositories

hwpx next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
hwpxairmang/python-hwpx-automationSkill70yesterdayApache-2.0A169Claude Code, Codex
obsidian-vault-workflowaka-kika/kika-obsidian-mcpSkill2024d agoMITA0Claude Code, Codex
ai-hwp-readerrenovys/ai-hwp-readerSkill02mo agoMITA154Claude Code
ai-hwp-readerrenovys/ai-hwp-readerSkill02mo agoMITC0Claude Code
office-documentsTencentCloud/OctopSkill13ktodayMITA44Claude Code, Codex
pptx-generationaipoch/open-scienceSkill5.6ktodayApache-2.0A87Claude Code, Codex
pdf-generationaipoch/open-scienceSkill5.6ktodayApache-2.0A98Claude Code, Codex