From cost-optimizer
task に最適な subagent_type 推奨 (Explore / architect-review / debugger / code-reviewer / security-auditor / general-purpose、heuristic)。Triggers: どの subagent, agent 推奨, サブエージェント 選択, which subagent, which agent, do I need Explore, specialized agent, suggest subagent
How this skill is triggered — by the user, by Claude, or both
Slash command
/cost-optimizer:agent-recommendThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
`cost-optimizer` plugin の skill。 「このタスクは subagent に委ねるべきか? どの type が最適か?」を判断したい時に起動する。 model-recommend と同じ task-classifier を使うため、 model と subagent の整合した推奨が得られる。
cost-optimizer plugin の skill。 「このタスクは subagent に委ねるべきか? どの type が最適か?」を判断したい時に起動する。 model-recommend と同じ task-classifier を使うため、 model と subagent の整合した推奨が得られる。
対象 prompt を classifier に渡す:
bash "${CLAUDE_PLUGIN_ROOT}/scripts/task-classifier.sh" \
--prompt "$USER_TASK_DESCRIPTION" --format json
recommended_subagent を user に伝える — null の場合は「subagent 委任不要、 main で実行推奨」。
委任判断補足 — 以下は heuristic な目安。 user の context 把握度で柔軟に判断:
Explore で context 保護architect-review / security-auditor / debugger 等) を推奨| task_type | recommended_subagent | 委任理由 |
|---|---|---|
| trivial-edit | (none) | main で 1 ファイル編集即完了 |
| research | Explore / general-purpose | 多段 query で context 浪費を回避 |
| implementation | (task-specific) | 通常 main で完結。 大規模なら frontend-developer / backend-architect 等 |
| architecture | architect-review | 設計判断は専門 agent の review が有効 |
| debug | debugger | 失敗テスト / stack trace の体系的調査 |
| review | code-reviewer / security-auditor | 独立 view での審査 |
Agent tool を使う。model-recommend (同 plugin): 同じ classifier 結果から model も推奨Agent tool の subagent_type field 参照npx claudepluginhub arkatom/claude-plugins --plugin cost-optimizerCreates structured, bite-sized implementation plans from specs or requirements before writing code. Useful for breaking down multi-step tasks into testable steps with file structure and task boundaries.