route
ユーザーの質問内容に応じて、Haiku、Sonnet、Opusといった最適なClaudeモデルを自動で選択し、より適切な回答を導き出すSkill。
📜 元の英語説明(参考)
Manually route a query to the optimal Claude model (Haiku/Sonnet/Opus)
🇯🇵 日本人クリエイター向け解説
ユーザーの質問内容に応じて、Haiku、Sonnet、Opusといった最適なClaudeモデルを自動で選択し、より適切な回答を導き出すSkill。
※ jpskill.com 編集部が日本のビジネス現場向けに補足した解説です。Skill本体の挙動とは独立した参考情報です。
下記のコマンドをコピーしてターミナル(Mac/Linux)または PowerShell(Windows)に貼り付けてください。 ダウンロード → 解凍 → 配置まで全自動。
mkdir -p ~/.claude/skills && cd ~/.claude/skills && curl -L -o route.zip https://jpskill.com/download/16653.zip && unzip -o route.zip && rm route.zip
$d = "$env:USERPROFILE\.claude\skills"; ni -Force -ItemType Directory $d | Out-Null; iwr https://jpskill.com/download/16653.zip -OutFile "$d\route.zip"; Expand-Archive "$d\route.zip" -DestinationPath $d -Force; ri "$d\route.zip"
完了後、Claude Code を再起動 → 普通に「動画プロンプト作って」のように話しかけるだけで自動発動します。
💾 手動でダウンロードしたい(コマンドが難しい人向け)
- 1. 下の青いボタンを押して
route.zipをダウンロード - 2. ZIPファイルをダブルクリックで解凍 →
routeフォルダができる - 3. そのフォルダを
C:\Users\あなたの名前\.claude\skills\(Win)または~/.claude/skills/(Mac)へ移動 - 4. Claude Code を再起動
⚠️ ダウンロード・利用は自己責任でお願いします。当サイトは内容・動作・安全性について責任を負いません。
🎯 このSkillでできること
下記の説明文を読むと、このSkillがあなたに何をしてくれるかが分かります。Claudeにこの分野の依頼をすると、自動で発動します。
📦 インストール方法 (3ステップ)
- 1. 上の「ダウンロード」ボタンを押して .skill ファイルを取得
- 2. ファイル名の拡張子を .skill から .zip に変えて展開(macは自動展開可)
- 3. 展開してできたフォルダを、ホームフォルダの
.claude/skills/に置く- · macOS / Linux:
~/.claude/skills/ - · Windows:
%USERPROFILE%\.claude\skills\
- · macOS / Linux:
Claude Code を再起動すれば完了。「このSkillを使って…」と話しかけなくても、関連する依頼で自動的に呼び出されます。
詳しい使い方ガイドを見る →- 最終更新
- 2026-05-18
- 取得日時
- 2026-05-18
- 同梱ファイル
- 1
📖 Skill本文(日本語訳)
※ 原文(英語/中国語)を Gemini で日本語化したものです。Claude 自身は原文を読みます。誤訳がある場合は原文をご確認ください。
[Skill 名] route
手動モデルルーター
自動モデル選択をオーバーライドし、クエリに対して特定の Claude モデルを強制的に使用します。
使用方法
/route <model> <query>
ここで、<model> は次のいずれかです。
haikuまたはfast- 簡単で迅速なタスクには Haiku を使用しますsonnetまたはstandard- 典型的なコーディングタスクには Sonnet を使用しますopusまたはdeep- 複雑な分析には Opus を使用します
指示
$ARGUMENTS を解析して、モデルとクエリを抽出します。
- モデルの抽出 - 最初の単語はモデル名(haiku/fast、sonnet/standard、opus/deep)である必要があります
- クエリの抽出 - モデル名の後のすべてが、実行するクエリです
- 検証 - 有効なモデルが指定されていない場合は、使用方法のヘルプを表示します
- ルーティング - Task ツールを使用して、適切なサブエージェントを生成します。
- haiku/fast -> "fast-executor" サブエージェントをモデル: haiku で生成します
- sonnet/standard -> "standard-executor" サブエージェントをモデル: sonnet で生成します
- opus/deep -> "deep-executor" サブエージェントをモデル: opus で生成します
- 返却 - 応答にモデルのオーバーライド情報をプレフィックスとして付加します
モデルマッピング
| 引数 | Executor | モデル |
|---|---|---|
haiku または fast |
fast-executor | Haiku |
sonnet または standard |
standard-executor | Sonnet |
opus または deep |
deep-executor | Opus |
例
簡単な質問に Opus を強制する
/route opus What's the syntax for a TypeScript interface?
結果: クエリの複雑さに関係なく、Opus (deep-executor) にルーティングされます。
あらゆるタスクに Haiku を強制する
/route haiku Fix the authentication bug in login.ts
結果: コスト削減のため、Haiku (fast-executor) にルーティングされます。
Sonnet を明示的に強制する
/route sonnet Design a caching system
結果: Sonnet (standard-executor) にルーティングされます。
エラー処理
ユーザーが有効なモデルを提供しない場合は、次のように応答します。
Usage: /route <model> <query>
Models:
haiku, fast - Quick, simple tasks (cheapest)
sonnet, standard - Typical coding tasks (default)
opus, deep - Complex analysis (most capable)
Example: /route opus Analyze the security of this authentication flow 📜 原文 SKILL.md(Claudeが読む英語/中国語)を展開
Manual Model Router
Override automatic model selection and force a specific Claude model for your query.
Usage
/route <model> <query>
Where <model> is one of:
haikuorfast- Use Haiku for simple, quick taskssonnetorstandard- Use Sonnet for typical coding tasksopusordeep- Use Opus for complex analysis
Instructions
Parse $ARGUMENTS to extract the model and query:
- Extract model - The first word should be the model name (haiku/fast, sonnet/standard, opus/deep)
- Extract query - Everything after the model name is the query to execute
- Validate - If no valid model is specified, show usage help
- Route - Use the Task tool to spawn the appropriate subagent:
- haiku/fast -> spawn "fast-executor" subagent with model: haiku
- sonnet/standard -> spawn "standard-executor" subagent with model: sonnet
- opus/deep -> spawn "deep-executor" subagent with model: opus
- Return - Prefix the response with the model override info
Model Mapping
| Argument | Executor | Model |
|---|---|---|
haiku or fast |
fast-executor | Haiku |
sonnet or standard |
standard-executor | Sonnet |
opus or deep |
deep-executor | Opus |
Examples
Force Opus for a simple question
/route opus What's the syntax for a TypeScript interface?
Result: Routes to Opus (deep-executor) regardless of query complexity.
Force Haiku for any task
/route haiku Fix the authentication bug in login.ts
Result: Routes to Haiku (fast-executor) for cost savings.
Force Sonnet explicitly
/route sonnet Design a caching system
Result: Routes to Sonnet (standard-executor).
Error Handling
If the user doesn't provide a valid model, respond with:
Usage: /route <model> <query>
Models:
haiku, fast - Quick, simple tasks (cheapest)
sonnet, standard - Typical coding tasks (default)
opus, deep - Complex analysis (most capable)
Example: /route opus Analyze the security of this authentication flow