Case Retrieval

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

Install
cmdop skills install agensi-case-retrieval

Case Retrieval is a skill that provides a structured interface to the Deli Legal (得理) Open Platform API, giving AI agents access to Chinese judicial documents including judgments, rulings, and mediation documents. It is built for legal practitioners and developers constructing legal AI agents that need accurate, live case data rather than relying on a language model’s training knowledge.

The skill supports two search modes: precise keyword filtering by case number, court name, or cause of action, and long-text semantic matching that maps natural language descriptions of case facts to professional legal vectors. This makes it suited for similar-case matching (类案检索), a task that requires domain-specific vectorization of Chinese legal concepts.

Once cases are retrieved, the skill can automatically extract core facts, identify disputed issues, and surface key judicial reasoning from lengthy documents. For multi-case research, it compares several cases to synthesize consistent judicial rules and decision-making patterns — a process referred to as rule induction.

Output is delivered as structured Markdown: case list tables, detailed case profiles that include party information and trial procedure details, and comparative analysis grids for multi-case work. The skill enforces strict data-fetching constraints to keep legal citations accurate and complete.

This skill is not appropriate for legal systems outside China, for non-judicial document types, or for workflows that do not require access to the Deli Legal API.

Use cases

  • Search Chinese court judgments by case number, court name, or cause of action
  • Find similar precedent cases using a natural language description of disputed facts
  • Summarize lengthy judicial rulings into core facts, disputed issues, and key reasoning
  • Compare multiple cases to identify consistent judicial decision-making patterns
  • Generate structured case profiles including party information and trial procedures for legal reports
  • Build legal AI agents that cite live, authoritative Chinese judicial documents

When to use it

  • Building AI agents that need to cite or analyze Chinese judicial decisions
  • Conducting similar-case research (类案检索) using Chinese legal concepts
  • Automating extraction and summarization of information from lengthy Chinese court documents
  • Synthesizing judicial rules across a set of related Chinese cases

When not to use it

  • Researching legal systems outside China — the skill covers Chinese judicial documents only
  • Looking up legislation, regulations, or legal scholarship rather than court documents
  • Workflows that cannot integrate with the Deli Legal Open Platform API
  • Use cases requiring non-Markdown output formats not produced by this skill