Home / lsj4232 / kr_patent_skill · docx-to-hlz/SKILL.md · GitHub

docx-to-hlz skillA

docx-to-hlz is agent-read markdown (skill) from lsj4232/kr_patent_skill: 한국 특허 명세서 워드(.docx)를 특허청 전자출원 편집기(통합명세서작성기 NKEditor / 신형 "지식재산처 전자문서 작성 S/W")가 여는 .hlz 파일로 변환한다. .hlz는 표준 ZIP = KIPO application-body XML(1개) + patNNNNN 도면 이미지. 워드의 【식별항목】 섹션 (【발명의 명칭】【기술분야】【배경기술】【해결하고자 하는 과제】【과제의 해결 수단】【발명의 효과】 【도면의 간단한 설명】【발명을 실시하기 위한 구체적인 내용】【청구범위】【요약】【대표도】【도면】)을 KIPO XML 요소로 매핑하고, 청구항은 <claim-text> + <br/>로, 도면 이미지는 표시크기(EMU→mm)와 함께 <drawings>로 패키징. 편집기 호환을 위한 하드 규칙을 자동 적용 — (1) ZIP 엔트리 파일명을 CP949 인코딩 + UTF-8 플래그(0x800) 제거(안 하면 편집기가 압축해제 실패 "…SGM 찾을 수 없습니다"), (2) img-format을.

Indexed from public GitHub and served as immutable, content-addressed versions. Install it pinned to an exact SHA-256 with the mdr CLI, and every file is verified against the hash recorded here before it reaches your agent. The deterministic audit below grades the latest version, and the same file always earns the same grade.

What the file says

# docx-to-hlz — 워드 명세서 → 특허청 편집기(.hlz) 변환

완성된 한국 특허 명세서 `.docx`를 특허청 전자출원 편집기가 여는 **`.hlz`**(ZIP: KIPO XML + 도면)로 변환한다.

## 사용법

```bash
python "<skill>/scripts/docx2hlz.py" "명세서.docx"          # → 같은 폴더에 명세서.hlz
python "<skill>/scripts/docx2hlz.py" "명세서.docx" -o out.hlz
```

의존성: `python-docx`, `Pillow`(png/tiff 재인코딩·크기추정용).

변환 후 사용자가 편집기에서 **[파일 > 열기]로 .hlz 선택**(또는 창에 드래그&드롭). 편집기 GUI 클릭은
자동화 불가이므로 여는 것은 사용자가 한다.

## 입력 워드 전제

- KIPO 별지 서식 **【식별항목】 태그**로 섹션이 구분돼 있어야 한다(위 description의 12개 태그).
- 래퍼 태그(【발명의 설명】【발명의 내용】【요약서】)는 자식만 쓰고 자신은 버린다.
- 비표준 소제목(예 【1. 용어의 정의…】 탐색창용 챕터)은 본문 문단으로 흡수(대괄호 제거).
- 표(table)는 미지원(현재 대상 명세서에 표가 없어 미구현) — 표 있는 건은 확장 필요.

## 산출 포맷 핵심 (application-body DTD)

```
<KIPO keapsVersion="5.6" editorKind="K" pageCount wi imgApply="N" xmlns="http://www.kipo.go.kr">
 <PatentCAFDOC docflag="1.0" documentID="숫자">
  <description>
   <invention-title>한글{ENGLISH}</invention-title>
   <technical-field><p num="0001">…</p></technical-field>
   <background-art>…</background-art>
   <summary-of-invention><tech-problem/><tech-solution/><advantageous-effects/></summary-of-invention>
   <description-of-drawings><p>도 1은…<br/>도 2는…</p></description-of-drawings>
…

Read the whole file at its exact version.

How to install

Latest version
mdr add lsj4232/kr_patent_skill/docx-to-hlz@git:20260921.87394c3
Exact content
mdr add lsj4232/kr_patent_skill/docx-to-hlz@sha256:94d1a3ca8707260e

Pin to a label to follow the author's releases, or to a sha256 to freeze the exact bytes forever. Either way the resolved hash is written to mdr.lock, and mdr install reproduces it on any machine.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_ildyoh5nf5dskrps.svg)](https://markdownregistry.com/a/art_ildyoh5nf5dskrps)

1 badge views in 30 days

Versions

versioncommittedcommitsizeaudit
git:20260921.87394c3 latest2026-09-21 87394c3 8,916 BA view

Audit of the latest version

A  17 of 17 checks passed. Deterministic, no model, same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (8916 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

lsj4232/kr_patent_skill · 23 stars · license MIT · pushed 2026-09-21 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_ildyoh5nf5dskrps
GET https://markdownregistry.com/api/v1/resolve?ref=lsj4232/kr_patent_skill/docx-to-hlz
GET https://markdownregistry.com/api/v1/blob/94d1a3ca8707260e99993f2507bb10833f3561e803a910e0cf5af226c5d3cb91

Your agent does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

More from lsj4232/kr_patent_skill

kr-patent-claim1-drafting skill
lsj4232/kr_patent_skill · kr-patent-claim1-drafting/SKILL.md · 한국 특허 독립항(청구항 1) 작성 스킬. 논문(또는 발명 자료)을 입력받아 KIPO 청구범위 작성 실무에 정통한 변리사 관점으로 제1독립항을 작성(★ P-0 카테고리 분기: G 프로파일(AI·SW·제어…
git:20260921.83f8d3f · audit A · 23 stars
kr-patent-consistency-check skill
lsj4232/kr_patent_skill · kr-patent-consistency-check/SKILL.md · 한국 특허 명세서·도면·청구항 3자 정합성 점검. 작성된 명세서 초안에 대해 청구항 한정 수치의 도면 노출, 부호의 설명과 본문 부호의 1:1 매핑, 도면 텍스트와 명세서 텍스트의 일치, 가이드라인 위반…
git:20260916.c7222d1 · audit A · 23 stars
kr-patent-definition-insertion skill
lsj4232/kr_patent_skill · kr-patent-definition-insertion/SKILL.md · 한국 특허 명세서 본문에 청구항 한정 용어 및 추상적 기술 용어의 자체 사전(Inventor as Lexicographer) 정의를 본문 흐름 안 단락으로 인라인 삽입하는 권리범위 보강 스킬. 4원칙(자체 사전…
git:20260914.8ad5d56 · audit A · 23 stars
kr-patent-dependent-claim-drafting skill
lsj4232/kr_patent_skill · kr-patent-dependent-claim-drafting/SKILL.md · 한국 특허 종속항·시스템항·프로그램항·추가 독립항(청구항 2~N) 작성 스킬. 논문(또는 발명 자료)과 확정된 청구항 1을 입력받아 KIPO 청구범위 작성 실무에 정통한 변리사 관점으로 청구항 2번부터 N번까지를…
git:20260921.83f8d3f · audit A · 23 stars
kr-patent-detail-description-review skill
lsj4232/kr_patent_skill · kr-patent-detail-description-review/SKILL.md · 한국 특허 명세서의 【발명을 실시하기 위한 구체적인 내용】(S13 실시예 본문) 영역이 ITER 10 작성 정형(도입부 5단락 + 본 발명 7섹션 + 마무리 5단락)을 따르는지 정밀 검토하는 스킬…
git:20260914.8ad5d56 · audit A · 23 stars
kr-patent-docx-builder skill
lsj4232/kr_patent_skill · kr-patent-docx-builder/SKILL.md · 한국 특허청 양식의 명세서 docx 빌드 인프라. 명세서 본문 텍스트를 JSON/JS 객체 형태의 콘텐츠로 받아 나눔고딕·청구항 들여쓰기·표준 섹션 헤더(【발명의 명칭】 등)·부호의 설명표 등 한국 특허청 별지…
git:20260915.e1e73ea · audit A · 23 stars
kr-patent-drawing-mapping skill
lsj4232/kr_patent_skill · kr-patent-drawing-mapping/SKILL.md · 한국 특허 명세서 도면 이미지를 시각 분석/OCR하여 도면 안의 모든 박스(부서·모듈·객체·데이터·장비·인력)에 1:1로 도면부호를 할당하고, 본문·청구항·기존 부호 체계와 정합되는 박스별 부호 매핑 표를 산출…
git:20260914.8ad5d56 · audit A · 23 stars
kr-patent-drawing-tagging skill
lsj4232/kr_patent_skill · kr-patent-drawing-tagging/SKILL.md · 한국 특허 도면 PNG에 도면부호를 직접 그려 넣는(태깅하는) 스킬. 확정된 부호 체계 (kr-patent-symbol-design)와 박스별 매핑(kr-patent-drawing-mapping의 지시서)을…
git:20260916.c7222d1 · audit A · 23 stars
kr-patent-embodiment-addition skill
lsj4232/kr_patent_skill · kr-patent-embodiment-addition/SKILL.md · 한국 특허 명세서 "발명을 실시하기 위한 구체적인 내용" 절에서 16개 카테고리(알고리즘 변형, 단계적 분해, 입출력 형태, 데이터 종류, 모델 구조, 학습 메커니즘, 시간축, 불확실성, 사용자 상호작용, 외부…
git:20260914.8ad5d56 · audit A · 23 stars
kr-patent-format-unify skill
lsj4232/kr_patent_skill · kr-patent-format-unify/SKILL.md · 한국 특허 명세서 .docx 안에서 후속 작업으로 신설된 단락(insert_paragraph_before·정합성 수정·청구항 본문 매핑·도면 도입 문장 신설·S14 1파트 신설 등으로 추가된 단락)이 인접 본문…
git:20260915.e1e73ea · audit A · 23 stars
kr-patent-full-workflow skill
lsj4232/kr_patent_skill · kr-patent-full-workflow/SKILL.md · 한국 특허 명세서 작성의 전체 워크플로우를 처음부터 끝까지 순차 실행하는 오케스트레이터 메타 스킬. 다른 kr-patent-* 스킬들(inventor-meeting, symbol-design…
git:20260921.83f8d3f · audit A · 23 stars
kr-patent-implementation-elaboration skill
lsj4232/kr_patent_skill · kr-patent-implementation-elaboration/SKILL.md · 한국 특허 명세서 "발명을 실시하기 위한 구체적인 내용" 절에서 추상적으로 기술된 구성요소(~부/~모듈/~엔진)에 대해 (모드 A) 판단 기준 → 적용 방식 → 효과 3단 보강을 자동 적용하여 진보성·기재요건을…
git:20260914.aa30e2c · audit A · 23 stars

Every file in lsj4232/kr_patent_skill

Browse by kind, by grade A, or by owner.