Claude Code mod
laya-router
Auto-route each Claude Code session to Haiku, Sonnet, Opus or Fable from its first prompt. Classified locally, zero tokens.
Install
/plugin marketplace add marcreichel/laya-router
/plugin install laya-router@laya-routerMods install like plugins. Run /reload-plugins or start a new session to load it.
What it can access
- Reach
- L3Network: network, reads mod state, persists state, draws
- Sees
- every prompt, every skill, every tool call
- Hooks
session.startcommand.runsession.endprompt.submitskill.promptturn.steptool.call
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.
Details
- Repository
- marcreichel/laya-router
- Folder
.- Marketplace
laya-router- Author
- Marc Reichel
- License
- MIT
- Last updated
- 27 October 2026
- Listed in
- awesome-claude-code-mods
FAQ
What is laya-router?
Auto-route each Claude Code session to Haiku, Sonnet, Opus or Fable from its first prompt. Classified locally, zero tokens. It is a mod for Claude Code, from marcreichel/laya-router on GitHub.
What can the laya-router mod access?
Its widest reach is "network" (network, reads mod state, persists state, draws). It sees every prompt, every skill, every tool call. Like any mod, it runs with your permissions.
How do I install laya-router?
Inside Claude Code (v2.1.287 or later), run /plugin marketplace add marcreichel/laya-router and then /plugin install laya-router@laya-router.
Is laya-router popular?
marcreichel/laya-router has 6 GitHub stars and 0 forks, and is included in 1 curated Claude Code list. It was last updated on 27 October 2026.
More context & usage mods
keepwarm
6declanbx/keepwarm
Keeps an idle interactive session's prompt cache warm with one tool-less fork just before the 1-hour cache lapses; /keepwarm on|off|status per session.
token-monster
6ugglr/claude-token-monster
A pixel-art monster in a side pane that eats tokens and shows context, limits and activity at a glance
gsd-status-mod
6helenkwok/gsd-status-mod
A Claude Code mod for GSD projects: a live pane (roadmap, agent tree with forks, cost and context, work streams, session log, pace and fit forecast, timeline, trends, a markdown reader) plus a status band, a next-action hint and /gsd-status, read from .planning/.
usage-pet
6manson341349-beep/claude-desktop-mods
A usage band above the prompt — context, 5-hour limit, weekly limit, cache hit rate — with Clawd, an animated pixel pet. For the Code tab of Claude Desktop.
gamble-with-claude-code
6szarkans/gamble-with-claude-code
Slots, European roulette and blackjack in your terminal. Bet the tokens Claude Code burned today. No real money, just questionable decisions.
cache-bell
5hollerbell/cache-bell
Cache & context manager for Claude Code. Once the context passes a size you choose, Claude compacts after a finished piece of work, and you get time to cancel. While you're away, the plugin keeps the prompt cache warm or compacts before it expires.
Browse the most popular Claude Code mods, all context & usage mods, or the skills and MCP server directories.