model-routing
Select the right model for the task. Maps task cognitive tier to optimal model. Reads _b00t_ datums for available models. Prefer local/cheap for deterministic work; frontier for reasoning.
What this skill does
# Model Routing
NEVER use frontier model for mechanical work. Route by cognitive tier.
Reads routing table from `_b00t_/model-routing.tomllm`. Falls back to hardcoded tiers.
## Cognitive Tiers
| Tier | Tasks | b00t Models (in priority order) |
|------|-------|--------------------------------|
| `small` (sm0l) | grep, lint, classify, route, test pass/fail | haiku, local sm0l |
| `chunky` (ch0nky) | implement, refactor, debug, code review | qwen3-coder-local (RTX 3090), sonnet |
| `frontier` | architecture, security, novel design, planning | opus, sonnet |
## Steps
1. Classify the task type. # output: task_type
2. Map task_type → cognitive tier. # output: tier (sm0l|ch0nky|frontier)
3. Load routing config: `b00t learn model-routing` via MCP or CLI — NEVER read .tomllm directly. # output: available_models[]
4. Select best available model for tier (prefer local, fallback frontier). # output: selected_model
5. Check resource gate: `b00t hive status` — ensure RAM/GPU available. # output: resource_ok
6. If resource gate fails: escalate one tier up or queue. # output: model_or_queue
7. Return `{model, tier, rationale}` for caller to invoke.
## Task → Tier Mapping
**small** `sm0l` (Haiku / local 3B):
- Running tests, checking lint output
- Classifying/routing messages
- Extracting structured data from well-defined input
- File diffing, counting, summarizing short text
- Executing known shell commands
**chunky** `ch0nky` (qwen3-coder-local → Sonnet fallback):
- Writing or refactoring code
- Debugging with stack traces
- Multi-file code review
- Translating between languages/formats
- Implementing skills from SKILL.md spec
**frontier** (Opus → Sonnet fallback):
- System architecture decisions
- Security threat modeling
- Novel algorithm design
- Planning complex multi-step workflows
- Evaluating ambiguous requirements
## Output Contract to Executive Context
Executive context is costly. Sub-agents MUST return compressed summaries:
| Tier | Max output to executive |
|------|------------------------|
| `sm0l` | `PASS` or `FAIL: <name> <5 lines>` |
| `ch0nky` | diff + test result (no full file dumps) |
| `frontier` | structured decision with rationale |
## Resource Awareness
Before invoking ch0nky/frontier check hive:
```bash
b00t hive status # output: RAM free, GPU VRAM free, active profile
```
Anti-pattern: running vLLM (qwen3-coder, 20GB VRAM) + HuggingFace download simultaneously on 24GB.
## Integration
Used by `/next-task` at each phase to select model.
Used by `b00t-mcp` agent delegation.
Load via: `b00t learn model-routing` (MCP preferred, CLI fallback)
# 🤓 NEVER read _b00t_/*.tomllm directly — always use b00t learn/MCP which applies guardrails, guru enrichment & tribal knowledge
Related in Productivity
gitea-workflow
IncludedOrchestrate agile development workflows for Gitea repositories using the tea CLI. Use when working with Gitea-hosted repos and asking to 'run the workflow', 'continue working', 'what's next', 'complete the task cycle', 'start my day', 'end the sprint', 'implement the next task', or wanting guided step-by-step development assistance. Keywords: workflow, orchestrate, agile, task cycle, sprint, daily, implement, review, PR, standup, retrospective, gitea, tea.
microsoft-graph-gateway
IncludedRoute Microsoft Graph work in this workspace. Use when users want to read or write Outlook mail, calendar events, contacts, OneDrive or SharePoint files, Teams, Planner, To Do, users, groups, directory data, or arbitrary Microsoft Graph endpoints from VS Code. Prefer WorkIQ for common read scenarios. Use Microsoft Graph for write actions and gap-read scenarios that need exact Graph properties, filters, permissions, or endpoints.
copilotkit
IncludedUse when building with CopilotKit — setup, development, integrations, debugging, upgrading, or contributing. Routes to the appropriate specialized skill based on the task.
wordly-wisdom
IncludedProvides calibrated decision analysis using Charlie Munger-style multiple mental models, inversion, incentive mapping, circle-of-competence checks, misjudgment audits, second-order effects, and forecast updates. Use when the user asks for an oracle take, a hard call, a decision memo, a premortem, an outside view, a red-team, a sanity-check, what am I missing, think this through, or wants a strategy, hire, investment, plan, product, partnership, or major life choice analysed. Avoid for simple factual lookups or time-sensitive legal, medical, or market questions without fresh evidence.
swain-session
IncludedSession management and project status dashboard. Owns the full session lifecycle (start/work/close/resume), focus lane, bookmarks, worktree detection, and tab naming. Also serves as the project status dashboard — shows active epics, progress, actionable next steps, blocked items, tasks, GitHub issues, and recommendations. Worktree creation is deferred to swain-do task dispatch (SPEC-195). Triggers on: 'session', 'status', 'what's next', 'dashboard', 'overview', 'where are we', 'what should I work on', 'show me priorities', 'bookmark', 'focus on', 'session info'.
gandi
IncludedComprehensive Gandi domain registrar integration for domain and DNS management. Register and manage domains, create/update/delete DNS records (A, AAAA, CNAME, MX, TXT, SRV, and more), configure email forwarding and aliases, check SSL certificate status, create DNS snapshots for safe rollback, bulk update zone files, and monitor domain expiration. Supports multi-domain management, zone file import/export, and automated DNS backups. Includes both read-only and destructive operations with safety controls.