Agent skill

Route Legal Research

by lawve-ai in lawve-ai/awesome-legal-skills

Pick the right LLM for LEGAL RESEARCH & ANALYSIS — issue-spotting, rule application, case/statute analysis, memos, and multi-step agentic research.

AGPL-3.0-or-laterAuto-check passedLegal & Compliance

Install Route Legal Research

skills CLI
$ npx skills add lawve-ai/awesome-legal-skills --skill route-legal-research -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install lawve-ai/awesome-legal-skills route-legal-research --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/lawve-ai/awesome-legal-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/legal-ai-model-router-stephane-boghossian/skills/route-legal-research .claude/skills/route-legal-research && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
route-legal-research
GitHub stars
847
Token cost
~1.5k tokens
SKILL.md length
546 words
Files
2 (incl. references)
Skills in repo
154
Repo updated
First seen
Licence
AGPL-3.0-or-later

At a glance

Pick the right LLM for LEGAL RESEARCH & ANALYSIS — issue-spotting, rule application, case/statute analysis, memos, and multi-step agentic research.

  • Works in 3 steps: Infer, then ask only what's missing → Route using the scorecard → Output (use this exact shape)
  • Someone asks which model for legal research / case analysis / a memo
  • SKILL.md covers When this applies, Step 1 — Infer, then ask only…, Step 2 — Route using the… and Step 3 — Output (use this…, plus 1 more section
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Route Legal Research is an agent skill from lawve-ai/awesome-legal-skills. Pick the right LLM for LEGAL RESEARCH & ANALYSIS — issue-spotting, rule application, case/statute analysis, memos, and multi-step agentic research. Vendor-neutral routing grounded in mid-2026 benchmarks (Vals AI LegalBench across 124 models; Harvey Legal Agent Benchmark for agentic work). Asks up to 4 quick questions (cost, speed, accuracy/stakes, privacy/jurisdiction/language), then recommends a primary model + fallback + what to avoid + what a human must verify. Use when someone asks "which model for legal…

Its SKILL.md is about 1.5k tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files, including reference files (for example `references/scorecard.md`).

It sits in Legal & Compliance, covering Legal research. The repository describes itself as: A curated list of awesome Agent Skills for automating legal work. The licence is AGPL-3.0-or-later.

When your agent uses it

  • Someone asks which model for legal research / case analysis / a memo
  • Best AI for legal reasoning
  • Route this research task
  • Is starting legal analysis without a fixed model

Example prompts

  • “which model for legal research / case analysis / a memo”
  • “best AI for legal reasoning”
  • “route this research task”
  • “/route-legal-research”

Requirements

  • Pre-approved tools (allowed-tools): AskUserQuestion, Read

Workflow steps

3 steps, taken from the step headings in SKILL.md.

  1. Infer, then ask only what's missing
  2. Route using the scorecard
  3. Output (use this exact shape)

What it can do on your machine

Read from SKILL.md and the folder at commit 045f738. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • AskUserQuestion
    • Read

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Links to these hosts (documentation or services it may open):

    • vals.ai

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Route Legal Research loads about 1.5k tokens when it runs, and up to ~2.9k if it reads all its reference files. Until then it costs about 171 tokens; SKILL.md has 546 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~171
When it runs · the whole SKILL.md, loaded when a task matches
~1.5k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~2.9k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from lawve-ai/awesome-legal-skills at commit 045f738, republished under its AGPL-3.0-or-later licence (© lawve-ai). 546 words, ~1,541 tokens.

Download SKILL.mdSave it as .claude/skills/route-legal-research/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
route-legal-research
description
Pick the right LLM for LEGAL RESEARCH & ANALYSIS — issue-spotting, rule application, case/statute analysis, memos, and multi-step agentic research. Vendor-neutral routing grounded in mid-2026 benchmarks (Vals AI LegalBench across 124 models; Harvey Legal Agent Benchmark for agentic work). Asks up to 4 quick questions (cost, speed, accuracy/stakes, privacy/jurisdiction/language), then recommends a primary model + fallback + what to avoid + what a human must verify. Use when someone asks "which model for legal research / case analysis / a memo", "best AI for legal reasoning", "route this research task", or is starting legal analysis without a fixed model.
allowed-tools
AskUserQuestion, Read
version
0.1.0
triggers
which model for legal research or case analysis or a memo, best AI for legal reasoning, route this research task, which LLM for issue-spotting or rule…
license
AGPL-3.0-or-later

You are a model-routing advisor for legal research and analysis — issue-spotting, rule recall/ application, interpreting statutes and case law, and building memos or multi-step research. You recommend which model to reason with; you don't do the research here. Decision support, not legal advice.

When this applies

Issue-spotting · rule application · statutory/case interpretation · legal memos · multi-step ("agentic") research over a matter. (For pulling facts out of docs, use route-info-extraction. For assessing a specific contract, use route-contract-review.)

Step 1 — Infer, then ask only what's missing

Batched, multiple-choice, recommended-first:

  1. Stakes — Recommended: High for anything advising a client or informing a filing. Exploratory · Working analysis · High — client-facing / filed.
  2. Cost — Don't care · Balanced · Minimize.
  3. Speed — Recommended: Interactive (research is a loop). Batch fine · Interactive · Real-time.
  4. Jurisdiction / language / privacy — US/EN, cloud OK · Non-US or non-English · Privileged → self-host.

Default if "just pick": High stakes, Balanced cost, Interactive speed, US/EN cloud.

Step 2 — Route using the scorecard

LegalBench scorecard (Vals AI, 124 models, updated 2026-07-09). Legal reasoning accuracy across six task types. The top 10 sit inside ~2.9 points — rank is mostly noise; route on cost, speed, constraints.

ModelAccuracyCost In/Out (per M)LatencyRoute it for…
Claude Fable 588.56%$10 / $508.96sTop accuracy, but priciest — reserve for the hardest analysis.
Gemini 3.1 Pro Preview87.40%$2 / $1210.06sNear-top accuracy at a fraction of Fable's cost.
Gemini 3 Pro87.03%$2 / $128.33sSame, stable release.
GPT-5.6 Sol86.97%$5 / $306.20sFast + accurate; good interactive pick.
Gemini 3 Flash86.86%$0.5 / $34.67sDefault / value & speed champion — near-top accuracy, cheapest + fastest in the tier.
GPT-5.586.52%$5 / $3018.14sAccurate but slow; batch only.
GPT-5.4 (xhigh)86.04%$2.5 / $1527.79sSlow; avoid interactive.
Grok 4.585.97%$2 / $667.88s⚠️ Brutally slow — never in a research loop.
GPT-5 / GPT-5.1~86%$1.25 / $107–19sSolid mid-cost options.

Decision rules

  • Default (balanced) → Gemini 3 Flash: ~87% accuracy, cheapest ($0.5/$3), fastest (4.67s). On a benchmark this saturated, paying 20× for the #1 rank buys ~1.7 points.
  • Max accuracy, hardest question → Fable 5 (88.56%) or Gemini 3.1 Pro (87.4%, far cheaper).
  • Interactive research loop → Gemini 3 Flash (4.67s) or GPT-5.6 Sol (6.2s). Avoid Grok 4.5 (67.88s), GPT-5.4 xhigh (27.79s), GPT-5.5 (18s) — latency kills the loop.
  • Minimize cost / high volume → Gemini 3 Flash.
  • Privacy / on-prem → open models (DeepSeek, Qwen) trail on reasoning; usable with heavy verification only.
  • Non-US / non-English → LegalBench is US-law-centric; ranks may not transfer. Add a jurisdiction-qualified reviewer and route language via route-legal-translation.
Show full SKILL.md (133 more words)Show less

Agentic / long-horizon research (multi-step: gather → analyze → draft a review-quality work product): follow Harvey's Legal Agent Benchmark framing — no public scores yet, and the scaffold matters as much as the model (agentic scores swing ~30 points by harness). Use a strong reasoner + a citation-verification step and judge the system, not the model.

Step 3 — Output (use this exact shape)

PRIMARY:    <model> — <tie to axes; note the top cluster is close>
FALLBACK:   <model> — <when to switch>
ESCALATE IF: <trigger, e.g. "novel/high-stakes question"> → <stronger model>
AVOID:      <model> — <why>  (e.g. Grok 4.5 / GPT-5.4-xhigh when latency matters)
CONFIDENCE: low | med | high   (usually MED — models cluster; the risk is citations, not rank)
VERIFY:     **Every citation and rule reference** — even top models mis-cite (Vals showed FRCP Rule-QA
            errors). Hallucinated authority is the #1 legal-AI failure. Human sign-off on client-facing work.

If stakes are High: "Re-check https://www.vals.ai/benchmarks/legal_bench — the board updates and reranks."

Non-negotiables

  • Citations are the risk, not the rank. The models tie on reasoning; they differ in when they invent an authority. Verify sources every time.
  • Capability ≠ controllability (Wei Chen). A high score doesn't mean the model stays in scope or is safe to run unsupervised.
  • Deeper notes + methodology + sources: references/scorecard.md and repo data/scorecard-2026-07.md.
  • Routes models, not legal advice. A qualified lawyer owns the analysis.

© lawve-ai, AGPL-3.0-or-later. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 1 other file (references) in skills/legal-ai-model-router-stephane-boghossian/skills/route-legal-research of lawve-ai/awesome-legal-skills.

  • SKILL.md
  • references/scorecard.md

Open the folder on GitHubat commit 045f738

Compare with similar skills

Route Legal Research next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Route Legal Research compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Route Legal Research this skilllawve-ai/awesome-legal-skills847—~1.5kAutomated safety check: PassAGPL-3.0-or-later
Tw Legal RAGaa0101181514/tw-legal-rag328—~580Automated safety check: PassCustom licence
Design Award SearchSeanJ1ang/design-judge-skills712—~3kAutomated safety check: PassApache-2.0
China Lawyer AnalystCSlawyer1985/china-lawyer-analyst196—~3.3kAutomated safety check: PassNone
Billing And Litigation BudgetTHUYRan/Legal-Skills-Chinese874—~5kAutomated safety check: PassNone
Legal Issue ResearchGolden2002/legal-research-skill156—~6.8kAutomated safety check: PassMIT

Similar skills

  • Tw Legal RAG

    aa0101181514/tw-legal-rag

    Retrieve real Taiwan court judgments with verifiable citations before answering any question about Taiwan law or case law.

    328 GitHub stars~580 tokensUpdated today
    Legal & ComplianceAuto-check passed
  • Design Award Search

    SeanJ1ang/design-judge-skills

    Find and verify award-winning designs in the same or adjacent functional category through eight explicit relevance dimensions: problem and user, core function, sensing technology, intervention…

    712 GitHub stars~3k tokensUpdated 1 mo ago
    Legal & ComplianceAuto-check passed
  • China Lawyer Analyst

    CSlawyer1985/china-lawyer-analyst

    通过中国法律视角分析事件,运用成文法解释、指导案例参照、请求权基础分析等方法, 理解权利义务、评估责任风险、识别法律依据并推荐合规策略。

    196 GitHub stars~3.3k tokensUpdated 8 mo ago
    Legal & ComplianceAuto-check passed
  • Billing And Litigation Budget

    THUYRan/Legal-Skills-Chinese

    A skill your agent uses when the user needs to track or manage attorney hours, expert fees, and investigation costs; control litigation spend; or prepare timesheets or expense statements for clients.

    874 GitHub stars~5k tokensUpdated 1 mo ago
    Legal & ComplianceAuto-check passed
  • Legal Issue Research

    Golden2002/legal-research-skill

    中国法律全领域系统性检索专家. An agent skill from Golden2002/legal-research-skill.

    156 GitHub stars~6.8k tokensUpdated 1 mo ago
    Legal & ComplianceAuto-check passed
  • Tax Law Research

    Serein-81/financial_rag

    Searches current Chinese tax laws, rates and policy changes with Tavily web search, prioritizing government sources and flagging outdated or conflicting results.

    148 GitHub stars~997 tokensUpdated 4 mo ago
    Legal & ComplianceAuto-check: notes

More from lawve-ai/awesome-legal-skills

All 154 skills in this repo
  • Customs Trade Law Onur Kafkas

    lawve-ai/awesome-legal-skills

    U.S. An agent skill from lawve-ai/awesome-legal-skills.

    847 GitHub stars~4.1k tokensUpdated 8 days ago
    Auto-check passed
  • Eu Data Act Oliver Schmidt Prietz

    lawve-ai/awesome-legal-skills

    Practitioner skill for advising on EU Regulation 2023/2854 (Data Act).

    847 GitHub stars~3.9k tokensUpdated 8 days ago
    Auto-check passed
  • Litigation Deadline Calendar

    lawve-ai/awesome-legal-skills

    Calendar litigation and arbitration deadlines from a scheduling order.

    847 GitHub stars~4.3k tokensUpdated 8 days ago
    Auto-check passed
  • Outlook Emails Lawvable

    lawve-ai/awesome-legal-skills

    Read, search, and download emails and attachments from Microsoft Outlook via OAuth2.

    847 GitHub stars~672 tokensUpdated 8 days ago
    Auto-check passed
  • Ambiguity Report

    lawve-ai/awesome-legal-skills

    Turn an interpretive-ambiguity audit of a legal text — contract, statute, regulation, or judicial opinion — into a polished deliverable.

    847 GitHub stars~4.6k tokensUpdated 8 days ago
    Auto-check passed
  • Az Eu Website Privacy Audit

    lawve-ai/awesome-legal-skills

    Audits a website for compliance with Azerbaijan's Law on Personal Data No.

    847 GitHub stars~3.8k tokensUpdated 8 days ago
    Auto-check passed

Questions about Route Legal Research

What does Route Legal Research do?

Pick the right LLM for LEGAL RESEARCH & ANALYSIS — issue-spotting, rule application, case/statute analysis, memos, and multi-step agentic research. Route Legal Research is an agent skill from lawve-ai/awesome-legal-skills. Pick the right LLM for LEGAL RESEARCH & ANALYSIS — issue-spotting, rule application, case/statute analysis, memos, and multi-step agentic research.

When should I use Route Legal Research?

Route Legal Research fits situations like: someone asks which model for legal research / case analysis / a memo; best AI for legal reasoning; route this research task; is starting legal analysis without a fixed model.

How do I install Route Legal Research in Claude Code?

Run `npx skills add lawve-ai/awesome-legal-skills --skill route-legal-research -a claude-code`. Or copy the skill folder (skills/legal-ai-model-router-stephane-boghossian/skills/route-legal-research in lawve-ai/awesome-legal-skills) into .claude/skills/route-legal-research in your project. Claude Code loads it when a task matches its description.

How do I install Route Legal Research in Codex?

Run `npx skills add lawve-ai/awesome-legal-skills --skill route-legal-research -a codex`. Or copy the skill folder (skills/legal-ai-model-router-stephane-boghossian/skills/route-legal-research in lawve-ai/awesome-legal-skills) into .agents/skills/route-legal-research in your project. Codex loads it when a task matches its description.

Can I use Route Legal Research in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add lawve-ai/awesome-legal-skills --skill route-legal-research -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/route-legal-research, .gemini/skills/route-legal-research, .github/skills/route-legal-research and .opencode/skills/route-legal-research in your project.

What does Route Legal Research need to run?

SKILL.md names no scripts, command-line tools or credentials: Route Legal Research is instructions for the agent only. Its frontmatter pre-approves these tools: AskUserQuestion, Read.

Does Route Legal Research access the network?

SKILL.md names 1 domain. As links in the text: vals.ai. This is read from the text; nothing was executed.

Is Route Legal Research safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Route Legal Research use?

Route Legal Research is published under the AGPL-3.0-or-later licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Route Legal Research use?

About 1.5k tokens (SKILL.md is roughly 6.2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 1.4k tokens, read only when the agent opens those files.

What are the alternatives to Route Legal Research?

Skills that share tags, products or a category with Route Legal Research: Tw Legal RAG (aa0101181514/tw-legal-rag, 328 stars), Design Award Search (SeanJ1ang/design-judge-skills, 712 stars), China Lawyer Analyst (CSlawyer1985/china-lawyer-analyst, 196 stars) and Billing And Litigation Budget (THUYRan/Legal-Skills-Chinese, 874 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Route Legal Research?

lawve-ai (a GitHub organization) maintains it in lawve-ai/awesome-legal-skills, which has 847 GitHub stars. The repository holds 154 skills in this directory. The repository was last updated on October 2, 2026.

Source: lawve-ai/awesome-legal-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.