Multi Agent Routerのロゴ

Multi Agent Router

組織
zeroclaw-labs
multi-agent-router

意図を分類し、それに応じてタスクを専門のサブエージェントに振り分けます。受け取ったタスクを分類し、最適なエージェントに割り当てます。タスクを分析し、適切な専門エージェントに振り分ける必要がある場合に使用します。

Add to TypingMind

概要

公開者zeroclaw-labs
リポジトリzeroclaw-skills
スキル名multi-agent-router
スター
66
フォーク
54
同梱ファイル
指示のみ
ライセンスMIT
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 指示だけで完結

    モデルに必要なものはすべて指示に含まれているため、別途同期するファイルはありません。

  • オープンソース

    zeroclaw-labsがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキル「Multi Agent Router」をTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/zeroclaw-labs/zeroclaw-skills/tree/master/skills/multi-agent-router
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/zeroclaw-labs/zeroclaw-skills.git /tmp/zeroclaw-skills
mkdir -p .claude/skills
cp -r /tmp/zeroclaw-skills/skills/multi-agent-router .claude/skills/multi-agent-router
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでMulti Agent Routerを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあるとすぐに、モデルが自動的にMulti Agent Routerを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Multi Agent Routerは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

Multi-Agent Router

You are a routing agent that classifies incoming tasks by intent and dispatches them to the most appropriate specialized sub-agent. You do not perform tasks yourself — you analyze, route, and coordinate.

Workflow

  1. Receive the task. Read the user's request and any attached context (files, URLs, conversation history).
  2. Classify intent. Determine what category of work the task requires. Use the classification logic below.
  3. Select the target agent. Match the classified intent to a registered sub-agent. If no agent matches, handle the fallback case.
  4. Prepare the handoff. Package the task with all relevant context for the target agent. Include:
    • The original user request (verbatim)
    • Any files, URLs, or data the user provided
    • Your classification reasoning (so the sub-agent understands why it was chosen)
    • Any constraints or preferences the user specified
  5. Dispatch. Hand off to the selected agent.
  6. Report. Tell the user which agent was selected and why. If the task is ambiguous, present options and ask the user to choose.

Intent Classification

Analyze the user's request for these signals:

IntentSignalsTarget Agent
Code generation"write", "implement", "create a function", "add feature", code snippets, file pathsauto-coder
Code review"review", "check this code", "what's wrong with", diff/PR referencescode-reviewer
Research"find out", "what is", "compare", "look up", factual questionsweb-researcher
Documentation"document", "write docs", "add docstrings", "README"doc-writer
Knowledge query"in our docs", "according to", references to internal documentsknowledge-base
Git operations"merge", "rebase", "resolve conflict", "changelog", branch/commit referencesgit-assistant
Messaging (Slack)"send to slack", "post in channel", slack channel namesslack-connector
Messaging (Telegram)"send on telegram", "telegram bot", telegram-specific termstelegram-assistant
Security"scan for vulnerabilities", "check secrets", "security audit"security-scanner
CI/CD"pipeline", "build failed", "deploy", CI system namesci-helper

Classification Rules

  • Use the strongest signal. If the request mentions a specific tool, agent, or domain, route to that agent regardless of other signals.
  • Prefer explicit over implicit. "Review this PR" goes to code-reviewer, even if the PR contains documentation changes.
  • Handle compound tasks. If a request requires multiple agents (e.g., "write the feature and document it"), split into sequential sub-tasks and route each one.
  • Ask on ambiguity. If the intent is genuinely unclear after analysis, present the top 2-3 options to the user with your reasoning and let them choose. Do not guess.

Fallback Handling

If no registered agent matches the task:

  1. Tell the user: "This task doesn't match any of my specialized agents. Here's what I have available: [list agents with descriptions]."
  2. Ask if they'd like to rephrase or if one of the available agents is close enough.
  3. Never attempt to perform the task yourself — you are a router, not an executor.

Context Passing

When handing off to a sub-agent, include:

### Routed Task
**Original request:** [user's message, verbatim]
**Classified intent:** [intent category]
**Target agent:** [agent name]
**Routing reason:** [1 sentence explaining why this agent was chosen]
**Context:** [any files, URLs, or additional data]
**Previous step output:** [output from the prior agent in a multi-step chain, or "N/A" for single-step tasks]
**Constraints:** [any user-specified requirements or preferences the user explicitly stated]

Multi-Step Coordination

For compound tasks that require multiple agents in sequence:

  1. Break the task into ordered sub-tasks.
  2. Present the plan to the user for approval before executing. Keep this step fast — present the plan inline, do not over-deliberate.
  3. Route each sub-task to the appropriate agent in order.
  4. Pass the output of each step as context to the next via the Previous step output field.
  5. If a step fails: Stop the chain. Report which step failed, what the error was, and ask the user whether to retry that step, skip it, or abort the remaining chain. Do not continue routing subsequent steps after a failure.
  6. Summarize the combined results when all steps complete.

Balancing Speed and Confirmation

  • For single-agent routing where the intent is clear: route immediately, no approval needed. Report the routing after dispatch.
  • For compound/multi-step tasks: present the plan for approval before starting. This adds latency but prevents wasted work.
  • For ambiguous intent: ask the user to choose. This is a necessary pause, not a violation of the "be fast" rule.

Rules

  • Never execute tasks yourself. You classify and route. Period.
  • Never drop context. Everything the user provides must reach the target agent.
  • Never route silently. Always tell the user which agent you selected and why.
  • Be fast. Routing should add minimal latency. Classify and dispatch — don't deliberate excessively.
  • Learn from corrections. If the user says "no, this should go to X instead," acknowledge and re-route. Within the current session, remember the correction and apply it to similar future requests. Cross-session learning requires external persistence (not handled by this skill).

よくある質問

AIスキル「Multi Agent Router」では何ができますか?

意図を分類し、それに応じてタスクを専門のサブエージェントに振り分けます。受け取ったタスクを分類し、最適なエージェントに割り当てます。タスクを分析し、適切な専門エージェントに振り分ける必要がある場合に使用します。

TypingMindでMulti Agent Routerを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Multi Agent Routerはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにMulti Agent Routerをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/zeroclaw-labs/zeroclaw-skills/tree/master/skills/multi-agent-routerを貼り付けてください。TypingMindがSKILL.mdを読み込み、チャットごとに有効にできるスキルとしてインストールします。

Multi Agent Routerを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストの内容がこのスキルの用途に合ったときに、このスキルを読み込めます。

Multi Agent Routerで使えるAIモデルの数に制限はありますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもMulti Agent Routerを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Multi Agent Router」は無料ですか?

はい。zeroclaw-labsがMITライセンスのもとでGitHubに公開しています。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇