Individual skill
cn-law-hub
用于查询、检索、核验、下载、导出、批量采集中国官方法律法规、规章、条约和具体法条。Use this skill aggressively when the user asks to 查法律、查法规、查条例、查规章、查条约、查法条、查第几条、找法律依据、引用法律依据、核验现行有效、判断是否废止/已修改/尚未生效、下载法规全文、导出法规目录、批量下载法规文件、按关键词检索具体法条、展开法条分析,或在中国法律咨询、案例分析、合规审查、合同审查、劳动争议、行政法分析、公司合规、数据合规、政策研究中需要调用、核验或引用中国现行有效法律法规原文作为依据。Trigger also when phrases such as 依法、依规、依照法律规定、法律法规 imply a need to verify specific statutory authority or article-level text. Covers 国家法律法规数据库 (flk.npc.gov.cn), 国家规章库 (gov.cn), 外交条约库 (treaty.mfa.gov.cn), 国务院政策文件库 (sousuo.www.gov.cn), 司法部行政法规库 (xzfg.moj.gov.cn), 党内法规库 (12371.cn), 国防部法规文库 (mod.gov.cn), 税务法规库 (fgk.chinatax.gov.cn), 生态环境部法规规章 (mee.gov.cn), and 最高人民法院发布栏目 (court.gov.cn). Supports 标题/正文检索, 精确/模糊检索, 时效性过滤, 分类过滤, 分页, 排序, 单篇下载, 批量下载, 法条级抽取, 地区/制定机关分类, and browser fallback. Trigger when the answer may depend on current effective Chinese statutes, regulations, rules, treaties, article text, official document status, or official source attribution. Do not use for purely general legal theory, generic writing, or legal reasoning that does not require retrieving or verifying official Chinese legal documents.
SKILL.md
Source commit 8a62d5cbec94489dcb7a661dd0df411742a2a1e2
What was checked
- Matches the observed repository HEAD
- Yes
- Scanner rules are current
- Yes
- Repository scan complete
- No
- Skill scan complete
- No
- Observed behavior
- Network or broad shell
- Last checked
- Nov 11, 2026
These are observations at the recorded commit, not a guarantee of safety. Review the source before running it.
Install this skill
Choose an agent in your Stack or copy a command below. Commands fetch the pinned commit and copy only this skill directory. Existing destinations are refused. Copying a command does not install anything.
An install command is unavailable: current rules, complete repository and skill scans, an eligible behavior level and a permitted license are required.
Repository context
- Repository stars (not skill ratings)
- 92
- Repository last updated
- Oct 15, 2026
- License
- Apache-2.0
Observed agent integration: No specific integration evidence. Standard SKILL.md installation does not imply verified compatibility.
- china-law Repository topic
- agent-skills Repository topic
- chinese-law Repository topic
- claude-code-skill Repository topic
- claude-skills Repository topic
- codex-skills Repository topic
- legal-ai Repository topic
- legal-research Repository topic
- legal-tech Repository topic
- mcp Repository topic
- legal Derived category
- writing Derived category
Files and excerpt
File metadata and permitted, redacted excerpts come from the recorded scan. Source links are pinned to that commit.
Browse files
.gitignoreasset · 503 bytes.mcp.jsonasset · 120 bytesCHANGELOG.mddoc · 12,480 bytesCITATION.cffasset · 338 bytesLICENSEasset · 11,357 bytesNOTICEasset · 1,905 bytesREADME.mddoc · 26,706 bytesSKILL.mdcore · 9,765 bytesSKILL.mdcore · 9,765 bytesSKILL.mdcore · 9,765 bytesSKILL.mdcore · 9,765 bytespytest.iniasset · 106 bytesreferences/api_reference.mddoc · 9,809 bytesreferences/batch_collection.mddoc · 8,342 bytesreferences/codex_adapter.mddoc · 7,763 bytesreferences/gov_policy_api_reference.mddoc · 5,332 bytesreferences/gov_rules_api_reference.mddoc · 3,241 bytesreferences/kimi_bridge_adapter.mddoc · 3,384 bytesreferences/mcp_setup.mddoc · 2,671 bytesreferences/page_structure.mddoc · 10,496 bytesreferences/setup.mddoc · 965 bytesreferences/treaty_api_reference.mddoc · 2,210 bytesrequirements-dev.txtdoc · 57 bytesrequirements.txtdoc · 424 bytesscripts/article_search.pyruns · 10,107 bytesscripts/common/__init__.pyruns · 1,853 bytesscripts/common/cache.pyruns · 9,892 bytesscripts/common/chinese_numerals.pyruns · 1,919 bytesscripts/common/cli_utils.pyruns · 784 bytesscripts/common/constants.pyruns · 804 bytesscripts/common/docx_utils.pyruns · 3,128 bytesscripts/common/file_io.pyruns · 2,939 bytesscripts/common/logger.pyruns · 785 bytesscripts/common/ratelimit.pyruns · 10,360 bytesscripts/common/text_utils.pyruns · 2,288 bytesscripts/court_law_crawler.pyruns · 13,058 bytesscripts/download.pyruns · 21,720 bytesscripts/gov_policy_library.pyruns · 14,908 bytesscripts/gov_rules_crawler.pyruns · 19,087 bytesscripts/mcp_server.pyruns · 12,243 bytesscripts/mee_law_crawler.pyruns · 12,782 bytesscripts/mod_law_crawler.pyruns · 12,777 bytesscripts/moj_law_crawler.pyruns · 13,815 bytesscripts/party_law_crawler.pyruns · 12,543 bytesscripts/region_classifier.pyruns · 22,009 bytesscripts/tax_law_crawler.pyruns · 16,004 bytesscripts/treaty_crawler.pyruns · 15,149 bytestests/conftest.pyruns · 145 bytestests/fixtures/court/__init__.pyruns · 0 bytestests/fixtures/court/data.pyruns · 1,365 bytestests/fixtures/gov_policy/__init__.pyruns · 0 bytestests/fixtures/gov_policy/data.pyruns · 3,077 bytestests/fixtures/mee/__init__.pyruns · 0 bytestests/fixtures/mee/data.pyruns · 1,022 bytestests/fixtures/mod/__init__.pyruns · 0 bytestests/fixtures/mod/data.pyruns · 1,284 bytestests/fixtures/moj/__init__.pyruns · 0 bytestests/fixtures/moj/data.pyruns · 1,285 bytestests/fixtures/party/__init__.pyruns · 0 bytestests/fixtures/party/data.pyruns · 1,298 bytestests/fixtures/tax/__init__.pyruns · 0 bytestests/fixtures/tax/data.pyruns · 2,619 bytestests/test_article_search.pyruns · 3,561 bytestests/test_cache.pyruns · 12,365 bytestests/test_common.pyruns · 9,875 bytestests/test_court_law_crawler.pyruns · 6,893 bytestests/test_download.pyruns · 11,031 bytestests/test_gov_policy_library.pyruns · 12,503 bytestests/test_gov_rules_crawler.pyruns · 7,433 bytestests/test_live_sources.pyruns · 2,888 bytestests/test_mcp_tools.pyruns · 12,092 bytestests/test_mee_law_crawler.pyruns · 5,214 bytestests/test_mod_law_crawler.pyruns · 5,901 bytestests/test_moj_law_crawler.pyruns · 7,492 bytestests/test_new_sources_contract.pyruns · 6,167 bytestests/test_party_law_crawler.pyruns · 6,833 bytestests/test_region_classifier.pyruns · 3,502 bytestests/test_tax_law_crawler.pyruns · 11,497 bytes
Read excerpt
# Data Sources
| # | Database | Script | Source | Type |
|---|---|---|---|---|
| 1 | **国家法律法规数据库 (NPC)** | `scripts/download.py` | `flk.npc.gov.cn` | JSON API |
| 2 | **国家规章库 (Gov Rules)** | `scripts/gov_rules_crawler.py` | `gov.cn/zhengce/xxgk/gjgzk` | Athena API + HTML |
| 3 | **外交条约库 (Treaty)** | `scripts/treaty_crawler.py` | `treaty.mfa.gov.cn` | HTML |
| 4 | **国务院政策文件库** | `scripts/gov_policy_library.py` | `sousuo.www.gov.cn` | REST API (GET) |
| 5 | **司法部行政法规库** | `scripts/moj_law_crawler.py` | `xzfg.moj.gov.cn` | HTML |
| 6 | **党内法规库** | `scripts/party_law_crawler.py` | `www.12371.cn` | HTML |
| 7 | **国防部法规文库** | `scripts/mod_law_crawler.py` | `www.mod.gov.cn` | HTTP |
| 8 | **税务法规库** | `scripts/tax_law_crawler.py` | `fgk.chinatax.gov.cn` | REST API (POST) |
| 9 | **生态环境部法规规章** | `scripts/mee_law_crawler.py` | `mee.gov.cn` | HTML |
| 10 | **最高人民法院发布栏目** | `scripts/court_law_crawler.py` | `court.gov.cn` | HTML |