claudemods

All Claude Code modsTFoxik/claude-model-router

model-router

A Claude Code mod in TFoxik/claude-model-router

Model and effort routing per kind of work, with prompt-cache and cost tracking, a cold-cache guard, and an optional learn mode that explains what each choice cost

model-router reaches L2 (writes or runs) and passed claude plugin validate.

Install hint

/plugin install model-router --marketplace TFoxik/claude-model-router

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

L2 Writes or runswrites files, drives Claude, writes the prompt box, reads files, reads env vars, reads settings, reads the transcript, reads the prompt box, reads mod state, persists state, draws

Validation

Passed

Listed under Prompt cache mods for Claude Code.

View the source on GitHub Back to the list

What the scan recorded

Observed events
EnterPlanMode calls, ExitPlanMode calls, every tool call, compaction, subagent spawns, every prompt
Hooks
session.start, prompt.attachment, tool.call {tool=EnterPlanMode}, tool.call {tool=ExitPlanMode}, tool.call, session.compact, agent.spawn, prompt.submit, command.run, session.end, turn.start, turn.step, turn.complete, command.run {command=route}, ui.render {component=Pane, requestId=?}, ui.render {component=Pane, requestId=?}, ui.render {component=Pane, requestId=?}, ui.render {component=Pane, requestId=?}, ui.render {component=SessionMode}, ui.render {component=AbovePrompt}, ui.render {component=AbovePromptList}
API calls
$.agent.list, $.clock.every, $.clock.now, $.clock.sleep, $.command.list, $.command.register, $.command.run, $.env.get, $.fs.exists, $.fs.list, $.fs.read, $.fs.write, $.model.classify, $.model.fork, $.prompt.fill, $.prompt.read, $.prompt.submit, $.session.id, $.session.messages, $.session.model, $.session.repo, $.session.root, $.session.surfaces, $.session.usage, $.settings.read, $.state.get, $.state.set, $.store.get, $.store.set, $.tool.list, $.ui.close, $.ui.log, $.ui.open, $.ui.panes, $.ui.resolve, $.ui.status, $.ui.toast
Validation
Passed
Scanned revision
1cffb78932ad
Marketplace passed
claude-model-router

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.

Badge for your README

Reach badge for model-router Validation badge for model-router

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/TFoxik--claude-model-router--model-router-reach.svg)](https://mods.aidojo.si/mods/TFoxik--claude-model-router--model-router/)
[![validates](https://raw.githubusercontent.com/karanb192/awesome-claude-code-mods/main/badges/TFoxik--claude-model-router--model-router-validates.svg)](https://mods.aidojo.si/mods/TFoxik--claude-model-router--model-router/)