cn-law-hublisted
Install: claude install-skill ZongziForu/cn-law-hub
# 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)
**Decide before calling the script — never default to fuzzy for everything:**
- **Known title** (e.g. "物业管理条例", "北京市生活垃圾管理条例"): use `--exact` to reduce noise.
- **Broad topic** (e.g. "出租车", "环境保护"): use fuzzy search (default).
- **Full-text match**: add `--range content` when you need documents where the keyword