{
  "schemaVersion": "1.0",
  "item": {
    "slug": "law-search",
    "name": "한국 법령/판례 검색",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/sw326/law-search",
    "canonicalUrl": "https://clawhub.ai/sw326/law-search",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/law-search",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=law-search",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "SKILL.md",
      "playbook.md",
      "scripts/case_search.sh",
      "scripts/law_detail.sh",
      "scripts/law_search.sh",
      "scripts/life_law.sh"
    ],
    "primaryDoc": "SKILL.md",
    "quickSetup": [
      "Download the package from Yavira.",
      "Extract the archive and review SKILL.md first.",
      "Import or place the package into your OpenClaw setup."
    ],
    "agentAssist": {
      "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
      "steps": [
        "Download the package from Yavira.",
        "Extract it into a folder your agent can access.",
        "Paste one of the prompts below and point your agent at the extracted folder."
      ],
      "prompts": [
        {
          "label": "New install",
          "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete."
        },
        {
          "label": "Upgrade existing",
          "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run."
        }
      ]
    },
    "sourceHealth": {
      "source": "tencent",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-05-07T17:22:31.273Z",
      "expiresAt": "2026-05-14T17:22:31.273Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=afrexai-annual-report",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=afrexai-annual-report",
        "contentDisposition": "attachment; filename=\"afrexai-annual-report-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null
      },
      "scope": "source",
      "summary": "Source download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this source.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/law-search"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    },
    "downloadPageUrl": "https://openagent3.xyz/downloads/law-search",
    "agentPageUrl": "https://openagent3.xyz/skills/law-search/agent",
    "manifestUrl": "https://openagent3.xyz/skills/law-search/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/law-search/agent.md"
  },
  "agentAssist": {
    "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
    "steps": [
      "Download the package from Yavira.",
      "Extract it into a folder your agent can access.",
      "Paste one of the prompts below and point your agent at the extracted folder."
    ],
    "prompts": [
      {
        "label": "New install",
        "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete."
      },
      {
        "label": "Upgrade existing",
        "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run."
      }
    ]
  },
  "documentation": {
    "source": "clawhub",
    "primaryDoc": "SKILL.md",
    "sections": [
      {
        "title": "Law & Case Search Skill",
        "body": "Korea Legislation Research Institute (MOLEG) law search, statute detail, case search.\nInspired by Cowork Legal plugin architecture."
      },
      {
        "title": "Overview",
        "body": "KeyValueProviderMOLEG (Ministry of Government Legislation)API Sourcelaw.go.kr (primary) + data.go.kr (fallback)Auth (law.go.kr)~/.config/law-go-kr/credentials.json → OC codeAuth (data.go.kr)~/.config/data-go-kr/api_keyDaily limit10,000 callsPlaybookplaybook.md"
      },
      {
        "title": "Scripts",
        "body": "scripts/\n├── law_search.sh   → Search laws by keyword\n├── law_detail.sh   → Statute text by law ID\n├── case_search.sh  → Court case search\n└── life_law.sh     → Everyday legal info search"
      },
      {
        "title": "Step 1: Analyze question",
        "body": "Extract legal keywords from user question\nMatch against playbook.md interest areas\nDecide strategy: statute-focused? case-focused? combined?"
      },
      {
        "title": "Step 2: Search statutes",
        "body": "law_search.sh \"keyword\" → list of relevant laws"
      },
      {
        "title": "Step 3: Fetch statute text (if needed)",
        "body": "law_detail.sh [law_id] → specific articles"
      },
      {
        "title": "Step 4: Search cases",
        "body": "case_search.sh \"keyword\" → relevant court decisions"
      },
      {
        "title": "Step 5: Everyday legal info (optional)",
        "body": "life_law.sh \"keyword\" → plain-language legal guide"
      },
      {
        "title": "Output Template",
        "body": "Action-first structure: lead with what to DO, then back it up with law.\n\n## ⚖️ [Topic]\n\n### 📋 Core Answer\n[1-2 sentence conclusion — what the user needs to know]\n\n### 🚶 What To Do (practical steps)\n1. [Concrete action step] — with conditions/branches if needed\n2. [Next step]\n3. [Final step]\n※ [Situation-specific branch: \"If X, then A; if Y, then B\"]\n\n### 📖 Legal Basis\n**[Law Name]** Art. X (Effective YYYY.MM.DD)\n> ① Original text...\n> → Plain language: [simplified explanation]\n\n**[Related Law]** Art. Y (if applicable)\n> ...\n\n### ⚖️ Related Case (if relevant)\n**[Case Number]** ([Court], YYYY.MM.DD)\n> Key point: [one-line holding]\n\n### 🔗 References\n- [Statute](https://www.law.go.kr/...)\n\n⚠️ Reference only — not legal advice. Consult an attorney for important decisions.\n\nPrinciples:\n\nUser's action = main content; statutes = supporting evidence\nBranch by situation (listed vs unlisted company, etc.)\nCite specific articles, not just law names\nAsk follow-up if context is needed for better advice"
      },
      {
        "title": "law.go.kr (Primary)",
        "body": "TargetDescriptionURLlawStatute search/detailhttps://www.law.go.kr/DRF/lawSearch.do?OC={oc}&target=law&type=JSONprecCourt cases...&target=prec&type=JSONdetcInterpretation examples...&target=detc&type=JSONadmrulAdministrative rules...&target=admrul&type=JSON"
      },
      {
        "title": "data.go.kr (Fallback)",
        "body": "APIData IDEndpointStatute search15000115http://apis.data.go.kr/1170000/law/lawSearchList.doEveryday law15000215http://apis.data.go.kr/1170000/lifeLawSearch/lifeLawSearchList.doCase text15057123(linked to law.go.kr)"
      },
      {
        "title": "Connectors",
        "body": "PlaceholderPurposeCurrent Tool~~lawLaw/case APIlaw.go.kr, data.go.kr~~docsSave resultsNotion~~notifyAlertsTelegram~~searchSupplementary searchBrave Search"
      },
      {
        "title": "Notes",
        "body": "Disclaimer: API info is reference only. Not legal advice.\nCurrency: Based on current law, but recent amendments may have delay.\nFormat: law.go.kr returns JSON; data.go.kr returns XML → each needs parser.\nPriority: law.go.kr JSON first → fallback to data.go.kr XML.\nEncoding: URL-encode query parameters.\n\nCowork Legal architecture v2.1 — 🦞 chumjibot (2026-02-14)"
      },
      {
        "title": "법제처 국가법령정보 API (주 API)",
        "body": "open.law.go.kr 회원가입\nOC 코드 발급 (이메일 @ 앞부분)\nmkdir -p ~/.config/law-go-kr && echo '{\"oc\":\"YOUR_OC\"}' > ~/.config/law-go-kr/credentials.json"
      },
      {
        "title": "data.go.kr 판례 API (보조)",
        "body": "data.go.kr 회원가입 → 인증키 복사\nmkdir -p ~/.config/data-go-kr && echo \"YOUR_KEY\" > ~/.config/data-go-kr/api_key\n\n법제처 API 미등록 시에도 web_search 폴백으로 법령 기본 검색 가능합니다."
      }
    ],
    "body": "Law & Case Search Skill\n\nKorea Legislation Research Institute (MOLEG) law search, statute detail, case search. Inspired by Cowork Legal plugin architecture.\n\nOverview\nKey\tValue\nProvider\tMOLEG (Ministry of Government Legislation)\nAPI Source\tlaw.go.kr (primary) + data.go.kr (fallback)\nAuth (law.go.kr)\t~/.config/law-go-kr/credentials.json → OC code\nAuth (data.go.kr)\t~/.config/data-go-kr/api_key\nDaily limit\t10,000 calls\nPlaybook\tplaybook.md\nScripts\nscripts/\n├── law_search.sh   → Search laws by keyword\n├── law_detail.sh   → Statute text by law ID\n├── case_search.sh  → Court case search\n└── life_law.sh     → Everyday legal info search\n\nWorkflow\nStep 1: Analyze question\nExtract legal keywords from user question\nMatch against playbook.md interest areas\nDecide strategy: statute-focused? case-focused? combined?\nStep 2: Search statutes\nlaw_search.sh \"keyword\" → list of relevant laws\nStep 3: Fetch statute text (if needed)\nlaw_detail.sh [law_id] → specific articles\nStep 4: Search cases\ncase_search.sh \"keyword\" → relevant court decisions\nStep 5: Everyday legal info (optional)\nlife_law.sh \"keyword\" → plain-language legal guide\nStep 6: Structured response using template\nOutput Template\n\nAction-first structure: lead with what to DO, then back it up with law.\n\n## ⚖️ [Topic]\n\n### 📋 Core Answer\n[1-2 sentence conclusion — what the user needs to know]\n\n### 🚶 What To Do (practical steps)\n1. [Concrete action step] — with conditions/branches if needed\n2. [Next step]\n3. [Final step]\n※ [Situation-specific branch: \"If X, then A; if Y, then B\"]\n\n### 📖 Legal Basis\n**[Law Name]** Art. X (Effective YYYY.MM.DD)\n> ① Original text...\n> → Plain language: [simplified explanation]\n\n**[Related Law]** Art. Y (if applicable)\n> ...\n\n### ⚖️ Related Case (if relevant)\n**[Case Number]** ([Court], YYYY.MM.DD)\n> Key point: [one-line holding]\n\n### 🔗 References\n- [Statute](https://www.law.go.kr/...)\n\n⚠️ Reference only — not legal advice. Consult an attorney for important decisions.\n\n\nPrinciples:\n\nUser's action = main content; statutes = supporting evidence\nBranch by situation (listed vs unlisted company, etc.)\nCite specific articles, not just law names\nAsk follow-up if context is needed for better advice\nAPI Endpoints\nlaw.go.kr (Primary)\nTarget\tDescription\tURL\nlaw\tStatute search/detail\thttps://www.law.go.kr/DRF/lawSearch.do?OC={oc}&target=law&type=JSON\nprec\tCourt cases\t...&target=prec&type=JSON\ndetc\tInterpretation examples\t...&target=detc&type=JSON\nadmrul\tAdministrative rules\t...&target=admrul&type=JSON\ndata.go.kr (Fallback)\nAPI\tData ID\tEndpoint\nStatute search\t15000115\thttp://apis.data.go.kr/1170000/law/lawSearchList.do\nEveryday law\t15000215\thttp://apis.data.go.kr/1170000/lifeLawSearch/lifeLawSearchList.do\nCase text\t15057123\t(linked to law.go.kr)\nConnectors\nPlaceholder\tPurpose\tCurrent Tool\n~~law\tLaw/case API\tlaw.go.kr, data.go.kr\n~~docs\tSave results\tNotion\n~~notify\tAlerts\tTelegram\n~~search\tSupplementary search\tBrave Search\nNotes\nDisclaimer: API info is reference only. Not legal advice.\nCurrency: Based on current law, but recent amendments may have delay.\nFormat: law.go.kr returns JSON; data.go.kr returns XML → each needs parser.\nPriority: law.go.kr JSON first → fallback to data.go.kr XML.\nEncoding: URL-encode query parameters.\n\nCowork Legal architecture v2.1 — 🦞 chumjibot (2026-02-14)\n\n🔧 Setup\n법제처 국가법령정보 API (주 API)\nopen.law.go.kr 회원가입\nOC 코드 발급 (이메일 @ 앞부분)\nmkdir -p ~/.config/law-go-kr && echo '{\"oc\":\"YOUR_OC\"}' > ~/.config/law-go-kr/credentials.json\ndata.go.kr 판례 API (보조)\ndata.go.kr 회원가입 → 인증키 복사\nmkdir -p ~/.config/data-go-kr && echo \"YOUR_KEY\" > ~/.config/data-go-kr/api_key\n\n법제처 API 미등록 시에도 web_search 폴백으로 법령 기본 검색 가능합니다."
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/sw326/law-search",
    "publisherUrl": "https://clawhub.ai/sw326/law-search",
    "owner": "sw326",
    "version": "2.1.0",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/law-search",
    "downloadUrl": "https://openagent3.xyz/downloads/law-search",
    "agentUrl": "https://openagent3.xyz/skills/law-search/agent",
    "manifestUrl": "https://openagent3.xyz/skills/law-search/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/law-search/agent.md"
  }
}