# Claude Routing

> Skills for the Claude Code model routing system — managing persistent subagents (haiku/sonnet/opus).

- Skill: `majiayu000/claude-routing` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds add majiayu000/claude-routing`
- Raw SKILL.md: https://api.skillmd.com/api/skills/majiayu000/claude-routing/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: AI & ML
- Author: majiayu000 (https://skillmd.com/u/majiayu000)
- Updated: 2026-09-09
- Page: https://skillmd.com/skills/majiayu000/claude-routing

---


# Claude Routing Skills

## /route

Explicitly evaluate and route a task to the appropriate subagent.

**Usage:** `/route <task description>`

**Behavior:**
1. Evaluate task complexity
2. Select model tier: haiku / sonnet / opus
3. Scan conversation history for existing agent IDs
4. Resume via `Agent(resume=id)` or initialize new subagent
5. Return result to user

**Examples:**
- `/route znajdź wszystkie pliki zawierające useState` → Haiku
- `/route zaimplementuj OAuth2 login` → Sonnet
- `/route zdebuguj memory leak w worker thread` → Opus

---

## /agents

Show status of persistent subagents in the current session.

**Usage:** `/agents`

**Behavior:** Scan conversation history and report:
- `haiku_id`: `<id>` or `not initialized`
- `sonnet_id`: `<id>` or `not initialized`
- `opus_id`: `<id>` or `not initialized`

Useful to verify which subagents are already running and can be resumed without re-initialization.

