Introduction¶
When asking legal questions in an Agent, two common issues arise: the model arbitrarily citing legal provisions, or the format of the complaint not matching the cause of action. Checking flk.npc.gov.cn manually and then drafting documents requires switching between browsers and editors. The following introduces the Bao Zheng SKILL (@indiv-ebandao/baozheng) on SkillHub: it encapsulates consulting, legal regulation retrieval, element-based or general complaint drafting, and assistance with specific criminal materials into a reusable Skill workflow. It prioritizes the National Legal and Regulatory Database API for legal provisions and has a clear fallback path when unavailable.
What is This¶
Bao Zheng SKILL is a community Skill on SkillHub, externally named “Bao Zheng.SKILL”. The current API label indicates the latest version is v1.0.3, categorized under professional, subcategory Legal Compliance. The maintainer is listed on SkillHub as Zhihui & Peninsula (owner handle: user_741dc82b). One of the official data entry points is https://api.skillhub.cn/user_741dc82b/baozheng; the SkillHub page and installation identifier is @indiv-ebandao/baozheng (https://www.skillhub.cn/skills/indiv-ebandao/baozheng).
The Skill describes itself as an “expert legal team” assistant: providing professional legal consultation, element-based/general complaint drafting, criminal-specific material assistance, and legal analysis and regulation retrieval. The Skill metadata indicates requires_api_key: false, meaning generally no separate Skill platform API Key configuration is needed to enable it after installation (refer to the specific SkillHub entry for details).
Core Functions¶
The following capabilities are derived from the summary provided by SkillHub for this Skill, as well as the same field returned by the public API.
Regulation Retrieval & Source Annotation¶
- Prioritizes calling the flk.npc.gov.cn real-time legal provision API; falls back to the AI knowledge base if unavailable.
- Legal sources are annotated in four tiers: Verified-flk API, Verified-Single Source, Cited-Offline Library, Unverified-Model Generated.
- Deliverables include itemized confidence levels for Laws/Facts/Amounts/Procedure at the end, facilitating manual review.
Documents & Templates¶
- Supports 35 complaint templates; automatically switches to a General Template for non-standard causes of action.
- Covers both element-based and general complaint drafting paths.
Domains & Routing¶
- Constrains routing boundaries with a 22-category legal domain coverage matrix to prevent the Agent from “broad answering” in irrelevant domains.
Criminal & Other Specialized Tasks¶
- Provides assistance for 5 types of criminal-specific materials (specific types depend on the instructions within the Skill).
Process & Reliability¶
- Logic Doctor for self-checking logic, Statute of Limitations tracking.
- 10 types of exception fault tolerance (including circuit breaking on consecutive failures).
- Progressive Intent Convergence Protocol (3-round state machine): gradually narrows down demands during multi-turn dialogue.
- Hybrid Intent Automatic Task Decomposition: sorts by dependency → merges → executes sequentially.
- Anti-pattern checklist; Crisis Intervention Exit: for situations involving suicide, domestic violence, or abuse of minors, intervention guidelines are followed prior to any legal analysis.
Installation & Enablement¶
The installation process follows the SkillHub official documentation at https://skillhub.cn/install/skillhub.md.
1. Install SkillHub CLI¶
First, check if it is already installed:
command -v skillhub && skillhub --version
If not installed, you can install only the CLI:
curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash -s -- --cli-only
2. Install Bao Zheng SKILL¶
When installing, you must use --dir to point to the current Agent’s skills directory. Otherwise, it defaults to ./skills/, which the Agent may fail to load.
Cursor example:
skillhub install @indiv-ebandao/baozheng --dir ~/.cursor/skills/
Claude Code example:
skillhub install @indiv-ebandao/baozheng --dir ~/.claude/skills/
Codex CLI example (choose either project or user directory, consistent with the current environment):
skillhub install @indiv-ebandao/baozheng --dir ~/.codex/skills/
The equivalent prompt provided on the SkillHub page is: Install @indiv-ebandao/baozheng according to https://skillhub.cn/install/skillhub.md. After installation, restart or reload the skills directory as required by the client being used.
Typical Usage¶
After the Skill is successfully installed, simply describe the legal task in the conversation; complex requirements will trigger intent convergence and task decomposition. The following examples demonstrate the entry points only and do not constitute legal advice.
Legal Consultation + Legal Retrieval¶
I have a labor contract dispute: the company verbally adjusted my position and reduced my salary in March 2024. Please use Bao Zheng SKILL to explain the possible claims involved, retrieve relevant legal provisions, and annotate the source tier and itemized confidence levels.
Complaint Drafting¶
Cause of action: Private lending. Please draft according to the element-based complaint template, listing the plaintiff, defendant, litigation claims, facts, and reasons; if the cause of action is not within the standard templates, switch to the general template and explain why.
Hybrid Task (Consultation + Document + Limitation Period)¶
First determine if this case may have exceeded the statute of limitations and record the starting point, then retrieve applicable legal provisions, and finally generate a general complaint draft; if the flk API is unavailable, explain the basis for the fallback.
Crisis Situations (Priority over Analysis)¶
If the conversation involves self-harm, domestic violence, or abuse of minors, the Skill is designed to output crisis intervention guidelines prior to legal analysis; in such scenarios, priority should be given to seeking offline emergency help, and one should not rely solely on model output.
Applicable Scenarios & Notes¶
Who is it for
- Those who need verifiable and source-annotated preliminary research within an Agent.
- Those who need structured drafts for complaints or criminal-specific materials to be reviewed and finalized by a practicing lawyer.
- Those who want to use the 22-category domain matrix and 3-round intent convergence to reduce goal divergence within a single conversation.
Limitations & Notes
- The output is auxiliary material and cannot replace the opinions of practicing lawyers or determinations by judicial authorities; matters involving litigation, criminal issues, or large sums of money must be manually reviewed.
- When legal provisions fall back to the AI knowledge base or the “Unverified-Model Generated” tier, official texts and lawyer opinions should prevail.
- SkillHub API indicates that reports by Keen, Sanbu, etc., state this Skill is “Safe, No Risk”; however, it is still recommended to check the latest version and security report links on the SkillHub page before installation.
- The community Skill’s
claim_stateis unclaimed; please assess compliance and privacy yourself before use (do not paste sensitive information such as unnecessary ID numbers or complete bank account numbers in the conversation).
Conclusion¶
Bao Zheng SKILL integrates flk-prioritized legal retrieval, source & confidence annotation, complaint templates with general fallback, statute of limitations & logic self-checking, and crisis intervention priority into a single Agent workflow. If you are performing legal-related automation in environments like Cursor, Claude Code, or Codex, you can install @indiv-ebandao/baozheng using the commands above, and continuously verify version notes via the SkillHub official page and data entry: https://www.skillhub.cn/skills/indiv-ebandao/baozheng, https://api.skillhub.cn/user_741dc82b/baozheng.