Skip to content
Agentmart
Submit a tool

legal-ai-model-router-stephane-boghossian

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

Skill by Stephane Boghossian

IndexedAGPL-3.0★ 895
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/lawve-ai-legal-ai-model-router-stephane-boghossian

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

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.

Use cases: documents, design, ml, research

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/legal-ai-model-router-stephane-boghossian

What's inside

Skill 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.
License
AGPL-3.0
Metadata
author: Stephane Boghossian · license: agpl-3.0 · version: 2026-07-14
Instructions
73 lines in SKILL.md · view on GitHub

Agent Skills spec issues

  • allowed-tools: must be a space-separated string
  • files: referenced but missing: references/scorecard.md

Files (13)

  • README.md
  • SKILL.md
  • scorecard-2026-07.md · data/
  • SKILL.md · skills/route-contract-drafting/
  • scorecard.md · skills/route-contract-drafting/references/
  • SKILL.md · skills/route-contract-review/
  • scorecard.md · skills/route-contract-review/references/
  • SKILL.md · skills/route-info-extraction/
  • scorecard.md · skills/route-info-extraction/references/
  • SKILL.md · skills/route-legal-research/
  • scorecard.md · skills/route-legal-research/references/
  • SKILL.md · skills/route-legal-translation/
  • scorecard.md · skills/route-legal-translation/references/

SKILL.md (first lines)

# Legal AI Model Router

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:

| 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` |

- **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.

## 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.

From lawve-ai/awesome-legal-skills, AGPL-3.0.

More from lawve-ai/awesome-legal-skills

Signals

Stars
895
Forks
119
Open issues
7
Last commit (this folder)
Jul 30, 2026 (3 months ago)

From GitHub (fetched Oct 24, 2026).

Details

Version
2026-07-14
License
AGPL-3.0
Website
lawve.ai
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from Stephane Boghossian

Cite this page

legal-ai-model-router-stephane-boghossian skill. Agent Mart. https://agentmart.dev/skills/lawve-ai-legal-ai-model-router-stephane-boghossian (last updated 2026-10-24)