/sage:sage-routingfrom sage
Routes ambiguous requests to Sage workflows (build, fix, architect, review, learn, reflect, continue) using keyword matching and classification.
Ships in sage. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
The eager layer carries the keyword map — the trigger. This carries the rest: what to do when the keyword map misses, how to present the choice, and what routing looks like when it is done well.
Layer 1 — Keyword routing (deterministic, checked first). The map in the eager layer. One match → confirm. Multiple matches → present them as options. No match → Layer 2.
Layer 2 — Sub-agent classifier. If the Task tool is available, spawn a classifier sub-agent:
Classify this request as UNDERSTAND (/research or /review --ux), ENVISION (/design or /architect), or DELIVER (/build or /fix).
Use the response to select the workflow → confirm. No Task tool → Layer 3.
Layer 3 — In-context classification (fallback).
| Shape of the request | Category | Workflow |
|---|---|---|
| Question, evaluation, "why" | UNDERSTAND | /research, /review --ux |
| Future, "should", "let's create" | ENVISION | /design, /architect |
| Action, "add", "implement" | DELIVER | /build, /fix |
| Ambiguous | — | present options from all matching categories |
Always, except for explicit slash commands and Tier 1 tasks:
Sage → [workflow]. [One-line rationale].
[1] [Workflow] — [skill → chain → arrows] ([N] steps)
[2] [Alternative] — [chain] ([N] steps)
[3] [Alternative] — [chain]
Pick 1-3, type / for commands, or describe what you need.
Show the chain and the step count. No time estimates — they are guesses wearing a number's clothing.
"audit our checkout UX" — keyword audit → /review --ux.
Sage → review workflow. Evaluating the checkout experience.
[1] Review — UX audit → evaluation (2 steps) [2] Research — interview → JTBD → opportunity map (3 steps) [3] Build — spec → plan → implement → verify
Pick 1-3, type / for commands, or describe what you need.
"the checkout page is throwing 500 errors" — keyword error → /fix.
Single match, no ambiguity, so confirm and go:
Sage → fix workflow. Investigating 500 errors on checkout.
"improve our onboarding conversion rate" — conversion → review,
improve → build. Two matches, so do not pick for the user:
Sage: This could go two ways:
[1] Review — UX audit → evaluation (2 steps) [2] Build — spec → plan → implement → verify [3] Research — interview → JTBD → opportunity map (3 steps)
Pick 1-3, type / for commands, or describe what you need.
"change the button color to blue" — Tier 1. Just change it. Routing a one-line change through a confirmation menu is the process becoming the point.
The routing chain exists because the alternative is an agent that treats every request as a DELIVER request — the default failure mode, and the one that ships a fix for a problem nobody diagnosed. If a request is a question, answering it with an implementation is not efficiency. It is a wrong answer that took work.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
routing, workflow-selection, task-classification, sage-routing
Generated from the plugin's indexed repository (xoai/sage) — no native marketplace selected
npx claudepluginhub p/xoai-sage33 skills in this plugin
/apiUse when designing, reviewing, or changing an HTTP, REST, or GraphQL API — endpoints, resource naming, error responses, pagination, versioning, idempotency, or API contracts between services./autoresearchAutonomous iteration toward a measurable outcome. Use when the user wants to optimize a numeric metric through repeated modify-verify cycles — reduce bundle size, increase test coverage, improve query time, lower readability score. Not for exploratory research, subjective judgment, or tasks without a verification command.
/baasUse when building on Firebase, Supabase, or a similar Backend-as-a-Service — writing security rules, modeling data for client queries, deciding whether logic needs a serverless function, or wiring real-time and client-direct access./flutterUse when writing or reviewing Flutter or Dart code — widget structure, state management, rendering performance on Impeller, or adapting a screen to iOS and Android./mobileUse when building or reviewing a mobile app on any framework — offline behavior, scrolling and animation smoothness, touch targets, battery use, or platform conventions./nextjsUse when writing or reviewing a Next.js App Router project — choosing server or client components, fetching and caching data, server actions, or route handlers.2 plugins in one repository ship this exact skill · first indexed Aug 7, 2026
Other plugins' skills for the same job