Claude Code mod

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.

1 starsWorkflow mods Plugin marketplaceValidates on Claude Code 2.1.316 Source

Install

Inside Claude Code
/plugin marketplace add zchee/claude-code-mods
/plugin install gateway-switch@claude-code-mods

Mods install like plugins. Run /reload-plugins or start a new session to load it.

What it can access

Reach
L3Network: network, runs processes, writes files, sets env vars, drives Claude, reads files, reads env vars, draws
Sees
subagent spawns
Hooks
session.startagent.spawnturn.stepcommand.run

From a static scan of the mod's code by awesome-claude-code-mods. It shows what the code asks for, not a security review.

How Claude Code mods work

  • A mod is a plugin with a JavaScript or TypeScript module that runs inside Claude Code (version 2.1.287 or later). It can draw panes beside the transcript, a band above the prompt, buttons and toasts, restyle the spinner and tool rows, and watch or rewrite tool calls and prompts.
  • It installs like any plugin: add its marketplace with /plugin marketplace add owner/repo, then /plugin install name@marketplace.
  • Check what a mod can reach before installing: it runs with your permissions. Reach goes from drawing only, to reading files, to writing files or running processes, to the network. Run claude plugin validate on a clone to list its hooks and calls without running it.
  • Turn one off from the Installed tab in /plugin, or start Claude Code with --safe-mode to skip every customization for a session.
Claude Code docs

Details

Folder
mods/gateway-switch
Marketplace
claude-code-mods
Author
Koichi Shiraishi
License
Apache-2.0
Last updated
21 October 2026

FAQ

What is 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. It is a mod for Claude Code, from zchee/claude-code-mods on GitHub.

What can the gateway-switch mod access?

Its widest reach is "network" (network, runs processes, writes files, sets env vars, drives Claude, reads files, reads env vars, draws). It sees subagent spawns. Like any mod, it runs with your permissions.

How do I install gateway-switch?

Inside Claude Code (v2.1.287 or later), run /plugin marketplace add zchee/claude-code-mods and then /plugin install gateway-switch@claude-code-mods.

Is gateway-switch popular?

zchee/claude-code-mods has 1 GitHub stars and 0 forks, and is included in 1 curated Claude Code list. It was last updated on 21 October 2026.

More workflow mods

fm

1

lmuehleisen/xo

Firstmate Calm for Claude Code: the sailboat working animation and conversation-only transcript presentation, sharing the per-home config/calm preference with the Pi Calm extension. Its hooks module may load through CLAUDE_CODE_ENABLE_FUNCTION_HOOKS or Claude Code's tengu_plugin_hooks_modules rollout flag, but the mod activates only when CLAUDE_CODE_ENABLE_FUNCTION_HOOKS is exactly 1 and is otherwise a complete no-op.

Workflow mods

gui-editors

1

sandipchitale/gui-editor

Rich GUI editors for plugins/marketplaces (/plugin-editor) and MCP servers (/mcp-editor) in a Chrome app window, served by a local server tied to the mod's life.

Workflow mods/plugin install

explore-model

1

rlorenzo/ai-coding-setup

Pins the model that background recon subagents run on. An agent.spawn hook sets the Explore subagent's model to haiku, so a session driven by an expensive model stops billing its codebase searches at that tier, without shadowing the built-in agent definition and without the CLAUDE.md load a replacement definition would cost.

Workflow mods/plugin install

inline-images

1

Mechazawa/claude-inline-images

Gives Claude a show_image tool and shows pasted images and images Claude reads inline in the terminal transcript

Workflow mods/plugin install

effort-live-control

1

rezzminator/effort-live-control

Set each Claude Code sub-agent's reasoning effort per spawn with [effort: low|medium|high|xhigh|max], and let an opted-in agent's effort rise at each failing test run or red sub-task and come home once the trouble resolves.

Workflow mods

jev-governor

1

roma-vibe/jev-governor

Jev-guided model, effort and subagent routing for Claude Code (Opus 5.5 / Sonnet 5.5), auto-created specialist subagents and Jev-pruned compaction.

Workflow mods

Browse the most popular Claude Code mods, all workflow mods, or the skills and MCP server directories.