tencent-ima-copilot-legal-consultation

Diagnose legal disputes through staged fact-finding and RAG-based statute and case retrieval.

11|2|Updated Mar 2, 2026
One-click install
npx skills add https://github.com/legalskill/legalskill --skill tencent-ima-copilot-legal-consultation-legalskill
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: tencent-ima-copilot-legal-consultation
Source: https://github.com/legalskill/legalskill/tree/main/skill/tencent-ima-copilot-legal-consultation
Command: npx skills add https://github.com/legalskill/legalskill --skill tencent-ima-copilot-legal-consultation-legalskill

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve? Legal questions often get shallow or hallucinated AI answers because models skip fact-gathering and cite unverifiable statutes. This Skill enforces a lawyer-style workflow—facts first, then law—with mandatory retrieval grounding so every cited statute and case traces back to a searchable source. ## Core Features & Use Cases - Five-Stage Diagnosis: User profiling, scenario-based fact mining across 8 legal domains (contracts, torts, family, labor, criminal, administrative, corporate, IP), then retrieval, tiered strategy, and actionable output. - Dual Modes with Smart Routing: Quick mode for fast directional answers (RAG-only, capped results) and expert mode with multi-round query reformulation, Tier A/B/C layered reading, and structured citation lists. - Anti-Hallucination Safeguards: Mandatory source tracing, statute validity status labeling, cross-consistency checks, and a 38-item pre-output verification checklist. - Use Case: A user asks "my landlord won't return my deposit"—the Skill classifies it as a contract dispute, asks targeted follow-up questions, searches subscribed legal knowledge bases via RAG (or web search as fallback), and outputs a structured opinion with verified statute citations and next-step actions. ## Quick Start Describe your legal problem in plain language, such as "my employer fired me without cause, can I claim compensation?", and the Skill will guide you through fact confirmation and deliver a sourced legal analysis.

Frequently Asked Questions about tencent-ima-copilot-legal-consultation

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I get a legal consultation with cited statutes using AI?

Describe your legal problem in plain language, such as a landlord deposit dispute or wrongful termination. The Skill asks targeted fact-finding questions, retrieves statutes and cases from legal knowledge bases via RAG, and outputs a structured opinion with numbered, source-verified citations.

What legal scenarios does this consultation skill cover?

It covers eight domains: contracts and debt, torts and personal injury, marriage and family, labor disputes, criminal risk, administrative compliance, corporate and equity, and intellectual property. Each domain has a dedicated fact-mining framework with targeted follow-up questions.

Does this legal skill work without ima.copilot knowledge bases?

Yes. It silently probes RAG availability first; if no legal knowledge base is subscribed or the tool is unavailable, it automatically falls back to web search and labels sources accordingly. RAG search always runs before web search when available.

How does the skill prevent AI hallucination in legal citations?

Every statute and case citation must trace to an actual retrieval hit, with statute validity status labeled (current, repealed, amended). A mandatory pre-output checklist of 38 verification items blocks any citation that cannot be word-for-word verified against retrieved content.

What is the difference between quick mode and expert mode?

Quick mode uses only subscribed knowledge bases with one search round per path, at most 3 statutes and 2 cases, and a brief opinion template. Expert mode runs multi-round query reformulation, tiered full-text reading, adversarial analysis, and a complete opinion with tiered strategy.

When should I not use this legal consultation skill?

Do not use it to issue formal legal opinions, draft legal documents, or replace a licensed attorney in court. It provides preliminary legal research only, and every output includes a disclaimer advising consultation with a practicing lawyer.