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 pleaseai Verified Orgv0.2.0MIT OR Apache-2.0In 2 marketplaces
Runs subagents on xAI's Grok models, keeping Claude Code's tools and skills; only token generation moves to Grok. Experimental: needs a running shunt gateway routing Grok to xAI plus an xAI API key or subscription login; xAI provider not yet verified against the live API.
Trending plugins
7-day copy clicks
Claude hands work to one, or you mention it with @.
2 marketplaces, most starred first
xai, subagents, llm-gateway, shunt, model-routing, experimental, subagent
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Claude Code subagents that run on xAI's Grok models — grok-4.6, grok-4.5, and grok-build-0.1 — routed through the shunt gateway.
EXPERIMENTAL. shunt's
xaiprovider is not yet verified against the live xAI API (seedocs/m6-xai-provider.md). These agents may need adjustment as the integration is hardened.
Unlike a CLI hand-off (which drops persona and preloaded skills), shunt diverts only token generation at the inference layer. The session keeps running inside Claude Code's harness: same tool loop, same skills, same script-path resolution. Only the model that generates the tokens changes.
Agent (@-mention) | Model id (model:) | Notes |
|---|---|---|
shunt-xai:grok-4.6 | grok-4.6 | Current frontier Grok model |
shunt-xai:grok-4.5 | grok-4.5 | Previous frontier model |
shunt-xai:grok-build-0.1 | grok-build-0.1 | Flagship Grok coding model |
Each agent's model: frontmatter pins the request to a Grok slug, so only that
subagent diverts — the main session stays on Claude.
Reasoning effort is opt-in. Several Grok models (
grok-4*,grok-3,grok-code-fast, …) return400onreasoning.efforteven though they reason natively. shunt therefore only sends the effort dial when you configure anefforton the provider or route (or pass one per request). Leave it unset to use each model's native reasoning. Model slugs are reference-only — the catalog is xAI's; shunt passes whatever slug you route through.
These agents only work when a shunt gateway is running in front of Claude Code
and is configured to route the Grok slugs above to the xai provider (which is a
built-in provider — you only need a credential and a route).
Run shunt and point Claude Code at it:
export ANTHROPIC_BASE_URL=http://127.0.0.1:3001 # shunt's default bind address
Provide an xAI credential — either an API key or a reused SuperGrok / X Premium+ subscription:
export XAI_API_KEY=… # API-key path (built-in default)
# or, to reuse a subscription: set auth = "xai_oauth" and run `shunt login xai`
Map the slugs in your shunt.toml to the xai provider:
[[routes]]
model = "grok-4.6"
provider = "xai"
[[routes]]
model = "grok-4.5"
provider = "xai"
[[routes]]
model = "grok-build-0.1"
provider = "xai"
Older slugs (grok-4.3, grok-4, grok-4-fast, …) are not shipped as agents
but still route fine — add a [[routes]] entry for whichever slug you want.
For the full setup — API-key vs. subscription OAuth, the reasoning gate, and
troubleshooting — see docs/m6-xai-provider.md.
Without a running shunt gateway mapping these ids, Claude Code will send the
grok-* model id straight to Anthropic and the request will fail.
/plugin marketplace add pleaseai/shunt
/plugin install shunt-xai@shunt
@shunt-xai:grok-4.6 refactor this module and run the tests
Or set every subagent to a Grok model for a session with
CLAUDE_CODE_SUBAGENT_MODEL=grok-4.6.
Both require a running shunt gateway with the slug routed to the xai provider —
see Prerequisites. Without it the request fails against Anthropic.
MIT OR Apache-2.0, matching the shunt project.
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
npx claudepluginhub pleaseai/shunt --plugin shunt-xaiPlugins from other owners that cover similar ground