CN Law Hub skill

A skill that searches and verifies PRC laws across ten official sources: articles, current validity, text downloads.

  • 94 ★ on the repository
  • Last commit
  • Apache-2.0
Skill

Extended access

Why this level

  • The scripts call Chinese agency sites, download files and write them to disk
All reasons and checks

zongziforu/cn-law-hub

Install

In your terminal, with SkillFoxx CLI

npx skillfoxx add skills/cn-law-hub

Detects the agents on your machine, shows the access level and pins the version.

Other ways to install

Access and checks

How we review

Extended accessThe tool runs code or makes network calls and only reads external data.

  • The scripts call Chinese agency sites, download files and write them to disk

This is third-party code. Review the repository files before installing.

What it does

CN Law Hub gives an agent search of Chinese laws and regulations across ten official databases: the NPC legislation database, the rules database, MFA treaties, State Council documents, the Ministry of Justice, intra-party regulations, the Ministry of National Defense, the tax service, the Ministry of Ecology and Environment and the Supreme People's Court site. It finds specific articles, searches text across several acts at once, filters current editions and downloads official originals. Usually there is no need to run scripts: the agent picks the source and parameters from `SKILL.md`, and the skill can be invoked with `/cn-law-hub`. There is an optional MCP mode with a stdio server and five tools. Typical requests: find Article 38 of the Labor Contract Law in its current edition, list valid local regulations, find articles containing the word for liquidated damages.

Who it is for. Lawyers and analysts who need references to valid PRC acts from official sources.

Good fit when

  • An exact article of a law is needed with a check that the edition is valid.
  • For a labor dispute possible legal grounds are collected from acts valid now.
  • You need to download originals of regulations or export a catalog for a report.
  • A contract is checked against tax and environmental rules across different databases.

Not a fit when

  • You need legal advice or an opinion: the skill finds norms and does not replace a lawyer.
  • Another country's law: only mainland China and its official databases are covered.
  • Chinese agency sites are not reachable from your machine.

Example request

Find Article 38 of the PRC Labor Contract Law and quote the current edition.

Limitations

The skill reads official Chinese agency sites, so they must be reachable from your network and speed depends on the sites themselves. Python 3.10 or newer and `pip install -r requirements.txt` are needed, and for old Word documents `antiword` and `catdoc` are installed. The MCP mode is optional and requires `pip install "mcp>=2.0.0"`. README materials are in Chinese. What is found serves as a reference: validity and edition should be checked by a lawyer before use in a dispute or contract. Ten databases are covered and other sources and regional sites may be missing.

How to disable. Delete the skill folder from the agent skills directory or the server entry from `.mcp.json`. Downloaded files stay on disk.

FAQ

How many sources are there?

Ten official databases: NPC, agency rules, MFA treaties, State Council, Justice, party regulations, Defense, tax, environment and the Supreme Court.

Do I run scripts by hand?

Usually no: the agent picks the source and parameters from `SKILL.md`. You can invoke the skill with `/cn-law-hub`.

How does the MCP version differ?

It is a stdio server with five tools for any MCP client. The skill stays the main path and MCP is optional.

How do I filter current editions?

The skill can select valid acts and show their status, listed among its features. The status should be confirmed before use.

Which agents does it suit?

Claude Code, Codex, Kimi and others with skill support, and for MCP also Cline and Cursor.

Discussion

No questions or reviews yet.

Skills

A skill that guides an agent through Chinese legal sources, from statutes to judicial interpretations, into a templated report.

SkillMinimal access168Repository stars

58 skills for lawyers under Chinese law: advice, litigation, criminal defence, contracts, compliance and source checks.

SkillExtended access114Repository stars

A collection of 71 skills for lawyers in China: OCR and transcription of materials, case and judgment analysis, contracts, patents, trademarks

SkillBroad access796Repository stars

An MCP server for Korea's official legal database: search statutes, case law and ordinances, and verify article citations against fabrications

MCP serverExtended access2.9KRepository stars

A skill reads a project and builds materials for registering software in China: code, manual and form data, then helps submit.

SkillExtended access115Repository stars

A Codex plugin that helps workers in mainland China organize facts and evidence in a labor dispute and estimate payouts.

PluginExtended access105Repository stars

README in short

The README lists ten sources, usage scenarios and sample requests, the Skill and MCP modes and dependency setup. Codex and Kimi have separate reference pages.

README badge

Report a problem