Routes any legal task to the right LLM, like OpenRouter but for legal work and grounded in benchmarks instead of brand loyalty. Built from mid-2026 legal evals (legalbenchmarks.ai, Vals AI × Stanford LegalBench across 124 models, Harvey's Legal Agent Benchmark, the Atticus Project's CUAD/MAUD/ACORD) plus translation evidence (WMT25, SwiLTra-Bench, ArabLegalEval). Covers five verticals: contract drafting, info extraction, legal research, contract review, and legal translation (including Arabic/MENA). Each asks up to four questions (cost, speed, accuracy/stakes, privacy/jurisdiction/language), then returns a primary model, a fallback, what to avoid, and what a human must verify. Core principle: capability is not controllability, so every route ends with a verification step. Not legal advice; a lawyer owns the output.
npx skills add https://github.com/lawve-ai/awesome-legal-skills --skill legal-ai-model-router-stephane-boghossian
You route legal work to the right LLM — a vendor-neutral, benchmark-grounded advisor, the legal analogue of
a model router like OpenRouter. You do not do the legal task; you recommend which model to do it with.
Decision support, not legal advice.
> Self-contained bundle. This install includes all five vertical guides under skills/ and the benchmark
> dataset at data/scorecard-2026-07.md (paths relative to this SKILL.md). When you pick a vertical, open that
> file directly and follow it.
No single model is best at legal work — the podium re-ranks by task. On mid-2026 benchmarks, Opus 4.8
tops contract *drafting* while GPT 5.6 Sol tops info *extraction*; the legal-*reasoning* leaders cluster
within ~3 points where cost and speed decide. Routing off a generalist leaderboard (or brand loyalty) picks
wrong. Route to the task, under the user's constraints, and always name what a human must still verify.
Map the request to one (or more) of:
| Vertical | Trigger | Read & follow this file |
|----------|---------|-------|
| Contract Drafting | generate / redline / rewrite contract language from instructions | skills/route-contract-drafting/SKILL.md |
| Info Extraction | pull clauses / dates / parties / obligations / fields out of documents | skills/route-info-extraction/SKILL.md |
| Legal Research & Analysis | issue-spot / apply rules / analyze case law / write a memo / agentic research | skills/route-legal-research/SKILL.md |
| Contract Review | assess an existing agreement for risk / deviations / conflicts + redline | skills/route-contract-review/SKILL.md |
| Legal Translation | translate contracts / statutes / case law across languages (incl. Arabic/MENA) | skills/route-legal-translation/SKILL.md |
skills/route-<vertical>/SKILL.md in this bundle and follow it.(skills/route-contract-review/SKILL.md for the review + skills/route-legal-translation/SKILL.md for the
language), and present a per-step recommendation. route-contract-review already handles the
extraction+reasoning+drafting blend.
Infer from the request; ask only what's missing, batched, multiple-choice, recommended-default-first:
If the user says "just pick," assume the defaults above and state that you did.
TASK: <vertical(s) detected>
PRIMARY: <model> — <one line tying the pick to the axes + benchmark>
FALLBACK: <model> — <when to switch>
ESCALATE IF: <trigger> → <stronger model / human>
AVOID: <model> — <why, for THIS task>
CONFIDENCE: low | med | high
VERIFY: <what a human must check> (+ live re-check link if stakes are High)
the model unsupervised. Governance is a separate axis.
before high-stakes routing (links in data/scorecard-2026-07.md).
and long-horizon work is under-measured. Add a qualified human for anything outside that box.
data/scorecard-2026-07.md in this bundle (single source of truth).skills/route-*/SKILL.md (+ its references/scorecard.md).This bundle routes models; it does not give legal advice. A qualified lawyer owns the work.
Generate Hugging Face Hub (huggingface_hub) release notes from cached PR JSON files. Use when asked to draft release notes from PR files.
> Find Earth2Studio models, data sources, and examples for a weather/climate use case. Do NOT use for writing inference code, downloading data, or installation.
> Guide installing Earth2Studio via uv or pip, selecting model extras, and configuring the environment. Do NOT use for writing inference code, choosing models, or PhysicsNeMo questions.
Tokenize, tag, and analyze natural language text using Apple's NaturalLanguage framework and translate between languages with the Translation framework. Use when adding language identification, sentiment analysis, named entity recognition, part-of-speech tagging, text embeddings, or in-app translation to iOS/macOS/visionOS apps.
Use as stage 2 of the Butterbase journey, after journey-idea has written 01-idea.md. Translates the idea + capability map into a concrete Butterbase plan — tables (with columns/types/RLS shape), auth providers, function list (name + trigger), storage buckets, AI/RAG/realtime/durable usage, and the chosen frontend stack. In hackathon mode, ruthlessly cuts scope into a "ship now" vs "post-hackathon" split. Produces docs/butterbase/02-plan.md.
| Extract per-subsection “anchor facts” (NO PROSE) from evidence packs so the writer is forced to include concrete numbers/benchmarks/limitations instead of generic summaries.
Authors Apache Airflow DAGs declaratively from dag-factory YAML configs. Use when building DAGs declaratively from YAML via dag-factory; creating/editing dag-factory templates/YAML configs,reating/editing dag-factory YAML configs, defaults, dynamic tasks, datasets, or callbacks; or validating dag-factory configurations; upgrading or re-pinning dag-factory.
>- into writable context) under ~25k tokens, separate "read" from "edit", delegate breadth to a read-only repo-map, and drop files once edited. Use when an LLM coder-agent edits multiple files, when the working set must stay focused, or when the model starts editing the wrong file / missing targets because too much context dilutes attention. Search working file budget, context dilution, lost in the middle.
Take lawve-ai/legal-ai-model-router-stephane-boghossian from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.