All Claude Code modszchee/claude-code-mods
gateway-switch
Switches a running session between api.anthropic.com and the local Model Gateway: onto the gateway once Remote Control has registered, on /gateway on, or as each session starts after /gateway setup, and back to api.anthropic.com whenever the gateway stops answering.
gateway-switch reaches L3 (network) and passed claude plugin validate on Claude Code 2.1.308.
- Events hooked: 4
- API methods referenced: 19
- Access from classified calls: L3, network: network, runs processes, writes files, sets env vars, drives Claude, reads files, reads env vars, draws
- Static scan, not a runtime test
Install hint
/plugin install gateway-switch --marketplace zchee/claude-code-modsFrom the repository's own marketplace. Confirm the plugin name in the repository's README before installing. Mods need Claude Code 2.1.287 or later.
Access
L3 Uses the networknetwork, runs processes, writes files, sets env vars, drives Claude, reads files, reads env vars, drawsValidation
Passed on Claude Code 2.1.308View the source on GitHub Back to the list
What the scan recorded
- Observed events
- subagent spawns
- Hooks
session.start, agent.spawn, turn.step, command.run {command=gateway}- API calls
$.clock.after, $.clock.every, $.clock.now, $.clock.sleep, $.command.list, $.command.register, $.command.run, $.env.get, $.env.set, $.fs.exists, $.fs.list, $.fs.read, $.fs.write, $.http.fetch, $.process.run, $.session.id, $.session.root, $.ui.log, $.ui.toast- Validation on 2.1.308
- Passed
- Scanned revision
30a1a13b5f82- Marketplace passed
- claude-code-mods
These are the hooks and API calls reported by claude plugin validate. Access levels describe the widest reach of those calls and are not safety ratings. Validation is a static check, not a runtime test, and a passing result does not prove that a mod works or is safe. What a mod can access and how the scan works.
More from zchee/claude-code-mods
- decision-compactionHands back the conversation itself in place of a compaction summary, less the tool calls and results a System…
- model-gateway-rcStarts a session on api.anthropic.com so that Remote Control can register, then points it at the local Model…
Badge for your README
Authors can show the latest scan result in their README. Each badge links to this page.
[](https://mods.aidojo.si/mods/zchee--claude-code-mods--gateway-switch/)
[](https://mods.aidojo.si/mods/zchee--claude-code-mods--gateway-switch/)