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
Install
npx skills add ZongziForu/cn-law-hub --skill cn-law-hubgit clone --depth 1 https://github.com/ZongziForu/cn-law-hub.git /tmp/cn-law-hub
mkdir -p ~/.claude/skills
cp -r /tmp/cn-law-hub/. ~/.claude/skills/cn-law-hubPersonal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.
From the SKILL.md
# 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).
Details
- Skill name
cn-law-hub- Repository
- ZongziForu/cn-law-hub
- License
- Apache-2.0
- Repo updated
- 15 October 2026
FAQ
What does the Cn Law Hub skill do?
用于查询、检索、核验、下载、导出、批量采集中国官方法律法规、规章、条约和具体法条。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
How do I install the Cn Law Hub skill?
skills CLI (Claude Code, Cursor, Codex and more): npx skills add ZongziForu/cn-law-hub --skill cn-law-hub. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.
Is Cn Law Hub popular?
It lives in ZongziForu/cn-law-hub, which has 87 GitHub stars and 16 forks.
Related skills
Graphify Novel
79Anshler/graphify-novel
Novel writing assistant — init bible from premise, review passages for consistency, update the plot tree, manage threads and character arcs
Linkedin Outreach
52vanshyadav1408/Omentir
Run LinkedIn prospecting and outreach through Omentir MCP. Use this when Claude, a Cursor agent, or Grok Bot should find people, score fit, draft messages, or check campaigns. Never sign into LinkedIn in a browser.
Technical Proposal Expert
88yanhaoluo0/technical-proposal-expert-writing-skill
MUST be used when writing, drafting, or polishing Chinese formal documents. Use when the user asks for 技术标书, 投标, 招标, 技术方案, 投标书, 方案设计报告, 系统设计说明, 测试报告, 测试总结, 工作周报, 周总结, or unspecified 公文/方案/文档. Also use when the document type is unclear and a writing scene must be chosen first.
Content to Skill
106gnipbao/content-to-skill
Converts arbitrary source material into an executable structured Codex skill package. Use when the user provides text, notes, documents, PDFs, transcripts, videos, courses, articles, repositories, workflows, chat logs, or rough ideas and asks to turn them into a Skill, SKILL.md, skill scaffold, reusable agent workflow, operational prompt, or structured capability. Also use for 把内容变成skill, 文档转skill, 视频转skill, 课程转skill, 工作流沉淀成skill, or 从资料生成可执行Skill.
Minto Pyramid
89millwright-labs/minto-pyramid-skill
Restructures writing into Barbara Minto's Pyramid Principle — conclusion first, then grouped reasons, then evidence — and audits an existing draft's logic against Minto's rules. Use when the user is writing, or has drafted, something that asks a reader to accept a judgment or make a decision: a recommendation, proposal, exec summary, memo, review with a verdict, or status update with an ask; or when a draft buries its point or narrates the process instead of the finding. Not for incident timelines, runbooks, tutorials, notes, or writing where chronology is the content.
Readme Visual Kit
152tianfuzhibuyuci/readme-visual-kit
Create three source-referenced README diagrams (overview, architecture and quickstart) as light/dark SVGs, editable JSON and an offline preview. Use when someone wants to explain a repository visually or improve an open-source project README, rather than build a general diagram editor.
Browse the most popular Claude skills, all writing & content skills, or write your own with the skills generator.