cn-law-hub skillB
cn-law-hub is agent-read markdown (skill) from zongziforu/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..
Indexed from public GitHub and served as immutable, content-addressed versions. Install it pinned to an exact SHA-256 with the mdr CLI, and every file is verified against the hash recorded here before it reaches your agent. The deterministic audit below grades the latest version, and the same file always earns the same grade.
What the file says
# 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 | All scripts share `--search`, `--info`, `--size`, `--output`, `--rate-limit`, `--no-cache`, `--cache-stats`, `--cache-clear`. Run `python <script> --help` for full parameter lists. --- # Core Rules ## Search Strategy (applies to ALL data sources) …
Read the whole file at its exact version.
How to install
mdr add zongziforu/cn-law-hub/cn-law-hub@git:20260720.625c873mdr add zongziforu/cn-law-hub/cn-law-hub@sha256:4fe4b6695a5d8ee8Pin to a label to follow the author's releases, or to a sha256 to freeze the exact bytes forever. Either way the resolved hash is written to mdr.lock, and mdr install reproduces it on any machine.
[](https://markdownregistry.com/a/art_bmz63ey5pgv6deny)
1 badge views in 30 days
Versions
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20260720.625c873 latest | 2026-07-20 | 625c873 | 9,765 B | B | view · diff |
| git:20260720.5f36222 | 2026-07-20 | 5f36222 | 27,582 B | A | view · diff |
| git:20260720.4105926 | 2026-07-20 | 4105926 | 28,239 B | A | view · diff |
| git:20260702.89c68e4 | 2026-07-02 | 89c68e4 | 26,396 B | A | view · diff |
| git:20260702.3f623d2 | 2026-07-02 | 3f623d2 | 26,271 B | A | view |
Audit of the latest version
- fail: No script tag (matched: <script)
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (9765 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
Source
zongziforu/cn-law-hub · 77 stars · license NOASSERTION · pushed 2026-09-21 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_bmz63ey5pgv6deny GET https://markdownregistry.com/api/v1/resolve?ref=zongziforu/cn-law-hub/cn-law-hub GET https://markdownregistry.com/api/v1/blob/4fe4b6695a5d8ee8a72166d7ede3ae70ed3532c57d2be09fcb02d058756d919a
Your agent does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.