By pleaseai
Claude Code plugins for the shunt gateway: subagents for the models it diverts to other providers, and a mod for the gateway's own pool usage.
Trending marketplaces
7-day visitors to each marketplace page
npx claudepluginhub pleaseai/shuntA Claude Mod for the shunt gateway: a band above the prompt shows how much of each window is used and the time to reset — the shared account pool's, read from shunt's GET /usage, or the session's own Claude rate limits off shunt — and /shunt:usage prints the pool's full breakdown.
Subagents that run on ChatGPT/Codex GPT-6 models (Sol, Luna) and GPT-5.6 models (Luna, Sol, Terra), routed through the shunt gateway at the inference layer while staying inside Claude Code's harness.
Subagents that run on xAI Grok models (grok-4.6, grok-4.5, grok-build-0.1), routed through the shunt gateway at the inference layer while staying inside Claude Code's harness. EXPERIMENTAL — the xAI provider is not yet verified against the live xAI API.
Subagent that runs on Moonshot AI's kimi-k2.7-code, routed through the shunt gateway at the inference layer while staying inside Claude Code's harness.
Subagents that run on DeepSeek models (deepseek-v4-pro, deepseek-v4-flash), routed through the shunt gateway at the inference layer while staying inside Claude Code's harness.
Subagents that run on Z.ai GLM models (glm-5.2, glm-4.7), routed through the shunt gateway at the inference layer while staying inside Claude Code's harness.
Subagent that runs on MiniMax-M3 (1M context), routed through the shunt gateway at the inference layer via MiniMax's Anthropic-compatible endpoint while staying inside Claude Code's harness.
Subagent that runs on Xiaomi's mimo-v2.5-pro, routed through the shunt gateway at the inference layer via Mimo's Anthropic-compatible endpoint while staying inside Claude Code's harness.
Offline credential import: shunt import opencodex --dry-run previews compatible API keys and Cursor/Command Code access tokens. Exports create new private snapshots without changing existing settings or copying refresh tokens. See credential import.
Shunt Claude Code to any model.
shunt is a spec-compliant Claude Code LLM gateway: a transparent proxy that, for the models you map, diverts inference to another LLM provider at the inference layer. It routes by the request's model id — everything else passes through to Anthropic unchanged (the "shunt"; the fallback is configurable via server.default_provider).
The name is the mechanism: an electrical/railway shunt diverts a selected part of the flow onto a parallel path. Here, a mapped model's inference is diverted to another provider while Claude Code's tools and skills stay intact.
Providers for OpenAI, ChatGPT/Codex, xAI, Grok, Cursor, Kimi Code, Zhipu, MiniMax China, OpenCode Zen, Cheaper Inference, Gemini, Antigravity, and Anthropic passthrough ship built in — several of them reusing a subscription you already pay for. Any Anthropic-Messages-compatible backend is one config table away, with no code changes. See Providers.
[!NOTE]
shuntis pre-1.0 software under active development. Per SemVer,0.xreleases may include breaking changes to configuration keys, the CLI, and behavior — check the release notes before upgrading.
# Homebrew (macOS / Linux)
brew install pleaseai/tap/shunt
# Install script (macOS / Linux) — prebuilt binary from the GitHub release
curl -fsSL https://shunt.sh/install.sh | sh
# Cargo, directly from the source repository
cargo install --git https://github.com/pleaseai/shunt
New versions are distributed through Homebrew and prebuilt binaries (macOS/Linux, arm64/x64) attached to each GitHub release; the crates.io package stops at the last version published there. See Installation for prebuilt-binary and from-source instructions.
The cargo install line above builds without the admin dashboard: its bundle needs Node.js 22.12+ and is embedded only by --features ui, which Homebrew and the release binaries already enable. Everything else — including the admin JSON API — is identical either way. Installation has the from-source steps.
brew services start shunt
Logs go to $(brew --prefix)/var/log/shunt.log. brew services stop sends SIGTERM, and shunt
drains in-flight requests before exiting — for up to [server] shutdown_timeout_seconds
(default 30; changing this one does need a restart), after which shunt stops waiting and exits, so
a quiet SSE stream cannot hold the process open forever. On Unix, Antigravity agent turns are terminated when shutdown starts so
their isolated process groups cannot hold the drain open. Editing the config file
afterwards doesn't need a restart — it hot-reloads automatically. Details:
Running as a service.
# shunt.toml — route a gpt-* id to your ChatGPT subscription
# [[routes]] is legacy for exact ids; prefer [models.upstream_model].
[[routes]]
model = "gpt-5.6-sol"
provider = "codex" # reuses `codex login`; use `openai` for OPENAI_API_KEY
codex login # provider credential
shunt run # -> listening on 127.0.0.1:3001
export ANTHROPIC_BASE_URL=http://127.0.0.1:3001
export ANTHROPIC_CUSTOM_MODEL_OPTION="gpt-5.6-sol"
claude # /model -> pick gpt-5.6-sol
7-day visitors to each marketplace page
Anthropic example skills
Anthropic's Claude Code plugins, installed from the claude-plugins-official repository
Ultra-compressed communication mode. Shortens prose while preserving technical terms, code, commands, and exact errors.