hwp

Installation
SKILL.md

HWP/HWPX Document Skill

Scope: HWP/HWPX only. Do NOT reference or load skills for other formats (DOCX, PPTX, XLSX, PDF). If the task involves a non-HWP format, stop and tell the user.

OfficeCLI routing and consent rule:

  • First check whether officecli is available with command -v officecli.
  • If installed, recommend OfficeCLI first for HWPX work and experimental rhwp-backed binary HWP read/edit.
  • If missing, do not auto-install. Present choices before proceeding:
    1. Install forked OfficeCLI from https://github.com/lidge-jun/OfficeCLI via bash "$(npm root -g)/cli-jaw/scripts/install-officecli.sh".
    2. Continue only with lightweight HWP/HWPX fallback scripts for the current task, with limitations stated.
    3. Stop or cancel.
  • Before taking a lightweight fallback path, ask the user again and state what HWP/HWPX features may be lost.
  • If the user chooses lightweight mode, save that preference to memory for future Office work.
  • Use upstream/vanilla iOfficeAI/OfficeCLI only when the user explicitly asks for upstream behavior.

OfficeCLI is the recommended advanced backend for HWPX work and experimental rhwp-backed binary HWP read/edit. Lightweight fallback: Python OOXML/OWPML scripts (scripts/*.py) for what OfficeCLI cannot cover, or when the user chooses lightweight mode: HWP→HWPX conversion, template assembly, pattern-match editing, direct XML edits. See §3. Triggers: "한글", ".hwpx", ".hwp", "HWP", "HWPX", Korean documents, 한컴오피스, OWPML.

Installs
1
GitHub Stars
5
First Seen
Jul 2, 2026