smart-router

by Plagemes · ★ 8 · updated 15 Oct 2026

PanesStatus lineGuardsCommandsPromptwarnings

0

Routes every subagent to the right model for the task's difficulty, runs independent work in parallel and starts workflows when a job needs one.

install smart-router

Install

/plugin marketplace add Plagemes/claude-mods
/plugin install smart-router@claude-mods

Then run /reload-plugins or start a new session. Requires Claude Code 2.1.287+.

View source on GitHub

What it hooks into

From an automated scan with claude plugin validate, not a security review. Mods run with your permissions; read the code before installing.

Events
session.startsession.endagent.spawnturn.completetool.callprompt.composecommand.runui.render
API calls
$.agent.list$.clock.after$.clock.every$.clock.now$.command.register$.command.run$.env.get$.fs.read$.fs.write$.model.complete$.mods.hello$.mods.latest$.mods.mode$.mods.notify$.mods.publish$.mods.recent$.mods.registerTab$.mods.share$.mods.showTab$.prompt.fill$.prompt.submit$.session.model$.session.root$.state.get$.state.set$.store.get$.store.set$.ui.copy$.ui.invalidate$.ui.log$.ui.open$.ui.panes$.ui.resolve$.ui.status$.ui.toast
Draws
Pane
Can see
subagent spawnsAgent callsBash callsevery tool call
Reach
level 2 of 3 writes filesdrives Claudewrites the prompt boxwrites the clipboardreads filesreads env varsreads mod statepersists statedrawsother: $.mods.helloother: $.mods.latestother: $.mods.modeother: $.mods.notifyother: $.mods.publishother: $.mods.recentother: $.mods.registerTabother: $.mods.shareother: $.mods.showTab

Origin

How it got here
Automated scan of public GitHub repos, via the CC0 dataset awesome-claude-code-mods (scan of ).
Repository
github.com/Plagemes/claude-mods
Path in repo
mods/smart-router
Source commit
e9815ce the exact code the scan read
Author
@Plagemes
License
MIT
First published
Last pushed
First listed here

Name and description come from the mod's own manifest. We link to the code; we don't host it, and it stays under its author's license.

More from Plagemes/claude-mods

snippet-vault

Plagemes/claude-mods

Save and reuse code snippets across projects with /save-snippet and /snippet.

★ 8CommandsAutomation

soundpack

Plagemes/claude-mods

Sound packs for Claude Code events: minimal, retro or nature.

★ 8GuardsCommandsAudio

speak-summary

Plagemes/claude-mods

Reads a one-line summary of what Claude did out loud when a turn ends.

★ 8CommandsAudioAutomation

sql-safety

Plagemes/claude-mods

Flags UPDATE and DELETE without WHERE in .sql files and in queries inside your code.

★ 8ToastsGuards

stack-detector

Plagemes/claude-mods

Detects your stack and gives Claude the right conventions for it.

★ 8CommandsPromptAutomation

standup

Plagemes/claude-mods

/standup summarises what you did yesterday, from git history, ready to paste.

★ 8PanesCommands

status-check

Plagemes/claude-mods

/service-status checks whether GitHub, npm, PyPI or the Anthropic API are having an outage before you blame your code.

★ 8ToastsGuardsCommands

storybook-nudge

Plagemes/claude-mods

Reminds you to add a story when Claude creates a new component without one.

★ 8BandsGuards

streaks

Plagemes/claude-mods

Shows your consecutive days of coding with Claude in the status line.

★ 8Status lineCommandsPrompt

strict-types

Plagemes/claude-mods

Adds declare(strict_types=1) to new PHP files and from future import annotations to new Python files.

★ 8ToastsGuards

subagent-cap

Plagemes/claude-mods

Caps how many subagents can run at the same time.

★ 8Status lineGuards

subagent-monitor

Plagemes/claude-mods

Watch running subagents live: type, status, duration and last activity.

★ 8PanesStatus lineGuards

Other mods in Panes, close to this one by stars.