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.
npx skills add airmang/python-hwpx-automation --skill skillgit clone --depth 1 https://github.com/airmang/python-hwpx-automationWrote 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.
[](https://agentmods.dev/skills/airmang/python-hwpx-automation/skill)<a href="https://agentmods.dev/skills/airmang/python-hwpx-automation/skill"><img src="https://agentmods.dev/badge/skills/airmang/python-hwpx-automation/skill/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.
<a href="https://agentmods.dev/skills/airmang/python-hwpx-automation/skill"><img src="https://agentmods.dev/badge/skills/airmang/python-hwpx-automation/skill.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00080 | $0.02384 |
| Opus 5.5 | $0.00032 | $0.00954 |
| Sonnet 5.5 | $0.00016 | $0.00477 |
| Haiku 4.5 | $0.00008 | $0.00238 |
Grade A, and why
hwpx scanned grade A with 1 finding 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 8d ago.
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.
Runs shell commandslowCapability
Expected in a hook, worth knowing in a rule or an instructions file.
found = subprocess.run( How it starts
The opening of the file, as written. The whole thing — 120 lines — stays where its author put it; the contents beside it link to each section on GitHub.
hwpx (ChatGPT용 · 스킬 {{WEB_VERSION}})
.hwpx는 ZIP 안에 OWPML XML이 든 한/글 문서이고, .hwp는 HWP 5.0 바이너리다. 이 스킬은 한컴 프로그램 없이
python-hwpx 엔진으로 두 형식을 같은 문서 모델로 다룬다. 이 환경에는 MCP 도구(start_workflow 등)가 없다. 모든 작업은 Python 도구로 한다.
1. 시작 — 대화마다 한 번
Python 도구에서 아래 블록을 그대로 실행한다. 스킬 디렉터리(이 SKILL.md가 있는 곳)를 이미 알면
SKILL_DIR에 그 경로를 문자열로 적는다.
import importlib, json, os, site, subprocess, sys
SKILL_DIR = None
if SKILL_DIR is None:
found = subprocess.run(
["find", "/", "-maxdepth", "8", "-name", "skill-manifest.json", "-path", "*hwpx*", "-not", "-path", "/proc/*"],
capture_output=True, text=True, timeout=120,
).stdout.split()
SKILL_DIR = os.path.dirname(found[0]) if found else None
if SKILL_DIR is None:
raise SystemExit("스킬 파일을 찾지 못했다. 사용자에게 알리고 멈춘다.")
boot = subprocess.run([sys.executable, os.path.join(SKILL_DIR, "scripts", "bootstrap.py")],
capture_output=True, text=True, timeout=900)
lines = boot.stdout.strip().splitlines()
status = json.loads(lines[-1]) if lines else {"ok": False, "error": boot.stderr[-800:]}
print(json.dumps(status, ensure_ascii=False, indent=1))
if not status.get("ok"):
raise SystemExit("설치 실패: 위 JSON을 사용자에게 그대로 보여 주고 멈춘다.")
importlib.invalidate_caches()
user_site = site.getusersitepackages()
if os.path.isdir(user_site) and user_site not in sys.path:
sys.path.insert(0, user_site)
os.environ["HWPX_AUTOMATION_WORKSPACE_ROOTS"] = "/mnt/data"
import hwpx
assert hwpx.__version__ == status["expected"]["core"], hwpx.__version__
AUTOMATION = bool(status.get("automation", {}).get("ok"))
if AUTOMATION:
import hwpx_automation
assert hwpx_automation.__version__ == status["expected"]["automation"], hwpx_automation.__version__
print("준비 완료: python-hwpx", hwpx.__version__, "/ 새 문서 만들기(W5)", "가능" if AUTOMATION else "불가")
- 설치는 스킬에 든 파일만 쓰고 인터넷에 접속하지 않는다. 실패하면 다른 버전을 받거나 다른 방법으로
설치하지 않는다. 스킬에는
lxml이 실려 있지 않아 코드 실행 환경에 있어야 한다. 없으면 설치가 실패하고,pydantic(2.11 이상)이 없으면AUTOMATION이 거짓이 된다. AUTOMATION이 거짓이면 W1·W2·W4만 쓸 수 있다(W1은 표 모양 없는 일반 글로 읽는다). 표 라벨 칸 채우기(W3)와 새 문서 요청에는 "이 환경에서는 그 기능을 쓸 수 없다"고 답한다.
What ships with it
4 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.
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.
- 8d ago Changed 9b0b68024b09
- 9d ago First seen · 120 lines · 80 tokens per session scan A a0dc18a665d1
hwpx is a skill published in the GitHub repository airmang/python-hwpx-automation (70 stars, last pushed yesterday), licensed Apache-2.0. It adds 80 tokens to every session and 2,384 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 1 finding (runs shell commands). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-21.
hwpx compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| hwpxairmang/python-hwpx-automation | Skill | 70 | yesterday | Apache-2.0 | A | 80 | Codex |
| obsidian-vault-workflowaka-kika/kika-obsidian-mcp | Skill | 20 | 23d ago | MIT | A | 0 | Claude Code, Codex |
| ai-hwp-readerrenovys/ai-hwp-reader | Skill | 0 | 2mo ago | MIT | A | 154 | Claude Code |
| ai-hwp-readerrenovys/ai-hwp-reader | Skill | 0 | 2mo ago | MIT | C | 0 | Claude Code |
| office-documentsTencentCloud/Octop | Skill | 13k | yesterday | MIT | A | 44 | Claude Code, Codex |
| pptx-generationaipoch/open-science | Skill | 5.6k | today | Apache-2.0 | A | 87 | Claude Code, Codex |
| pdf-generationaipoch/open-science | Skill | 5.6k | today | Apache-2.0 | A | 98 | Claude Code, Codex |