Introduction¶
In litigation and advisory work, similar case retrieval often involves screening scopes in judgment databases, matching claims with facts, and compiling a submittable “Case Retrieval Report.” Manually switching between multiple systems and verifying case numbers and judgment texts one by one is time-consuming and prone to inconsistencies. Below is an introduction to the community skill on SkillHub: “(Fast Version) Case Retrieval Report Plus.” By using five key case points as anchors within an Agent conversation, it completes recall, scoring, and ranking after a single confirmation, outputting a DOCX report with footers. It is suitable for scenarios where speed and a finished draft are required. For requirements involving four-quadrant classification, targeted retrieval of adverse cases, or multi-round refined judgment, the full version “Case Retrieval Report Plus” should be used instead.
What is This¶
One-sentence positioning: Rapid retrieval of similar cases from courts in Mainland China + Generation of a “Case Retrieval Report” (DOCX).
- Coordinate:
@user_08c66eae/case-retrieval-report-chinese-mainland-court-case-plus - Version: 6.0.0 (Source: community, Category: professional)
- Published by: SkillHub user
user_08c66eae(The page lists the author as Lawyer Gong Jiayong) - Data Foundation: Huayu Yuandian Legal Data MCP
- Tags:
requires_api_key=false(According to the SkillHub page, separate API Key configuration is not mandatory)
Official Page: SkillHub - (Fast Version) Case Retrieval Report Plus
Core Functions¶
The following capabilities are derived from the official SkillHub description and should be understood in execution order.
Retrieval Anchors and Single Confirmation¶
Input is organized based on five key case points: Cause of Action/Legal Relationship, Focus of Dispute, Key Facts, Our Client’s Claims and Litigation Status, and Legal Basis for Claims. Before starting, a single four-question confirmation is required; among these, the geographical scope of retrieval and the time range of judgments are mandatory selections. The default range is “Cases judged by courts within Zhejiang Province after January 1, 2021“—after the user selects the default, this scope must be echoed back as a prompt.
Matching Rules and Scoring¶
High matching is determined by the three elements of Legal Basis for Claims, Legal Relationship, and Case Facts:
| Scenario | Scoring Dimensions | Max Score |
|---|---|---|
| User specifies the search for cases with a particular outcome direction | Three elements + Outcome Similarity (Four elements) | 10 points |
| User does not specify the outcome direction | Only three elements; outcome similarity is not counted towards high matching | 8 points |
The r1 judgment must verify the version and temporal validity of legal articles; citations of repealed or invalid old legal articles must not receive a full score.
Recall, Ranking, and Deduplication¶
- Recall: Primarily uses semantic vector retrieval, with precise structural retrieval as a fallback condition.
- Local Scripts: After weighted scoring, the ranking priority is: Score Rate > Court Hierarchy > Trial Procedure > Judgment Date.
- Deduplication: Detects duplicate entries with the same court, same date, and same title; suspected duplicates do not occupy a slot in the final list.
Report Generation and API Call Budget¶
- Selects the 5–10 most similar cases, fetching details for each, verifying case numbers, and excerpting original judgment text.
- Outputs a DOCX containing footers and page numbers, defaulting to saving to the Desktop.
- The entire process requires only 1 manual confirmation; retrieval calls are controlled within 2 recalls + ≤10 detail fetches; retrieval is frozen during the report generation phase.
Outcome Direction and Disclosure¶
- When outcome is not specified: Cases with high three-element matching but opposing judgment results may be included in the report, with the outcome direction noted for each case.
- When outcome is specified: Cases with opposing results are strictly excluded.
- The report includes two fixed statements explaining the limitation regarding the absence of a “targeted search for adverse precedents” path.
Installation and Activation¶
SkillHub CLI must be present on the local machine before installation. The skill must be installed into the current Agent’s skills directory; otherwise, the default ./skills/ may not be recognized.
1. Check or Install SkillHub CLI¶
command -v skillhub && skillhub --version
If not installed, run the full installation script (recommended in documentation):
curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash
2. Install this Skill¶
The official page requires adherence to the SkillHub Installation Documentation. Install using the coordinate:
skillhub install @user_08c66eae/case-retrieval-report-chinese-mainland-court-case-plus --dir <skills directory>
Replace <skills directory> with the actual path for your current client, for example:
- Cursor:
~/.cursor/skills/ - Claude Code:
~/.claude/skills/ - Codex:
~/.codex/skills/or.agents/skills/under the project
After installation, restart or refresh the Agent according to the client’s convention to load the skill.
Typical Usage¶
Trigger via natural language in the conversation; typical expressions listed by the official source include:
- “Quickly search for similar cases”
- “Find a few favorable cases”
- “Fast version case retrieval report”
- “Search for 5 to 10 similar cases and generate a report”
- “Generate a similar case retrieval report docx”
Recommended workflow:
- Briefly describe the case and claims according to the five key points, and prepare to select the region and judgment time (or confirm the default: Zhejiang, after 2021-01-01).
- In the four-question confirmation step, clarify whether the judgment outcome direction is specified (this affects whether four-element/three-element scoring is used and whether opposing results are included).
- Wait for recall and detail verification to complete, and receive the DOCX on the Desktop (or the default path specified by the skill).
Use Cases and Notes¶
Who is it for
- Lawyers and legal counsel who need to obtain 5–10 similar cases and a structured draft retrieval report within a short timeframe.
- Users with an Agent environment that supports SkillHub skills and can integrate with Huayu Yuandian Legal Data MCP.
Boundary with the Full Version
Use the full version skill “Case Retrieval Report Plus” instead of this fast version if you require:
- Four-quadrant classification
- Targeted retrieval of adverse (counter-example) cases
- Supplementary recall and multi-round iteration
- Refined judgment based on a 14-point hard/soft condition system
Usage Notes
- The default geographical and time scope focuses on Zhejiang and cases from 2021 onwards; for cross-region or earlier judgments, changes must be made in the four-question step, and the echo-back must be confirmed.
- When the outcome direction is not specified, cases with opposing results may be included (direction will be noted); once specified, opposing cases will be excluded.
- The fixed statements in the report disclose that “targeted search for adverse precedents” is not a separate path; it should not replace the fine-tuned adversarial retrieval design found in the full version.
Conclusion¶
“(Fast Version) Case Retrieval Report Plus” condenses similar case retrieval into a single confirmation, limited API calls, and a ready-to-use DOCX, making it suitable for checklist-style similar case reporting scenarios. For installation and details, see SkillHub:
- Skill Page: https://www.skillhub.cn/skills/user_08c66eae/case-retrieval-report-chinese-mainland-court-case-plus
- API Entry: https://api.skillhub.cn/user_08c66eae/case-retrieval-report-chinese-mainland-court-case-plus