What is agent-router?
agent-router is a Claude Code mod by UtakataKyosui that サブエージェントと Workflow の agent() の依頼を LocalJev でロールに分類し、agent-routing の roles.json に従って model と effort を切り替える function hook. It is listed under Agents & automation and has no public popularity data yet.
| Type | Claude code mod |
|---|---|
| Author | UtakataKyosui |
| Repository | UtakataKyosui/utakata-cc-mod |
| Popularity | no public popularity data yet |
| Category | Agents & automation |
| Security | Review before installing (76/100) |
| Rank | #4,961 of 5,272 Claude Code mods; #380 in Agents & automation |
| License | MIT |
| Last commit | 2026-10-12 |
| Hooks | 3 events |
| Sees | Workflow calls, subagent spawns |
| Draws on | nothing |
Is agent-router safe to install?
agent-router scores 76/100 on the MCPMods security check: Review before installing. Things to review: sends data over the network; reads environment variables. It passed 6 of 8 checks.
Mod footprints come from claude plugin validate, which lists every event a mod hooks and every API call it makes without running it.
| Check | Result |
|---|---|
| Sends data over the network | Review |
| Starts no processes | Pass |
| Writes no files or config | Pass |
| Reads environment variables | Review |
| Only sees the events it hooks | Pass |
| Doesn't drive Claude | Pass |
| Passes claude plugin validate | Pass |
| Has an open-source license | Pass |
API calls in its code
| Call | What it means |
|---|---|
$.agent.list | |
$.clock.sleep | |
$.env.get | reads env vars |
$.fs.read | reads files |
$.http.fetch | network requests |
$.ui.status | draws interface |
How do I install agent-router?
- Check your Claude Code version. Mods need Claude Code 2.1.287 or later and are on by default.
claude --version
- Read its footprint. This lists every event it hooks and every API call it makes, without running it.
git clone https://github.com/UtakataKyosui/utakata-cc-mod claude plugin validate ./utakata-cc-mod/plugins/agent-router
- Install it. Run this in your terminal, then /reload-plugins in an open session.
claude plugin marketplace add UtakataKyosui/utakata-cc-mod && claude plugin install agent-router@utakata-cc-mod
Or ask Claude to set it up
Paste this into Claude Code and it installs agent-router for you:
Install the "agent-router" Claude Code mod from https://github.com/UtakataKyosui/utakata-cc-mod/tree/main/plugins/agent-router. Run claude plugin validate on it first and show me what it can access before you enable it.
More from UtakataKyosui/utakata-cc-mod
This repository has at least 9 Claude Code mods on MCPMods.
- act-now-guard: 計画フェーズの要らない依頼で EnterPlanMode や Plan エージェントに入ろうとしたら止め、すぐ実装に着手させる function hook (Review before installing)
- advanced-rust-cli: Rustで実装された基礎的なコマンドの改善版のみを常に使用するように挙動を変更するMod (Low risk)
- approval-guard: AskUserQuestion で得た承認と gh の不可逆コマンド(レビュー投稿・close・merge)の宛先を照合し、force push の確認と PR 本文の Closes キーワードの確認も行う function hook (Low risk)
- auto-compact: ターン終了時のコンテキスト使用率・ターン数、またはプロンプトキャッシュの失効を見て自動で Compaction し、要約をテキストに保存する。終了前の Issue 化・ドキュメント化を Agent に義務づけ、会話には何をやったか・何ができ (Low risk)
- bash-hints: Bash の呼び出しに専用ツールへの誘導・rust-parallel・mise exec・pueue デーモンのヒントを足し、長い sleep を止める function hook (Low risk)
- change-review: 実装後の差分を、実装者とは別の読み取り専用レビュアー SubAgent に点検させるMod。指摘の形式検証、再レビュー回数の上限、未実施・未解決の明示を行う。任意で、ローカルLLMによる差分の一次点検 (参考データ) も提供する (Review before installing)
- code-finder: fd と ripgrep でファイル名・コード内容を検索するツール (find_files / search_code) をモデルに提供するMod (Review before installing)
- ctxpack-fetch: WebFetch を禁じ、代わりに ctxpack で Web ページをノイズ除去した Markdown として取得するツール (fetch_page) をモデルに提供するMod。ローカルLLMによる出典付きの関連段落抽出も選べる (Review before installing)