Introduction¶
When asking legal questions in an Agent, common results tend to be generic, with vague legal citations and complaint formats that don’t meet the element-based requirements of courts. Checking the National People’s Congress Laws and Regulations Database (flk.npc.gov.cn) and using templates manually disrupts the workflow. The following introduces the “Legal Services” Skill on SkillHub (Coordinate: @user_5fa95d36/law-skills), which integrates consultation, legal clause cross-verification, drafting of complaints, and statute of limitations reminders into a single SKILL workflow.
What is this¶
“Legal Services” is a community-sourced, professional, one-stop legal Skill. Currently at version 6.0.0, it is developed, open-sourced, and maintained by Lawyer Ma Changcheng (contact listed on SkillHub page: WeChat: malvshi1156). Tagged with requires_api_key=false, it requires no separate API Key configuration after installation.
On SkillHub, this Skill has a rating of 100000, with 42228 cumulative downloads and 264 installations (data sourced from the SkillHub page and pre-fetched metadata).
Official Links:
- SkillHub Display Page: https://www.skillhub.cn/skills/user_5fa95d36/law-skills
- API Coordinate Page: https://api.skillhub.cn/user_5fa95d36/law-skills
Core Functions¶
The following capabilities are derived from the official introduction and SkillHub page descriptions.
Professional Legal Consultation¶
Targets currently valid laws and regulations in mainland China, covering common civil and commercial fields such as contract disputes, private lending, labor disputes, marriage and family, tort liability, and corporate governance. The analysis follows a five-step approach: Fact Sorting → Legal Classification → Legal Clause Retrieval → Analysis & Argumentation → Practical Advice, outputting structured legal opinions.
National Laws and Regulations Database Query¶
Built-in core legal knowledge base, capable of calling the official National People’s Congress database flk.npc.gov.cn for cross-verification of legal clauses. Outputs undergo a Logic Doctor five-dimension self-check: clause accuracy, logical coherence, timeliness, practical feasibility, and compliance.
Element-based & General Statements of Claim¶
Supports element-based statements of claim for 11 types of common causes of action (official list includes sales contract disputes, lending disputes, divorce litigation, labor disputes, traffic accident disputes, etc.; the page notes that this will be expanded). You provide the case description to the Agent; the Skill identifies the cause of action, asks for missing key elements in one go, and generates an element-based statement of claim. Non-standard causes of action automatically fall back to the general civil complaint template to avoid getting stuck on unknown causes.
Statute of Limitations Tracking¶
Automatically checks and reminds about litigation or arbitration limitations during the analysis process, such as the ordinary statute of limitations of 3 years, labor arbitration limitation of 1 year, and personal injury compensation of 3 years, to reduce the risk of missing claim deadlines.
Installation & Activation¶
Installation follows the unified SkillHub documentation skillhub.cn/install/skillhub.md. Alternatively, on the SkillHub skill page, you can send the following prompt to the AI, and the Agent will complete the installation according to the documentation:
Please install `@user_5fa95d36/law-skills` based on https://skillhub.cn/install/skillhub.md.
If the SkillHub CLI is not installed on your local machine, check or install it first:
command -v skillhub && skillhub --version
If not installed, you can execute a full installation (CLI + Default Skills):
curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash
To install only the CLI:
curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash -s -- --cli-only
When installing the Skill, you must use --dir to point to the current Agent’s skills directory; otherwise, it defaults to ./skills/, which the Agent might not be able to load. Common paths provided in SkillHub documentation are as follows:
| Environment | skills Directory |
|---|---|
| Cursor | ~/.cursor/skills/ |
| Claude Code | ~/.claude/skills/ |
| Codex | ~/.codex/skills/ or .agents/skills/ in the project |
| Windsurf | ~/.codeium/windsurf/skills/ or .windsurf/skills/ in the project |
Example command to install this Skill in the corresponding directory (replace <skills directory> with the path from the table above):
skillhub install user_5fa95d36/law-skills --dir <skills directory>
You can also search first before installing:
skillhub search law-skills
skillhub install user_5fa95d36/law-skills --dir <skills directory>
After installation, restart or refresh the Agent as required by your Client to enable the Skill.
Typical Usage¶
The official documentation does not provide fixed CLI sub-commands; usage is to trigger the corresponding capability via natural language in a conversation where the Skill is enabled. The examples below directly reproduce intent (please replace with real, anonymized case details).
Legal Consultation (Five-step Analysis)
I have a labor dispute: Joined in March 2024, and in August 2025, the company unilaterally terminated the contract citing "serious disciplinary violation," without paying economic compensation.
Please provide an opinion based on current Chinese mainland laws using the structure: Fact Sorting → Classification → Legal Clauses → Argumentation → Advice, and mark the limitations that need checking.
Legal Clause Cross-verification
Please query and cross-verify the articles in the "Civil Code" regarding private lending interest rates and the LPR four-times cap.
Prioritize the official flk.npc.gov.cn database and provide citations after performing a Logic Doctor self-check.
Element-based Statement of Claim
Cause of action: Sales contract dispute. The seller delivered goods in January 2025, but the buyer defaulted on 180,000 RMB in payment. The contract stipulates jurisdiction in the court where the plaintiff is located.
Please identify if the element-based template applies, ask me for the missing elements in one go, and then generate the element-based statement of claim.
Non-standard Cause of Action (General Template)
The cause of action is quite specific and might not be in the element-based list. Please first judge if it matches the 11 types of element-based causes.
If not, please use the general civil complaint template and explain which facts are still missing.
Applicable Scenarios & Notes¶
Who is it for
- Developers, legal assistants, or sole proprietors who need preliminary legal analysis and complaint draft organization within an Agent workflow.
- Users who want outputs to align as closely as possible with official legal sources (flk.npc.gov.cn) and element-based statement of claim format requirements.
Limitations & Precautions
- The Skill output is auxiliary material and cannot replace the opinion of a practicing lawyer or court filing review; major disputes, intersections of criminal and civil cases, and cross-border matters should be handled by licensed lawyers.
- Case details must be truthful and complete; the elements asked by the Agent directly affect the quality of the statement of claim.
- Limitation rules have exceptions based on the cause of action and start date; the Skill reminds of common deadlines, but final verification must be combined with specific facts and the latest judicial interpretations.
- This Skill does not require an API Key; if you configure a SkillHub priority source strategy simultaneously, it only affects “where to install” and does not change the fact that
requires_api_key=false.
Conclusion¶
The “Legal Services” Skill (v6.0.0) integrates five-step consultation analysis, National People’s Congress database cross-verification, 11 types of element-based statements of claim and general templates, and statute of limitations tracking into a single Skill. It is suitable for enabling in Agents that support SkillHub installation paths, such as Cursor, Claude Code, and Codex. Refer to SkillHub for installation and coordinates: https://www.skillhub.cn/skills/user_5fa95d36/law-skills .