Claude Code mod
laya-router
Rates each prompt with a local laya-serve, names a model tier, fills it in on Agent calls and can route the main loop.
Install
/plugin marketplace add alanrsoares/claude-mods
/plugin install laya-router@alan-modsMods install like plugins. Run /reload-plugins or start a new session to load it.
What it can access
- Reach
- L3Network: network, reads env vars, reads mod state, persists state, draws
- Sees
- every prompt, Agent calls
- Hooks
session.startcommand.runprompt.submitturn.startturn.stepturn.completetool.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
- alanrsoares/claude-mods
- Folder
laya-router- Marketplace
alan-mods- Author
- Alan R. Soares
- Type
- Workflow mods
- License
- MIT
- Last updated
- 13 November 2026
- Listed in
- awesome-claude-code-mods
FAQ
What is laya-router?
Rates each prompt with a local laya-serve, names a model tier, fills it in on Agent calls and can route the main loop. It is a mod for Claude Code, from alanrsoares/claude-mods on GitHub.
What can the laya-router mod access?
Its widest reach is "network" (network, reads env vars, reads mod state, persists state, draws). It sees every prompt, Agent calls. 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 alanrsoares/claude-mods and then /plugin install laya-router@alan-mods.
More workflow mods
lavish-pages
FoCDoT/lavish-pages
Shows the Lavish pages this session opened, whether each is streaming, idle, closed or dead, with a one-line description of each and open and end buttons
layman
varunmoka7/layman
Say "I'm lost" and Claude explains its last reply again in everyday words. A Claude Code plugin.
latex-inline
dazebug/latex-inline
Shows the LaTeX math in Claude's replies typeset: as pictures inline with the text in Ghostty, cmux and kitty, and as Unicode text in other terminals
leftovers
Stoica-Mihai/claude-mods
Tracks the processes Claude's Bash calls leave running, and has Claude close or explain them. /leftovers lists them.
latex
RafeSymonds/claude-mods
Reads your LaTeX header's macros so math renders in the desktop app, and draws math as Unicode in the terminal
legion-mod-runner
dnh33/legion-mod
Companion to Legion Mod: starts, resumes and stops Legion's agents for it. Install both; it does nothing on its own.
Browse the most popular Claude Code mods, all workflow mods, or the skills and MCP server directories.