Agent skill

Legal AI Model Router Stephane Boghossian

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

Routes any legal task to the right LLM, like OpenRouter but for legal work and grounded in benchmarks instead of brand loyalty.

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

Install Legal AI Model Router Stephane Boghossian

skills CLI
$ npx skills add lawve-ai/awesome-legal-skills --skill legal-ai-model-router-stephane-boghossian -a claude-code

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

GitHub CLI
$ gh skill install lawve-ai/awesome-legal-skills legal-ai-model-router-stephane-boghossian --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 .claude/skills/legal-ai-model-router-stephane-boghossian && 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
legal-ai-model-router-stephane-boghossian
GitHub stars
847
Token cost
~1.5k tokens
SKILL.md length
540 words
Files
4
Skills in repo
154
Repo updated
First seen
Licence
AGPL-3.0-or-later

At a glance

Routes any legal task to the right LLM, like OpenRouter but for legal work and grounded in benchmarks instead of brand loyalty.

  • Works in 3 steps: Classify the vertical → The four intake axes (shared by every… → Output (uniform across the bundle)
  • Tasks that involve Model routing and gateways
  • SKILL.md covers The one idea, Step 1 — Classify the vertical, Step 2 — The four intake axes… and Step 3 — Output (uniform…, plus 2 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Legal AI Model Router Stephane Boghossian is an agent skill from lawve-ai/awesome-legal-skills. 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…

Its SKILL.md is about 1.5k tokens, which your agent loads only when the skill is triggered. The skill folder holds 4 other files (for example `README.md` and `data/scorecard-2026-07.md`).

It sits in Legal & Compliance, covering Model routing and gateways, Contract review and Legal research. It works with OpenRouter. 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

  • Tasks that involve Model routing and gateways
  • Tasks that involve Contract review
  • Tasks that involve Legal research

Example prompts

  • “s Legal Agent Benchmark, the Atticus Project”
  • “Use the legal-ai-model-router-stephane-boghossian skill to route any legal task to the right LLM, like OpenRouter but for legal work and grounded in…”
  • “/legal-ai-model-router-stephane-boghossian”

Requirements

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

Workflow steps

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

  1. Classify the vertical
  2. The four intake axes (shared by every vertical)
  3. Output (uniform across the bundle)

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):

    • github.com

    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

Legal AI Model Router Stephane Boghossian loads about 1.5k tokens when it runs. Until then it costs about 217 tokens; SKILL.md has 540 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~217
When it runs · the whole SKILL.md, loaded when a task matches
~1.5k

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). 540 words, ~1,493 tokens.

Download SKILL.mdSave it as .claude/skills/legal-ai-model-router-stephane-boghossian/SKILL.md (or your agent's skills folder). This skill also uses 3 other files; get the full folder from GitHub.
name
legal-ai-model-router-stephane-boghossian
description
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.
allowed-tools
AskUserQuestion, Read
version
0.1.0
triggers
which model or LLM should I use for this legal task, route this legal work to the right model, best AI model for a legal task, pick a model for me
license
AGPL-3.0-or-later
metadata.author
Stephane Boghossian
metadata.license
agpl-3.0
metadata.version
2026-07-14

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.

The one idea

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.

Step 1 — Classify the vertical

Map the request to one (or more) of:

VerticalTriggerRead & follow this file
Contract Draftinggenerate / redline / rewrite contract language from instructionsskills/route-contract-drafting/SKILL.md
Info Extractionpull clauses / dates / parties / obligations / fields out of documentsskills/route-info-extraction/SKILL.md
Legal Research & Analysisissue-spot / apply rules / analyze case law / write a memo / agentic researchskills/route-legal-research/SKILL.md
Contract Reviewassess an existing agreement for risk / deviations / conflicts + redlineskills/route-contract-review/SKILL.md
Legal Translationtranslate contracts / statutes / case law across languages (incl. Arabic/MENA)skills/route-legal-translation/SKILL.md
  • One vertical → open the matching skills/route-<vertical>/SKILL.md in this bundle and follow it.
  • Composite task (e.g. "review this Arabic MSA and redline it") → decompose: route each sub-task (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.
  • Not legal → this bundle doesn't apply; say so.
Show full SKILL.md (258 more words)Show less

Step 2 — The four intake axes (shared by every vertical)

Infer from the request; ask only what's missing, batched, multiple-choice, recommended-default-first:

  1. Accuracy / stakes — how bad is a wrong answer? (default High for anything client- or filing-facing)
  2. Cost — willingness to pay per task / at volume (default Balanced)
  3. Speed — batch vs interactive vs real-time (default Interactive)
  4. Privacy / jurisdiction / language — cloud vs on-prem, which law, which language (default US/EN cloud)

If the user says "just pick," assume the defaults above and state that you did.

Step 3 — Output (uniform across the bundle)

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)

Guardrails baked into every route

  • Capability ≠ controllability (Wei Chen, Atticus Project): a top benchmark score is not permission to run the model unsupervised. Governance is a separate axis.
  • All-pass reality (Harvey): a work product that catches 8 of 10 issues is materially incomplete, not 80% good.
  • Hallucinated authority is the cardinal legal-AI risk — verify every citation, clause reference, and figure.
  • Benchmarks drift monthly and disagree. Treat the baked-in scorecard as a prior; re-check the live boards before high-stakes routing (links in data/scorecard-2026-07.md).
  • Coverage is narrow: the underlying benchmarks are largely English + US/UK; non-English, non-US, multi-turn, and long-horizon work is under-measured. Add a qualified human for anything outside that box.

Data & provenance

  • Baked scorecard + methodology + live sources: data/scorecard-2026-07.md in this bundle (single source of truth).
  • Per-vertical detail: each skills/route-*/SKILL.md (+ its references/scorecard.md).
  • Snapshot: 2026-07. If today is much later, re-pull the live boards before trusting ranks.
  • Source repo (updates + issues): https://github.com/sboghossian/legal-ai-model-router

This bundle routes models; it does not give legal advice. A qualified lawyer owns the work.

© 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 3 other files in skills/legal-ai-model-router-stephane-boghossian of lawve-ai/awesome-legal-skills.

  • SKILL.md
  • README.md
  • data/scorecard-2026-07.md
  • skills

Open the folder on GitHubat commit 045f738

Compare with similar skills

Legal AI Model Router Stephane Boghossian 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.

Legal AI Model Router Stephane Boghossian compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Legal AI Model Router Stephane Boghossian this skilllawve-ai/awesome-legal-skills847—~1.5kAutomated safety check: PassAGPL-3.0-or-later
Add Modelget-convex/convex-evals130—~1.5kAutomated safety check: NotesApache-2.0
Evals Run On Demandelastic/kibana21k—~2.6kAutomated safety check: NotesCustom licence
Run Deep Swesickn33/agentic-awesome-skills47k1 repos~1.2kAutomated safety check: PassMIT
Finnish Legal Document Reviewakunikkola/claude-for-legal-finland109—~3.4kAutomated safety check: PassMIT
Clause Comparatorrohasnagpal/legal-ai-skills180—~2.7kAutomated safety check: PassMIT

Similar skills

  • Add Model

    get-convex/convex-evals

    Add a new model to the convex-evals coding leaderboard, and optionally the decision benchmark, through a PR, then dispatch its baseline runs.

    130 GitHub stars~1.5k tokensUpdated yesterday
    AI & LLM EngineeringAuto-check: notes
  • Evals Run On Demand

    elastic/kibana

    Official

    Trigger an on-demand @kbn/evals Buildkite run by describing what you want in plain English.

    21k GitHub stars~2.6k tokensUpdated today
    AI & LLM EngineeringAuto-check: notes
  • Run Deep Swe

    sickn33/agentic-awesome-skills

    Run reproducible DeepSWE coding-agent benchmark evaluations through OpenRouter and mini-swe-agent.

    47k GitHub starsUsed in 1 repo~1.2k tokens
    AI & LLM EngineeringAuto-check passed
  • Finnish Legal Document Review

    akunikkola/claude-for-legal-finland

    Checks a Finnish legal document, such as a contract, statement, appeal or decision, in eight stages, looking for errors, gaps and risks before it is signed or submitted.

    109 GitHub stars~3.4k tokensUpdated 3 mo ago
    Legal & ComplianceAuto-check passed
  • Clause Comparator

    rohasnagpal/legal-ai-skills

    Compares the same clause or provision across draft rounds, precedents, public agreements or a portfolio and reports what differs in wording and effect.

    180 GitHub stars~2.7k tokensUpdated yesterday
    Legal & ComplianceAuto-check passed
  • Contract Drafter

    rohasnagpal/legal-ai-skills

    Drafts a complete contract from a term sheet, negotiated heads or plain instructions — parties, recitals, definitions, operative clauses, schedules and boilerplate — in a specified posture and…

    180 GitHub stars~3.6k tokensUpdated yesterday
    Legal & ComplianceAuto-check passed

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

Works with

Questions about Legal AI Model Router Stephane Boghossian

What does Legal AI Model Router Stephane Boghossian do?

Routes any legal task to the right LLM, like OpenRouter but for legal work and grounded in benchmarks instead of brand loyalty. Legal AI Model Router Stephane Boghossian is an agent skill from lawve-ai/awesome-legal-skills. Routes any legal task to the right LLM, like OpenRouter but for legal work and grounded in benchmarks instead of brand loyalty.

When should I use Legal AI Model Router Stephane Boghossian?

Legal AI Model Router Stephane Boghossian fits situations like: tasks that involve Model routing and gateways; tasks that involve Contract review; tasks that involve Legal research.

How do I install Legal AI Model Router Stephane Boghossian in Claude Code?

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

How do I install Legal AI Model Router Stephane Boghossian in Codex?

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

Can I use Legal AI Model Router Stephane Boghossian 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 legal-ai-model-router-stephane-boghossian -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/legal-ai-model-router-stephane-boghossian, .gemini/skills/legal-ai-model-router-stephane-boghossian, .github/skills/legal-ai-model-router-stephane-boghossian and .opencode/skills/legal-ai-model-router-stephane-boghossian in your project.

What does Legal AI Model Router Stephane Boghossian need to run?

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

Does Legal AI Model Router Stephane Boghossian access the network?

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

Is Legal AI Model Router Stephane Boghossian 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 Legal AI Model Router Stephane Boghossian use?

Legal AI Model Router Stephane Boghossian 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 Legal AI Model Router Stephane Boghossian use?

About 1.5k tokens (SKILL.md is roughly 6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Legal AI Model Router Stephane Boghossian?

Skills that share tags, products or a category with Legal AI Model Router Stephane Boghossian: Add Model (get-convex/convex-evals, 130 stars), Evals Run On Demand (elastic/kibana, 21k stars), Run Deep Swe (sickn33/agentic-awesome-skills, 47k stars) and Finnish Legal Document Review (akunikkola/claude-for-legal-finland, 109 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Legal AI Model Router Stephane Boghossian?

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.