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.
Pick the right LLM for LEGAL RESEARCH & ANALYSIS — issue-spotting, rule application, case/statute analysis, memos, and multi-step agentic research.
$ npx skills add lawve-ai/awesome-legal-skills --skill route-legal-research -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install lawve-ai/awesome-legal-skills route-legal-research --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ 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-srcUse ~/.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/
Install the "route-legal-research" agent skill from https://github.com/lawve-ai/awesome-legal-skills/tree/main/skills/legal-ai-model-router-stephane-boghossian/skills/route-legal-research into .claude/skills/route-legal-research/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "route-legal-research", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/lawve-ai/awesome-legal-skills/tree/main/skills/legal-ai-model-router-stephane-boghossian/skills/route-legal-researchType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add lawve-ai/awesome-legal-skills --skill route-legal-research -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install lawve-ai/awesome-legal-skills route-legal-research --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/lawve-ai/awesome-legal-skills.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/legal-ai-model-router-stephane-boghossian/skills/route-legal-research .agents/skills/route-legal-research && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "route-legal-research" agent skill from https://github.com/lawve-ai/awesome-legal-skills/tree/main/skills/legal-ai-model-router-stephane-boghossian/skills/route-legal-research into .agents/skills/route-legal-research/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "route-legal-research", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add lawve-ai/awesome-legal-skills --skill route-legal-research -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install lawve-ai/awesome-legal-skills route-legal-research --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/lawve-ai/awesome-legal-skills.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/legal-ai-model-router-stephane-boghossian/skills/route-legal-research .cursor/skills/route-legal-research && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "route-legal-research" agent skill from https://github.com/lawve-ai/awesome-legal-skills/tree/main/skills/legal-ai-model-router-stephane-boghossian/skills/route-legal-research into .cursor/skills/route-legal-research/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "route-legal-research", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/lawve-ai/awesome-legal-skills.git --path skills/legal-ai-model-router-stephane-boghossian/skills/route-legal-research--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add lawve-ai/awesome-legal-skills --skill route-legal-research -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install lawve-ai/awesome-legal-skills route-legal-research --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/lawve-ai/awesome-legal-skills.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/legal-ai-model-router-stephane-boghossian/skills/route-legal-research .gemini/skills/route-legal-research && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "route-legal-research" agent skill from https://github.com/lawve-ai/awesome-legal-skills/tree/main/skills/legal-ai-model-router-stephane-boghossian/skills/route-legal-research into .gemini/skills/route-legal-research/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "route-legal-research", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install lawve-ai/awesome-legal-skills route-legal-researchInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add lawve-ai/awesome-legal-skills --skill route-legal-research -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/lawve-ai/awesome-legal-skills.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/legal-ai-model-router-stephane-boghossian/skills/route-legal-research .github/skills/route-legal-research && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "route-legal-research" agent skill from https://github.com/lawve-ai/awesome-legal-skills/tree/main/skills/legal-ai-model-router-stephane-boghossian/skills/route-legal-research into .github/skills/route-legal-research/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "route-legal-research", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add lawve-ai/awesome-legal-skills --skill route-legal-research -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install lawve-ai/awesome-legal-skills route-legal-research --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/lawve-ai/awesome-legal-skills.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/legal-ai-model-router-stephane-boghossian/skills/route-legal-research .opencode/skills/route-legal-research && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "route-legal-research" agent skill from https://github.com/lawve-ai/awesome-legal-skills/tree/main/skills/legal-ai-model-router-stephane-boghossian/skills/route-legal-research into .opencode/skills/route-legal-research/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "route-legal-research", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
route-legal-researchPick 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. 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.
3 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit 045f738. It shows what the files ask for, not the result of running them.
Pre-approves these tools, so the agent can use them without asking each time:
AskUserQuestionReadFrom allowed-tools in the SKILL.md frontmatter.
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.
Links to these hosts (documentation or services it may open):
vals.aiFrom URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
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.
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.
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.
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.
.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.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.
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.)
Batched, multiple-choice, recommended-first:
Exploratory ·
Working analysis · High — client-facing / filed.Don't care · Balanced · Minimize.Batch fine · Interactive · Real-time.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.
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.
| Model | Accuracy | Cost In/Out (per M) | Latency | Route it for… |
|---|---|---|---|---|
| Claude Fable 5 | 88.56% | $10 / $50 | 8.96s | Top accuracy, but priciest — reserve for the hardest analysis. |
| Gemini 3.1 Pro Preview | 87.40% | $2 / $12 | 10.06s | Near-top accuracy at a fraction of Fable's cost. |
| Gemini 3 Pro | 87.03% | $2 / $12 | 8.33s | Same, stable release. |
| GPT-5.6 Sol | 86.97% | $5 / $30 | 6.20s | Fast + accurate; good interactive pick. |
| Gemini 3 Flash | 86.86% | $0.5 / $3 | 4.67s | Default / value & speed champion — near-top accuracy, cheapest + fastest in the tier. |
| GPT-5.5 | 86.52% | $5 / $30 | 18.14s | Accurate but slow; batch only. |
| GPT-5.4 (xhigh) | 86.04% | $2.5 / $15 | 27.79s | Slow; avoid interactive. |
| Grok 4.5 | 85.97% | $2 / $6 | 67.88s | ⚠️ Brutally slow — never in a research loop. |
| GPT-5 / GPT-5.1 | ~86% | $1.25 / $10 | 7–19s | Solid mid-cost options. |
Decision rules
route-legal-translation.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.
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."
references/scorecard.md and repo data/scorecard-2026-07.md.© 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
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.
Open the folder on GitHubat commit 045f738
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.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Route Legal Research this skilllawve-ai/awesome-legal-skills | 847 | — | ~1.5k | Automated safety check: Pass | AGPL-3.0-or-later | |
| Tw Legal RAGaa0101181514/tw-legal-rag | 328 | — | ~580 | Automated safety check: Pass | Custom licence | |
| Design Award SearchSeanJ1ang/design-judge-skills | 712 | — | ~3k | Automated safety check: Pass | Apache-2.0 | |
| China Lawyer AnalystCSlawyer1985/china-lawyer-analyst | 196 | — | ~3.3k | Automated safety check: Pass | None | |
| Billing And Litigation BudgetTHUYRan/Legal-Skills-Chinese | 874 | — | ~5k | Automated safety check: Pass | None | |
| Legal Issue ResearchGolden2002/legal-research-skill | 156 | — | ~6.8k | Automated safety check: Pass | MIT |
aa0101181514/tw-legal-rag
Retrieve real Taiwan court judgments with verifiable citations before answering any question about Taiwan law or case law.
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…
CSlawyer1985/china-lawyer-analyst
通过中国法律视角分析事件,运用成文法解释、指导案例参照、请求权基础分析等方法, 理解权利义务、评估责任风险、识别法律依据并推荐合规策略。
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.
Golden2002/legal-research-skill
中国法律全领域系统性检索专家. An agent skill from Golden2002/legal-research-skill.
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.
lawve-ai/awesome-legal-skills
U.S. An agent skill from lawve-ai/awesome-legal-skills.
lawve-ai/awesome-legal-skills
Practitioner skill for advising on EU Regulation 2023/2854 (Data Act).
lawve-ai/awesome-legal-skills
Calendar litigation and arbitration deadlines from a scheduling order.
lawve-ai/awesome-legal-skills
Read, search, and download emails and attachments from Microsoft Outlook via OAuth2.
lawve-ai/awesome-legal-skills
Turn an interpretive-ambiguity audit of a legal text — contract, statute, regulation, or judicial opinion — into a polished deliverable.
lawve-ai/awesome-legal-skills
Audits a website for compliance with Azerbaijan's Law on Personal Data No.
Categories
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.
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.
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.
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.
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.
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.
SKILL.md names 1 domain. As links in the text: vals.ai. This is read from the text; nothing was executed.
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.
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.
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.
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.
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.