Sommelier — AI skill for Claude Code
Claude Code plugin that picks the right model and effort for each task, using TypeSafe Jev judgments.
How to install Sommelier
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open wide3751/sommelier and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Sommelier does
Claude Code plugin that picks the right model and effort for each task, using TypeSafe Jev judgments.
Alternatives in AI
- Codex Skill — by klaudworks - Enables users to prompt codex from claude code 914 ★
- Klaatcode — Open-source AI coding agent for the terminal 357 ★
- Typesafe MCP — An mcp connector to evaluate anything fast and cheap 258 ★
README
English | [繁體中文](README.zh-TW.md) | [简体中文](README.zh-CN.md) | [日本語](README.ja.md) | [한국어](README.ko.md)
[](https://ko-fi.com/Y8H028VWRF)
sommelier: automatic model routing for Claude Code (a Claude Code mod)
A **Claude Code plugin**, built on **Claude Code mods** (the mods API's `turn.step`), that picks the model and effort for each task automatically. Quick lookups go to **Claude Haiku**, well-specified changes to **Claude Sonnet**, and investigation or design to **Claude Opus**, with **TypeSafe Jev** classifying each request — saving Claude Code usage without giving up quality.
The way a sommelier picks a wine for each dish, sommelier asks [TypeSafe Jev](https://docs.typesafe.ai) (a classification API that returns probabilities) three questions about each new request — **how much reasoning it needs**, **whether it starts a new task**, and **whether it is a high-risk operation** — and maps the answer onto a configurable ladder:
| Reasoning depth | Default rung | Example |
|---|---|---|
| L0 lookup or mechanical edit | haiku · medium | "Check the version in package.json" |
| L1 clear goal and approach | sonnet · medium | "Add a timezone parameter to parseDate" |
| L2 needs investigation or trade-offs | base (opus · medium) |
"Login sometimes returns 401, find out why" |
| L3 unbounded, needs long deliberation | opus · high | "Design a multi-tenant permission architecture" |
**Why not switch models every turn?** Each model keeps its own prompt cache, so switching models means writing the whole conversation into the cache again, which costs usage too. sommelier's rule is: **upgrade any time; downgrade only when it pays off** — on a new task, and only when the switching cost is lower than what it saves.
Quick start
claude plugin marketplace add wide3751/sommelier
Related Skills
Smart Task
Multiuse task command that routes work through a JEV-style triage step into the right effort lane and model ti
Claude Code Jev Router
Picks the model tier for a delegated Claude Code task before it spawns. Opt-in per repo, reversible in one com
Jev Agent Tools
Open-source single-file tools for AI agent builders, powered by Jev (TypeSafe AI's decision model): a loop det
Launch Agent
Analyze a task and launch the optimal agent with the right model, effort, and tools
Jevengineeringgate
Calibrated decision layer and risk gate for AI coding agents. Routes yes/no, routing and scoring judgments to
Daymods
Small, independent mods for Claude Code: install only the ones you want. Starting with autoroute, which picks
Related Agents
Typesafe Architect
Finds the shape of a TypeSafe solution: decides whether Jev fits at all, what stays in deterministic code, wha
Jev Judge
Reusable Judge/Verifier question-drafter for text-shaped deliverables — pass/fail, meets-bar yes/no, or rubric
Harness Scout
Picks the right AI agent harness for a described task or project. Use when the user asks "what harness/framewo