Korean Law & Case Search Skill for Openclaw

A powerful tool for retrieving real-time Korean legislation, judicial precedents, and everyday legal guidance via official government APIs.

sw326
v2.1.0
Feb 23, 2026
0
1.9k
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install law-search

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install law-search using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is Korean Law & Case Search Skill?

This skill enables developers and legal professionals to programmatically access the comprehensive database of the Korea Legislation Research Institute (MOLEG). By leveraging the law.go.kr and data.go.kr APIs, it streamlines the process of finding specific statutes, article details, and court rulings. It is an essential component for any Openclaw Skills collection focused on legal automation or research.

The skill bridges the gap between complex legal databases and actionable insights by providing structured responses that prioritize practical steps backed by legal authority. It handles API authentication, fallback logic, and data parsing across JSON and XML formats to ensure consistent output and reliable data retrieval for the user.

Korean Law & Case Search Skill Use Cases

  • Automated lookup of Korean statutes and specific legal articles for compliance checks.
  • Researching judicial precedents and court case holdings for legal analysis and reporting.
  • Accessing "Everyday Law" guides for plain-language explanations of complex legal concepts.
  • Integrating legal search capabilities into custom AI agents or notification systems via Openclaw Skills.
  • Verifying current law effectiveness dates and related administrative rules in real-time.

How Korean Law & Case Search Skill Works

  1. The skill analyzes the user query to extract legal keywords and match them against the internal playbook strategy.
  2. It executes the law_search.sh script to retrieve a list of relevant laws from the MOLEG database.
  3. If specific details are required, law_detail.sh is called using a unique law ID to fetch specific article text.
  4. It searches for court decisions via case_search.sh to provide judicial context and precedents.
  5. For general inquiries, life_law.sh retrieves simplified, citizen-friendly legal information.
  6. The skill compiles all data into a structured Markdown response that leads with actionable steps followed by legal evidence.

Korean Law & Case Search Skill Setup

To integrate this with your Openclaw Skills environment, follow these steps:

MOLEG API Configuration: Register at open.law.go.kr to obtain an OC code. Create the configuration file:

mkdir -p ~/.config/law-go-kr && echo '{"oc":"YOUR_OC"}' > ~/.config/law-go-kr/credentials.json

Data.go.kr API Configuration: Register at data.go.kr and copy your API key. Set up the local credential:

mkdir -p ~/.config/data-go-kr && echo "YOUR_KEY" > ~/.config/data-go-kr/api_key

Korean Law & Case Search Skill Data Schema & Taxonomy

The skill organizes its data flow using official government API structures. Results are transformed into a standard format as follows:

Component Data Source Format Key Fields
Statutes law.go.kr JSON Law ID, Article Number, Text, Effective Date
Cases data.go.kr XML/JSON Case Number, Court, Holding, Key Point
Everyday Law data.go.kr XML Subject, Plain Language Guide, Reference Link
Metadata Internal MD Query Strategy, Keyword Mapping, API Priority

Korean Law & Case Search Skill Advanced Features

  • Dual-API fallback logic that automatically switches between law.go.kr and data.go.kr to ensure high availability.
  • Situation-specific branching within Openclaw Skills to provide tailored guidance based on user context (e.g., corporate vs. individual).
  • Multi-connector support for saving results directly to Notion or sending alerts via Telegram.
  • Automated URL encoding for complex Korean search parameters to ensure reliable API requests.
  • Action-first response templating that translates dense legal jargon into practical, step-by-step instructions.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*