kr-patent-ralph-loop

kr-patent-ralph-loop is a skill for Claude Code, Codex from lsj4232/KR_PATENT_SKILL. It costs 366 tokens per session (4,370 once invoked), scanned A, original, MIT.

An automated review-and-revision loop for Korean patent specifications, including their claims and drawings. It repeatedly checks for defects and applies fixes until the selected quality condition is met.

In plain words
What is it for?
Use it to refine a Korean patent document, classify remaining defects, record each review cycle, and verify that the claims stayed unchanged.
Why use it?
It reduces the need to run consistency checks and corrections manually while protecting the original claims from unintended changes.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: positional $N argument.

Good fit Use it to refine a Korean patent document, classify remaining defects, record each review cycle, and verify that the claims stayed unchanged.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/lsj4232/kr_patent_skill/kr-patent-ralph-loop
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-ralph-loop
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-ralph-loop

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/lsj4232/kr_patent_skill/kr-patent-ralph-loop"><img src="https://agentmods.dev/badge/skills/lsj4232/kr_patent_skill/kr-patent-ralph-loop.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 366 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,370 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.00366 $0.04370
Opus 5 $0.00183 $0.02185
Sonnet 5 $0.00073 $0.00874
Haiku 4.5 $0.00037 $0.00437

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

Security

Grade A, and why

kr-patent-ralph-loop 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 10d 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.

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-ralph-loop/SKILL.md · 277 lines

How it starts

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

한국 특허 명세서 랄프 루프 — 반복 정제 자동 수렴

[역할]

당신은 한국 특허 명세서를 결함이 0이 될 때까지 반복 정제하는 메타 오케스트레이터다. kr-patent-consistency-check이 단발성 점검 + 6항목 정형 수정안 제시까지라면, 본 스킬은 그 위에 수정 적용 → 재점검 → 수렴 판정 → 재수정 사이클을 자동 반복하여 사용자가 한 번의 호출로 출원 가능 수준에 도달시킨다.

입력: 1차 본문 + 권리범위 보강(Stage 3, 4)이 끝난 명세서 docx/텍스트, 청구항 원문, 도면 파일들 출력: 0결함 명세서 + iteration 로그 + 청구범위 무결성 증명 + 잔존 결함(수렴 실패 시)


종료 조건 (수렴 판정)

모드 조건
기본 (default) Priority A 결함 0개
엄격 (strict) Priority A 결함 0개 AND Priority B 결함 0개
완전 (perfect) Priority A + B + C 모두 0개 (실무적으로 도달 어려움 — 비추천)

호출 시 사용자가 모드 미지정이면 기본 모드로 진행하고, 1차 iteration 완료 후 사용자에게 "엄격 모드로 계속할까요?" 묻는다.

안전 캡

  • 최대 반복: 5회 (사용자가 명시적으로 늘리지 않는 한)
  • 반복 간 결함 감소 정체 시 조기 종료: 직전 iter와 현재 iter의 결함 수가 동일하면 "수정이 결함을 해결하지 못함" 경고 + 사용자 결정 요청
  • 청구범위 변경 감지 시 즉시 중단: 어느 iter에서든 청구범위 섹션이 입력 청구항과 1글자라도 달라지면 즉시 사이클 중단하고 사용자에게 alert (신규사항 추가 금지 원칙)

청구범위 read-only 보호 (★★★ 최우선 안전장치)

매 iteration의 시작·종료 시점에 청구범위 무결성을 강제 검증한다.

[Iteration N 시작]
  ① 입력 명세서에서 【청구범위】 섹션 텍스트 추출 → CLAIMS_N_BEFORE
  ② CLAIMS_N_BEFORE ↔ CLAIMS_0 (최초 입력 청구항) diff
     - diff ≠ 0 이면 즉시 중단, 사용자 alert
[수정 적용]
[Iteration N 종료]
  ③ 수정 후 명세서에서 【청구범위】 섹션 텍스트 추출 → CLAIMS_N_AFTER
  ④ CLAIMS_N_AFTER ↔ CLAIMS_0 diff
     - diff ≠ 0 이면 즉시 청구범위 원상복구 + 사용자 alert
     - 어떤 수정이 청구범위를 건드렸는지 역추적 보고

위반 시 동작:

  • 자동 원상복구: 【청구범위】 섹션만 CLAIMS_0으로 덮어쓰기 (본문은 보존)
  • 어느 수정 단계가 청구범위를 건드렸는지 로그 (보통 embodiment-addition 오작동)
  • 해당 수정은 무효화하고 다음 iter로 진행

결함 → 수정 라우팅 표

consistency-check이 산출하는 J섹션(Stage 역추적) 결과 + Priority 분류를 보고 어느 도구로 어떻게 수정할지 자동 결정한다.

Stage 2 결함 (부호 설계)

결함 패턴 수정 방법 호출 스킬
계층 넘버링 미준수 (100→210 비계층) 부호 체계 재설계 kr-patent-symbol-design
동일 부호 두 객체 지칭 (Priority A) 한 부호에 새 번호 할당 + 본문 일괄 치환 kr-patent-symbol-design + inline replace
도면 박스 부호 1:1 매핑 누락 도면 이미지 OCR + 박스별 부호 부여 kr-patent-drawing-mapping
부재번호 흐름 정합성 결함 처리 결과 객체에 새 부호 분리 kr-patent-symbol-design

Stage 3 결함 (1차 본문)

Read the full file on GitHub · 277 lines

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. 10d ago First seen · 277 lines · 366 tokens per session scan A 280c99c667f8

Subscribe to this mod's changes

kr-patent-ralph-loop is a skill published in the GitHub repository lsj4232/KR_PATENT_SKILL (14 stars, last pushed 17d ago), licensed MIT. It adds 366 tokens to every session and 4,370 once invoked, about $0.0018 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

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

cps-rca

Cour Pénale Spéciale de la République Centrafricaine (CPS) / Special Criminal Court in the Central African Republic (SCC-CAR) research, drafting, and analysis. Use whenever the conversation involves the CPS, the Loi organique n°15.003 of 3 June 2015, the RPP (Loi 18.010), the affaire Paoua / Lemouna et Koundjili (Issa…

jeannesulzer/international-criminal-tribunals-skills · 0 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

eccc

Extraordinary Chambers in the Courts of Cambodia (ECCC, Khmer Rouge Tribunal) research, drafting, and analysis. Use whenever the conversation involves the ECCC, Case 001 (Duch), Case 002 (NUON Chea, KHIEU Samphan) including the severance into Cases 002/01 and 002/02, Cases 003 and 004, the ECCC Law, the Internal…

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

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