Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By Nunley-Media-Groupv0.14.1MITIn 1 marketplace
Puts non-Claude models into Claude Code's /model picker through the user's own provider logins, with an Anthropic guard on every routed request.
Code that runs inside Claude Code on every session, as you, unsandboxed.
Claude Code asks for these when you enable the plugin. Sensitive values are stored in your system keychain.
Routed auto-mode permissionsroutedAutoPermissions
How auto mode decides tool calls from routed models: claude-classifier or server-classifier-off. Unset follows whether the session has a first-party Anthropic login
string
1 critical to review before installing
JavaScript or TypeScript that runs inside Claude Code as you, unsandboxed. Read from its source, it decides whether tool calls may run; runs programs; makes network requests; writes files; reads files; reads environment variables (APPDATA, CLAUDE_CONFIG_DIR, DBUS_SESSION_BUS_ADDRESS, HOME, LOCALAPPDATA, OS, USERPROFILE, XDG_CONFIG_HOME, XDG_DATA_HOME); reads your settings; runs commands; calls a model on your account; changes what Claude reads (system prompt, context, reminders).
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
A Claude Code mod that puts models from other providers (OpenCode Go, ClinePass, ChatGPT/Codex, xAI and more) into Claude Code's /model picker alongside Claude, so one Claude Code toolchain drives every model.
Claude models keep using your own Claude login, sent straight to Anthropic by Claude Code itself. Other models are answered by the mod through each provider's own credentials. The mod never handles Claude credentials.
Status: early development.
curl gives streaming replies. Without it, replies arrive whole.In Claude Code, run these two commands:
/plugin marketplace add Nunley-Media-Group/nmg-plugins
/plugin install nmg-router@nmg-plugins
Update with /plugin marketplace update nmg-plugins, and uninstall with /plugin uninstall nmg-router@nmg-plugins.
To try a local checkout of this repository instead, run claude --plugin-dir . from its root.
Run /login to open "Select provider to login". It lists Anthropic and every enabled provider, with each one's login status.
Run /logout to remove a login. It lists Anthropic and each provider with stored credentials, and marks the (active) account.
Run /model with no arguments to open the model hub. It lists "All models", then Claude, then each provider with its model count. A provider that needs a login is listed only after you log in to it, with /login.
provider/model, such as opencode-go/kimi-k3.1-pro. /model <id> switches straight to one.Routed models also appear in Claude Code's own picker. The mod keeps a modelPicker row for each one in your user settings, because Claude Code lists only model ids containing "claude" on its own.
Set the effort level with Claude Code's effort setting, as you would for Claude. The mod sends each provider's own reasoning field, and the level is clamped to what the routed model supports: max becomes medium on a model that supports only low and medium. A model with no reasoning levels gets none.
The status line shows the routed model and the effective level.
Claude Code's status-line input carries rate limits only for Claude, so a custom statusLine command cannot see a routed model's plan usage from it. The mod also writes the selected routed model's usage windows to a file for that command to read.
<config dir>/nmg-router/status/<session id>.json. Windows: <config dir>\nmg-router\status\<session id>.json.CLAUDE_CONFIG_DIR when it is set, else ~/.claude (%USERPROFILE%\.claude on Windows).version (1), sessionId, provider, model and windows. Each window has a label, a usedPercent and, when the provider reports it, resetsAt in epoch milliseconds. It holds no token, key or account.sessionId and model match the status-line input's session_id and model.id.windows empty. A Claude model's step clears the file to version, sessionId and an empty windows, with no provider or model. A subagent's step leaves the file as it is.The /config row "Routed auto-mode permissions" (routedAutoPermissions) decides how auto mode handles tool calls from routed models.
claude-classifier asks a Claude model to answer allow, ask or deny for each routed call that no rule settles.server-classifier-off answers ask, so Claude Code's own permission dialog decides.Unset, the row is claude-classifier when you have a Claude login and server-classifier-off when you do not. Rules and calls to Claude models are unchanged.
The mod reads config.json from the folder for your OS:
~/Library/Application Support/nmg-router/config.json${XDG_CONFIG_HOME:-~/.config}/nmg-router/config.json%APPDATA%\nmg-router\config.jsonThis example adds a custom provider, hides the xAI provider with disabledProviders, and limits the models shown with enabledModels:
nmg-router@nmg-plugins is listed by nunley-media-group/nmg-plugins — review the source before installing
npx claudepluginhub nunley-media-group/nmg-plugins --plugin nmg-routerBuilt from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.