cn-law-hub SKILL.md skillB
cn-law-hub from zongziforu/cn-law-hub is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add zongziforu/cn-law-hub/cn-law-hub@git:20260720.625c873Pins git:20260720.625c873 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- B, 16 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- zongziforu/cn-law-hub
- Path
SKILL.md- Versions recorded
- 5
- Latest version
- git:20260720.625c873, committed Jul 20, 2026
- First version recorded
- Jul 2, 2026
- Size
- 9,765 bytes
- Repository stars
- 92
- License
- Apache-2.0
用于查询、检索、核验、下载、导出、批量采集中国官方法律法规、规章、条约和具体法条。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.
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file 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@sha256:4fe4b6695a5d8ee8The line at the top of this page pins the label git:20260720.625c873, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_bmz63ey5pgv6deny)
2 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 5 versions of this file, between Jul 2, 2026 and Jul 20, 2026, about one every 4 days. Its first recorded version is graded A and its latest B.
| 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
Starting a new one? Use a template for SKILL.md on mdpantry, which passes every one of these checks and says what to change in it.
Source
zongziforu/cn-law-hub · 92 stars · license Apache-2.0 · pushed 2026-10-15 · 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 AI assistant 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.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.