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.1.0MIT OR Apache-2.0In 2 marketplaces
Hands a subagent task to Z.ai's GLM models, glm-5.2 or glm-4.7, while the session stays in Claude Code. Needs a running shunt gateway that routes those model ids to a Z.ai API key; without it requests fail against Anthropic.
Trending plugins
7-day copy clicks
Claude hands work to one, or you mention it with @.
2 marketplaces, most starred first
glm, z-ai, subagent, llm-gateway, shunt, model-routing, zai-api, zai
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
npx claudepluginhub pleaseai/shunt --plugin shunt-zaiClaude Code subagents that run on Z.ai GLM models — glm-5.2 and glm-4.7 — routed through the shunt gateway.
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:) |
|---|---|
shunt-zai:glm-5.2 | glm-5.2 |
shunt-zai:glm-4.7 | glm-4.7 |
GLM is served over Z.ai's Anthropic-compatible endpoint, so shunt forwards Claude Code's Messages request as-is and injects the Z.ai API key.
These agents only work when a shunt gateway is running in front of Claude Code
and is configured to route the model ids above to a Z.ai (zai) provider. zai
is not a built-in provider, so you add both the provider table and the routes:
Run shunt and point Claude Code at it:
export ANTHROPIC_BASE_URL=http://127.0.0.1:3001 # shunt's default bind address
Provide the Z.ai API key:
export ZAI_API_KEY=…
Add the provider and routes in your shunt.toml:
[providers.zai]
kind = "anthropic"
base_url = "https://api.z.ai/api/anthropic"
auth = "api_key"
api_key_env = "ZAI_API_KEY"
[[routes]]
model = "glm-5.2"
provider = "zai"
[[routes]]
model = "glm-4.7"
provider = "zai"
For the full provider reference, see
docs/running.md §3
and shunt.toml.example.
Without a running shunt gateway mapping these ids, Claude Code will send the
glm-* model id straight to Anthropic and the request will fail.
/plugin marketplace add pleaseai/shunt
/plugin install shunt-zai@shunt
@shunt-zai:glm-5.2 refactor this module and run the tests
Or set every subagent to GLM for a session with
CLAUDE_CODE_SUBAGENT_MODEL=glm-5.2.
Both require a running shunt gateway with the slug routed to the zai 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.
Plugins from other owners that cover similar ground