Install
openclaw skills install law-searchKorean law/case search via law.go.kr + data.go.kr APIs. Use for legal questions, statute lookup, court cases, and everyday legal info.
openclaw skills install law-searchKorea Legislation Research Institute (MOLEG) law search, statute detail, case search. Inspired by Cowork Legal plugin architecture.
| Key | Value |
|---|---|
| Provider | MOLEG (Ministry of Government Legislation) |
| API Source | law.go.kr (primary) + data.go.kr (fallback) |
| Auth (law.go.kr) | ~/.config/law-go-kr/credentials.json → OC code |
| Auth (data.go.kr) | ~/.config/data-go-kr/api_key |
| Daily limit | 10,000 calls |
| Playbook | playbook.md |
scripts/
├── law_search.sh → Search laws by keyword
├── law_detail.sh → Statute text by law ID
├── case_search.sh → Court case search
└── life_law.sh → Everyday legal info search
playbook.md interest areaslaw_search.sh "keyword" → list of relevant lawslaw_detail.sh [law_id] → specific articlescase_search.sh "keyword" → relevant court decisionslife_law.sh "keyword" → plain-language legal guideAction-first structure: lead with what to DO, then back it up with law.
## ⚖️ [Topic]
### 📋 Core Answer
[1-2 sentence conclusion — what the user needs to know]
### 🚶 What To Do (practical steps)
1. [Concrete action step] — with conditions/branches if needed
2. [Next step]
3. [Final step]
※ [Situation-specific branch: "If X, then A; if Y, then B"]
### 📖 Legal Basis
**[Law Name]** Art. X (Effective YYYY.MM.DD)
> ① Original text...
> → Plain language: [simplified explanation]
**[Related Law]** Art. Y (if applicable)
> ...
### ⚖️ Related Case (if relevant)
**[Case Number]** ([Court], YYYY.MM.DD)
> Key point: [one-line holding]
### 🔗 References
- [Statute](https://www.law.go.kr/...)
⚠️ Reference only — not legal advice. Consult an attorney for important decisions.
Principles:
| Target | Description | URL |
|---|---|---|
| law | Statute search/detail | https://www.law.go.kr/DRF/lawSearch.do?OC={oc}&target=law&type=JSON |
| prec | Court cases | ...&target=prec&type=JSON |
| detc | Interpretation examples | ...&target=detc&type=JSON |
| admrul | Administrative rules | ...&target=admrul&type=JSON |
| API | Data ID | Endpoint |
|---|---|---|
| Statute search | 15000115 | http://apis.data.go.kr/1170000/law/lawSearchList.do |
| Everyday law | 15000215 | http://apis.data.go.kr/1170000/lifeLawSearch/lifeLawSearchList.do |
| Case text | 15057123 | (linked to law.go.kr) |
| Placeholder | Purpose | Current Tool |
|---|---|---|
~~law | Law/case API | law.go.kr, data.go.kr |
~~docs | Save results | Notion |
~~notify | Alerts | Telegram |
~~search | Supplementary search | Brave Search |
Cowork Legal architecture v2.1 — 🦞 chumjibot (2026-02-14)
mkdir -p ~/.config/law-go-kr && echo '{"oc":"YOUR_OC"}' > ~/.config/law-go-kr/credentials.jsonmkdir -p ~/.config/data-go-kr && echo "YOUR_KEY" > ~/.config/data-go-kr/api_key법제처 API 미등록 시에도
web_search폴백으로 법령 기본 검색 가능합니다.