Install
openclaw skills install hwp-batch-convertBatch-convert 한컴 한글 문서(HWP/HWPX) on Windows into PDF and other export formats with a Korean-friendly automation workflow. Use when the user asks for 이 폴더 hwp...
openclaw skills install hwp-batch-convertUse this skill for Windows 기반 한글(HWP/HWPX) 문서 일괄 변환.
Current scope:
--plan-only--json, --report-json--auto-allow-dialogs--self-test-dialog-handler--mode mockThis skill reuses the design of the local/source repo:
tmp/HwpMatehttps://github.com/twbeatles/HwpMateMain logic origin:
hwpmate/services/hwp_converter.pyhwpmate/services/task_planner.pyhwpmate/constants.pyhwpmate/path_utils.pyIf you need the mapping details or reuse rationale, read:
references/hwpmate-reuse-notes.mdIf you need the popup whitelist / safety details, read:
references/auto-allow-dialogs.md같은 폴더에 PDF 출력:
python skills/hwp-batch-convert/scripts/hwp_batch_convert.py "C:\docs\contracts" --format PDF --same-location
별도 출력 폴더로 변환:
python skills/hwp-batch-convert/scripts/hwp_batch_convert.py "C:\docs\hwp" --format PDF --output-dir "C:\docs\pdf" --auto-allow-dialogs
여러 파일 한 번에 변환:
python skills/hwp-batch-convert/scripts/hwp_batch_convert.py "C:\docs\a.hwp" "C:\docs\b.hwpx" --format DOCX --output-dir "C:\docs\docx"
실제 변환 없이 계획만 확인:
python skills/hwp-batch-convert/scripts/hwp_batch_convert.py "C:\docs\hwp" --format PDF --output-dir "C:\docs\pdf" --plan-only --json
테스트용 모의 변환:
python skills/hwp-batch-convert/scripts/hwp_batch_convert.py "C:\docs\sample" --format PDF --output-dir "C:\docs\out" --mode mock --json
scripts/hwp_batch_convert.pyParameters:
sources...: 입력 파일/폴더 경로 하나 이상--format: 출력 형식 (PDF, HWPX, DOCX, ODT, HTML, RTF, TXT, PNG, JPG, BMP, GIF, HWP)--same-location: 원본과 같은 폴더에 출력--output-dir: 출력 루트 폴더--include-sub: 하위 폴더 포함(기본값)--no-include-sub: 하위 폴더 제외--overwrite: 같은 이름 출력 허용--plan-only: 실제 변환 없이 작업 계획만 생성--mode real|mock: 실변환 또는 모의 변환--auto-allow-dialogs: 제목 한글, 본문에 접근하려는 시도, 버튼 모두 허용/허용 조건을 모두 만족하는 보안 팝업만 자동 클릭--json: stdout JSON 출력--report-json: 결과 JSON 파일 저장--self-test-dialog-handler: 로컬 테스트용 샘플 한글 창을 띄워 자동 클릭 로직만 검증PDF를 기본 제안으로 사용한다.--plan-only --json 으로 대상/건너뜀/출력 경로를 확인한다.--mode real 로 실행한다.--mode mock 으로 경로/출력 구조만 검증한다.--report-json 으로 결과 파일을 남긴다.--mode real)은 한컴 한글 설치와 pywin32가 필요하다.--auto-allow-dialogs 는 화이트리스트 방식이다. 제목이 한글 이고, 본문에 접근하려는 시도 가 있으며, 버튼이 모두 허용 또는 허용 인 경우에만 클릭한다.--report-json 의 auto_dialog_* 필드와 auto_dialog_events 배열에서 확인한다.--mode mock 으로 스킬/경로 로직만 먼저 검증하고, 이후 환경 문제를 분리 진단한다.--output-dir 를 쓰면, 파일명 충돌 가능성이 있으니 결과 경로를 확인한다..hwp, .hwpx 만 대상으로 한다.