# case-retrieval

> Professional Chinese judicial case search and rule induction powered by the Deli Legal API.

case-retrieval is a free AI agent skill on Agensi by alan zhou, in Finance & Accounting. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: Free
- Creator: [alan zhou](https://www.agensi.io/creators/alan-zhou)
- Category: [Finance & Accounting](https://www.agensi.io/skills/finance-accounting)
- Uses: 5
- Version: 1.0
- Last updated: 2026-05-27
- Security: scan passed (2026-05-27); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/case-retrieval
- Tags: finance, case-law, china-law, document-retrieval, legal-tech, search

## About this skill

### Overview

The **Case Retrieval Skill** is a professional-grade tool designed for legal practitioners and developers building legal AI agents. It provides a structured interface to the Deli Legal (得理) Open Platform API, enabling precise searching and analysis of Chinese judicial documents (judgments, rulings, and mediation documents).

### What it does

- **Keyword & Fact-Based Search:** Supports both precise keyword filtering (case numbers, courts, causes of action) and long-text semantic matching for complex case facts.

- **Intelligent Summarization:** Automatically extracts core facts, disputed issues, and key judicial reasoning from lengthy documents.

- **Rule Induction:** Compares multiple cases to synthesize consistent judicial rules and decision-making patterns.

- **Structured Formatting:** Returns clean, professional tables and detailed case profiles, including party information and trial procedures.

### Why use this skill

Unlike standard AI prompts that may hallucinate or rely on outdated training data, this skill connects your agent to a live, authoritative database. It enforces strict constraints on data fetching, ensuring that legal citations are accurate and complete. It handles complex tasks like "similar case matching" (类案检索) by mapping natural language descriptions to professional legal vectors, a task standard LLMs often struggle with for Chinese law.

### Output format

The skill produces well-structured Markdown responses, including case list tables, detailed case profiles with bolded catchphrases, and comparative analysis grids for multi-case research.

## Known limitations

- Restricted to Chinese judicial data via Deli Legal API.
- Cannot query statutes/regulations directly.
- Maximum 10 results per request.

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the case-retrieval skill from Agensi" and describe your task.
3. Your agent loads the skill from Agensi when it needs it. Nothing is downloaded.

## Frequently asked questions

### How does 'case-retrieval' improve my legal agent's accuracy compared to standard GPT models?

This skill acts as a bridge between your AI agent and the Deli Legal database, allowing it to perform professional 'similar case matching' (类案检索) and rule induction using live Chinese judicial documents rather than relying on an LLM's static training data.

### Do I need my own Deli Legal API key to use this skill?

No, you do not need a separate subscription; your purchase includes a managed connection to the Deli Legal API. Access is handled through the skill's integrated interface, ensuring you get professional-grade results without managing complex third-party credentials.

### Which AI agent platforms or frameworks are compatible with this skill?

The skill is designed for cross-platform compatibility and can be integrated into most AI agent frameworks (such as Dify or Coze) that support external tools or API extensions. It delivers responses in structured Markdown, making it easy for your agent to display tables and profiles to the end user.

### Can I search for cases using natural language descriptions of facts instead of just keywords?

Unlike general search tools, this skill supports long-text semantic matching, allowing you to input full fact descriptions or paragraphs from a client's case to find legally similar precedents based on reasoning and outcomes.

### What is included in the case-retrieval skill package?

When you purchase this skill, you receive the production-ready tool configuration, comprehensive documentation on input parameters, and access to all future version updates to ensure continued compatibility with the underlying legal database.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
