kr-patent-format-unify

kr-patent-format-unify is a skill for Claude Code, Codex from lsj4232/KR_PATENT_SKILL. It costs 560 tokens per session (3,152 once invoked), scanned A, original, MIT.

A Microsoft Word document-formatting tool for Korean patent specifications. It finds newly added paragraphs and copies the surrounding paragraph and text formatting onto them.

In plain words
What is it for?
Use it after adding patent-claim text, drawing introductions, or other standard sections to a `.docx` file. It is intended for body paragraphs, not whole-document redesigns or formatting inside tables and drawing captions.
Why use it?
Inserted paragraphs can look out of place when their font, spacing, indentation, alignment, or color differs from nearby text. This keeps the document’s existing appearance while correcting those mismatches.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: reads .claude/ paths.

Good fit Use it after adding patent-claim text, drawing introductions, or other standard sections to a .docx file. It is intended for body paragraphs, not whole-document redesigns or formatting inside tables and drawing captions.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/lsj4232/kr_patent_skill/kr-patent-format-unify
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 lsj4232/KR_PATENT_SKILL --skill kr-patent-format-unify
Clone the repo
git clone --depth 1 https://github.com/lsj4232/KR_PATENT_SKILL

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 kr-patent-format-unify

README.md
[![agentmods](https://agentmods.dev/badge/skills/lsj4232/kr_patent_skill/kr-patent-format-unify/github.svg)](https://agentmods.dev/skills/lsj4232/kr_patent_skill/kr-patent-format-unify)
Your own site
<a href="https://agentmods.dev/skills/lsj4232/kr_patent_skill/kr-patent-format-unify"><img src="https://agentmods.dev/badge/skills/lsj4232/kr_patent_skill/kr-patent-format-unify/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 kr-patent-format-unify

Your own site · 80×15
<a href="https://agentmods.dev/skills/lsj4232/kr_patent_skill/kr-patent-format-unify"><img src="https://agentmods.dev/badge/skills/lsj4232/kr_patent_skill/kr-patent-format-unify.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 560 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,152 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00560 $0.03152
Opus 5 $0.00280 $0.01576
Sonnet 5 $0.00112 $0.00630
Haiku 4.5 $0.00056 $0.00315

Measured 12d ago against content hash 3568720922dd, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

kr-patent-format-unify 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 12d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/apply_format_unify.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.

kr-patent-format-unify/SKILL.md · 178 lines

How it starts

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

kr-patent-format-unify — 한국 특허 명세서 신설 단락 서식 동기화

무엇을 하는가

한국 특허 명세서 docx 안에서 후속 작업으로 신설된 단락이 인접 본문 단락과 서식이 달라 시각적으로 튀는 문제를 자동 해소한다.

  • <w:pPr>(paragraph properties: 들여쓰기·줄간격·정렬·첫 줄 들여쓰기) — 인접 본문 단락에서 deepcopy 복사
  • <w:rPr>(character properties: 글꼴·크기·굵기·기울임·색상) — 인접 본문 단락의 첫 run rPr을 신설 단락의 모든 run에 deepcopy 복사
  • <w:outlineLvl> — 본문 단락에는 부여하지 않음 (자동 제거)

명세서 외관을 통째로 바꾸는 게 아니라 튀어나온 단락만 인접 흐름에 맞춤. 외관 자체는 그대로 유지.

언제 사용하는가

  • kr-patent-spec-drafting 수정 모드 / kr-patent-consistency-check 수정 적용 후 신설 단락 다수
  • kr-patent-ralph-loop이 도면 도입 문장·S14 1파트 등 신설 단락을 자동 추가한 직후
  • 청구항 본문 매핑(청구항 1~N 정형 문언을 S13 안 각 절에 1:1 삽입) 직후
  • 외부 변리사 docx에서 일부 단락만 서식이 다를 때 (수동 편집 흔적)

언제 사용하지 않는가

  • 명세서 전체 서식을 통째로 바꾸려 할 때 (이건 별도 docx-builder 재빌드)
  • 본문이 아닌 표·도면 캡션의 서식 (표 셀 안 서식은 별도 처리 필요)

검출 대상 단락 (default 패턴)

다음 도입어로 시작하는 단락을 신설 추정 단락으로 자동 검출:

카테고리 도입어 패턴
청구항 종속항 풀어쓰기 본 발명의 일 실시예에 있어서,
청구항 독립항(방법) 풀어쓰기 본 발명에 따른 ~ 방법은,
청구항 독립항(시스템) 풀어쓰기 본 발명에 따른 ~ 시스템은,
도면 도입 정형 도 N은 ~ 이다. (N = 1~99, 종결 "이다." 또는 "이고,")
S14 1파트 정형 이상에서 살펴본 바와 같이, 본 발명에 따르면,
변형 실시예 (선택) 한편,, 또 다른 실시예에 있어서,, 또한, 일 실시예에 있어서,, 나아가,

추가로 자동 폰트 불일치 감지: 단락의 첫 run rPr이 인접 본문 단락의 첫 run rPr과 다르면 신설 후보. (font name·size·color 비교)

처리 영역

  • 포함: 본문 전체 (앞표지 ~ 【부호의 설명】 직전)
  • 제외: 【청구범위】 ~ 끝 (청구범위·요약서·요약·대표도는 불변)
  • 제외: 표(table) 안 단락 — 표는 자체 서식 관리

참조 단락 선정 규칙

각 신설 단락에 대해 인접 본문 단락의 서식을 복사. 선정 우선순위:

  1. 직전 본문 단락 (1~5 단락 이내) — 같은 절 안일 가능성 높음
  2. 직후 본문 단락 (1~5 단락 이내) — 직전이 모두 신설 단락이거나 절 헤더일 때
  3. 둘 다 없으면 스킵 (안전한 default)

"본문 단락"의 조건:

  • 비어있지 않음
  • 절 헤더(【...】 단독)가 아님
  • 신설 추정 도입어로 시작하지 않음 (다른 신설 단락 회피)

사용 방법

일반 호출

python "~/.claude/skills\kr-patent-format-unify\scripts\apply_format_unify.py" "<docx 경로>"

추가 옵션:

  • --patterns "패턴1|패턴2|..." — 추가 검출 도입어 패턴 (정규식, OR 결합)
  • --auto-detect — 자동 폰트 불일치 감지 활성화 (default: off, 도입어 패턴 기반만)
  • --dry-run — 실제 수정 안 하고 어느 단락이 동기화 대상인지만 출력
  • --no-backup — 백업 생략 (비추천)

사전 점검

Read the full file on GitHub · 178 lines

Files

What ships with it

1 file 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. 12d ago First seen · 178 lines · 560 tokens per session scan A 3568720922dd

Subscribe to this mod's changes

kr-patent-format-unify is a skill published in the GitHub repository lsj4232/KR_PATENT_SKILL (15 stars, last pushed 19d ago), licensed MIT. It adds 560 tokens to every session and 3,152 once invoked, about $0.0028 per session on Opus 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-08-30.

Related

Other skills, from other repositories

document-fill

A document-filling assistant that uses a supplied template and case files to fill in forms, contracts, or legal documents. It also reports where each filled value came from and which details are missing.

code-lawyer/Legal-Agent-Skills · 61 tokens

evidence-catalog-generator

Organize user-provided evidence materials into evidence catalog entries and fill them into a user-provided or generic DOCX template. The public version contains no real case template, parties, docket numbers, facts, amounts, addresses, or local file paths.

lawyerllsx-dotcom/Legal-Workflow-Chain · 56 tokens

eac-habre

Chambres Africaines Extraordinaires (CAE) / Extraordinary African Chambers in the Courts of Senegal (EAC) research, drafting, and analysis — the Hissène Habré case. Use whenever the conversation involves the CAE/EAC, the AU-Senegal Accord of 22 August 2012, the Statute of the Chambers, the Habré trial (2015-2016), the…

jeannesulzer/international-criminal-tribunals-skills · 0 tokens

jep

Jurisdicción Especial para la Paz (JEP) — Colombia's Special Jurisdiction for Peace — research, drafting, and analysis. Use whenever the conversation involves the JEP, the SIVJRNR / Sistema Integral para la Paz, the 2016 Final Peace Agreement with the FARC-EP, Acto Legislativo 01 de 2017, Ley Estatutaria 1957 de 2019…

jeannesulzer/international-criminal-tribunals-skills · 0 tokens

nuremberg-tokyo

Post-WWII international military tribunals research, drafting, and analysis: the IMT at Nuremberg (1945-46), the twelve NMT trials under Control Council Law No. 10 (1946-49), and the IMTFE at Tokyo (1946-48). Use whenever the conversation involves Nuremberg, the Tokyo Trial, the London or Tokyo Charters, the IMT or…

jeannesulzer/international-criminal-tribunals-skills · 0 tokens

reg-64-kosovo

Regulation 64 Panels (Kosovo) research, drafting, and analysis — the UNMIK international judges and prosecutors (IJP) mechanism in the Kosovo district courts, 2000-2008/09. Use whenever the conversation involves UNMIK Regulation 2000/64, the 64 Panels, Regulations 2000/6 and 2001/2, UNSC Resolution 1244 (1999), the…

jeannesulzer/international-criminal-tribunals-skills · 0 tokens