Retrieval of Chinese Judgments and Similar Cases: Conducting Queries within an Agent

Preface

In legal research, judgment documents are often scattered across multiple public databases, and changing a single keyword can lead to missed cases; similar case comparison also requires manually piecing together conditions like cause of action, court, and time. If you are using a client with “Skills” support, such as Cursor or Claude Code, and wish to query cases, filter courts, or perform similar case matching on uploaded materials using natural language, it is necessary to encapsulate the “retrieval capability” into a Skill callable by the Agent, rather than writing search queries manually or switching to an independent website every time.

Below is an introduction to the Chinese Judgment Document Case Retrieval (@user_f26b93e2/case-retrieval, v1.0.2) on SkillHub, an intelligent judgment document retrieval tool designed for legal practitioners and general users.

What is this

Chinese Judgment Document Case Retrieval is a community-sourced (community) case retrieval Skill classified as professional. The publisher is user_f26b93e2; the SkillHub page attributes the authorship to Deli Technology. The official description positions it as a tool to be used when retrieving judgment cases, finding rules for similar cases, filtering cases by cause of action/court/time, or uploading files for case matching.

The Skill tag is requires_api_key=false, meaning that according to SkillHub’s public information, it does not rely on users configuring an API Key themselves. The current version is 1.0.2, coordinate @user_f26b93e2/case-retrieval.

Core Functions

The following capabilities are derived from the official SkillHub introduction; implementation details not separately expanded upon on the page are not inferred:

  1. Judgment Case Retrieval: Find relevant judgment documents using natural language or clear search intent.
  2. Similar Cases & Judgment Rules: Supports similar case retrieval and understanding judgment rules for similar cases around dimensions such as cause of action.
  3. Structured Filtering: Can narrow down results based on conditions such as cause of action, court, and time.
  4. File Matching: Supports uploading files to perform matching-based retrieval against existing cases.

Common trigger phrases include: “Search for cases regarding XX,” “Find judgments about XX,” “Case law from the XX court,” “Similar case search,” “Are there any similar cases,” “Judgment rules for the cause of action XX,” etc. In an Agent with the Skill installed, using the above phrases will guide the model to invoke this Skill, rather than just performing a general web search.

Installation and Activation

The installation process follows the general SkillHub instructions (skillhub.md). First, confirm if the skillhub CLI is already present on your machine:

command -v skillhub && skillhub --version

If not installed, you can use the officially recommended one-click installation (including CLI and 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 this Skill, you must use --dir to point to the current Agent’s skills directory; otherwise, it will default to ./skills/, which the Agent may not recognize. Common path examples given in the official documentation:

  • Cursor: ~/.cursor/skills/
  • Claude Code: ~/.claude/skills/
  • Codex: ~/.codex/skills/ or .agents/skills/ under the project

Execute the following in the corresponding directory:

skillhub install @user_f26b93e2/case-retrieval --dir ~/.cursor/skills/

Replace ~/.cursor/skills/ with the actual Agent path you are using. You can also ask the AI to install it according to the official prompt within the conversation:

Please install `@user_f26b93e2/case-retrieval` according to https://skillhub.cn/install/skillhub.md.

After installation, restart or refresh the Skills list as required by your client, then use the trigger methods described below in your conversation.

Typical Usage

The official page does not provide fixed CLI subcommands or example JSON returns. The typical usage is: Describe your search requirements in natural language within a conversation where the Skill is enabled. The following expressions are consistent with the official trigger words and can be used to reproduce the interaction directly (specific return content depends on the Skill implementation and backend data sources; this article does not fabricate judgment text):

  1. Search cases by topic
    “Search for cases related to economic compensation for the termination of labor contracts.”

  2. Search precedents by court
    “Find judgments from the Beijing Haidian District People’s Court regarding internet infringement.”

  3. Similar case retrieval
    “Are there any cases similar to the following facts: [Brief description of the case].”

  4. Check judgment rule tendencies by cause of action
    “In cases involving disputes over sales contracts, what are the judgment rules regarding the adjustment of liquidated damages?”

  5. Upload files for matching
    In a conversation that supports attachments, upload a complaint, a excerpt from a judgment, etc., and specify: “Use this material to perform similar case retrieval / find similar cases.”

Following the steps above, the Agent should route to the Chinese Judgment Document Case Retrieval Skill to execute the retrieval and filtering, rather than relying solely on the model’s built-in knowledge to answer.

Use Cases and Notes

Who is it for

  • Lawyers, legal counsel, law students, and others who need to quickly pull judgment documents and perform similar case comparisons.
  • Non-legal background users who need to check “if there are similar judgments” using colloquial questions.

Things to note

  • Search results should be based on the original text of the documents and official legal opinions; the Skill output is suitable for lead generation and preliminary screening but does not replace formal legal advice.
  • SkillHub publicizes the Skill rating as 100000 and approximately 3730 downloads (page data is updated); when selecting, you may evaluate the maintenance rhythm yourself combined with the version number v1.0.2 and the community source.
  • “No API Key required” simply indicates the SkillHub tag; if configuration items change in future versions, the SkillHub page and the SKILL.md within the package shall prevail.

Conclusion

Chinese Judgment Document Case Retrieval consolidates judgment document retrieval, similar case rules, multi-dimensional filtering, and file matching into a single Skill coordinate @user_f26b93e2/case-retrieval. It is suitable for completing the first step of the similar case workflow using natural language within Agents like Cursor. See the SkillHub Installation Documentation for installation and priority source instructions; Skill details page: https://www.skillhub.cn/skills/user_f26b93e2/case-retrieval. API Entry: https://api.skillhub.cn/user_f26b93e2/case-retrieval.

羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye