All Claude Code modsalanrsoares/claude-mods
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.
laya-router reaches L3 (network) and passed claude plugin validate.
- Events hooked: 7
- API methods referenced: 10
- Access from classified calls: L3, network: network, reads env vars, reads mod state, persists state, draws
- Reads mod state: the scan does not record whose state, so this does not show that it reads another mod’s values
- Static scan, not a runtime test
Install hint
/plugin install laya-router --marketplace alanrsoares/claude-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, reads env vars, reads mod state, persists state, drawsValidation
PassedView the source on GitHub Back to the list
What the scan recorded
- Observed events
- every prompt, Agent calls
- Hooks
session.start, command.run {command=laya}, prompt.submit, turn.start, turn.step, turn.complete, tool.call {tool=Agent}- API calls
$.clock.sleep, $.command.register, $.env.get, $.http.fetch, $.session.version, $.state.get, $.state.set, $.store.get, $.store.set, $.ui.status- Validation
- Passed
- Scanned revision
e8242e890d1e- Marketplace passed
- alan-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 alanrsoares/claude-mods
- agent-gatePuts every Agent (subagent) call to the permission decider instead of running it unasked.
- bash-tidyDrops redundant cd from Bash commands and asks before cat/grep/sed -i that Read, Grep or Edit would do.
- headroom-hudHUD band and side pane: model/effort, context gauge, session cost, headroom proxy savings, and guided /compac…
- verify-gateAsks before git commit or gh pr create while edited code has not passed a check command since its last edit.
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/alanrsoares--claude-mods--laya-router/)
[](https://mods.aidojo.si/mods/alanrsoares--claude-mods--laya-router/)