claudemods

All Claude Code modszchee/claude-code-mods

gateway-switch

A Claude Code mod in zchee/claude-code-mods

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.

Install hint

/plugin install gateway-switch --marketplace zchee/claude-code-mods

From 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, draws

Validation

Passed on Claude Code 2.1.308

View 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

Badge for your README

Reach badge for gateway-switch Validation badge for gateway-switch

Authors can show the latest scan result in their README. Each badge links to this page.

[![reach](https://raw.githubusercontent.com/karanb192/awesome-claude-code-mods/main/badges/zchee--claude-code-mods--gateway-switch-reach.svg)](https://mods.aidojo.si/mods/zchee--claude-code-mods--gateway-switch/)
[![validates](https://raw.githubusercontent.com/karanb192/awesome-claude-code-mods/main/badges/zchee--claude-code-mods--gateway-switch-validates.svg)](https://mods.aidojo.si/mods/zchee--claude-code-mods--gateway-switch/)