Auto

From yonatangross/orchestkit · View interactive version

Auto is an AI agent skill from the GitHub repository yonatangross/orchestkit. Default front door for goal-shaped requests: classifies a plain-English goal and routes it to the right skill. Use for do this, figure out, I want, help me, fix, build, improve. Not for browsing skills (use help).

How to use this skill

Skill file

auto — Intent Router

The front door to OrchestKit. You describe a goal in plain English; the router classifies it and hands off to the right specialist. One entry point, many execution paths.

Why this exists: OrchestKit has 115 skills, but usage telemetry shows users fire only the handful they can name by memory (10 distinct skills across thousands of sessions). The dominant cause of "dead" skills is no front door — not low quality. This router turns "you must know the exact /ork:<name>" into "describe what you want."

Core principle: routing is a deterministic workflow, not an autonomous agent (Anthropic, Building Effective Agents). Classify → confirm → hand off. The router never does the work itself — it picks who does.

When to use

By default, for any goal-shaped request. An unambiguous goal is a 1-step

route: auto classifies, confirms in one line, and hands off — no extra hops,

so there is no "too obvious for auto".

| Use auto for… | Skip only when… |

|---|---|

| Any goal description ("fix X", "get Y to Z") | Already executing inside another skill (no recursion) |

| The right skill isn't obvious | Chaining a known multi-skill workflow you're mid-way through |

| You think you know the skill — auto confirms & short-circuits | |

Design note (2026-07-12): this table previously said "Go direct when you

already know the skill / the request maps unambiguously to one". That inverted

instruction made the front door structurally unreachable — a competent model

always believes it knows the target, so the router recorded near-zero

invocations across thousands of sessions (the exact dead-skill problem the

"Why this exists" note above describes). Routers must be framed as the

default path, not an escape hatch for confusion.

Intent categories → OrchestKit skill

| intent | signal words | routes to |

|---|---|---|

| fix | fix, debug, broken, failing, error, crash, regression | fix-issue |

| diagnose | why, why isn't, why does, why can't, investigate, triage, root cause, culprit commit | fix-issue (investigation-first) |

| optimize | faster, reduce, latency, bundle, minimize, below N ms | a /goal optimization loop (see Gaps) |

| cover | coverage, untested, get to N% | cover --target N |

| e2e | e2e, in the browser, browser test, playwright | expect (run on the diff); cover when no e2e tests exist yet |

| design | design, architect, how should we, explore, idea | /ork:brainstorm |

| build | build, implement, create, add feature, from ticket | implement |

| review | review, PR, MR, pull request, #N, diff | review-pr |

| open-pr | open a PR, make a PR, PR title and body, ready for review, go up for review | create-pr |

| verify | verify, check, make sure, passes, green | verify |

| improve-skill | improve the skill, optimize the prompt, SKILL.md | the holdout-promotion gate (see Gaps) |

| setup | set up OrchestKit, onboard this repo, which skills fit this project, rescan the stack | /ork:setup |

| migrate | across all repos, every repo, org-wide, roll out to N repos, bump in each consumer | /ork-extras:swarm-migrate (formerly a core ork skill; needs the opt-in ork-extras plugin, slash-only) |

| (fallback) | no confident category | clarify with ONE question |

Full per-category parameter extraction + edge cases: references/routing-rules.md.

Model weight (orthogonal second dimension)

Intent picks who does the work. Weight picks how expensive that worker should be. A route is {intent} @ {weight}. Weight never changes the intent and never replaces it. The taxonomy above and the 7 disambiguation rules are untouched by it.

Tiers are the ones already declared in each agent's model: frontmatter (haiku 3 · sonnet 23 · opus 6 · inherit 4). No parallel taxonomy.

| weight | tier | the task is… |

|---|---|---|

| Light | haiku | mechanical or IO-bound, single file, deterministic output, trivially revertible |

| Standard | sonnet | the default: bounded judgment, known pattern |

| Heavy | opus | adversarial, security, safety, architecture, cross-cutting, or ambiguous |

Resolution is asymmetric: ANY heavy signal ⇒ Heavy; Light requires ALL light signals; everything else is Standard. Under-powering a security review yields a confident wrong answer nobody catches; over-powering a rename only wastes money.

Weight is per leg, not per route. A PR review can be a Heavy security leg plus a Light lint leg. Full signal table, per-intent defaults, and the honest limits of this lever: references/routing-rules.md.

This is the selector, and the only cost control. OrchestKit ships no spawn cap: the old team-size-gate hook was removed in #3839. Choosing the tier here is what keeps a premium model off routine work.

The flow

  CLASSIFY  ->  CONFIRM  ->  HAND OFF
     |            |             |
  intent       show the     invoke the
  + weight     route        target skill;
  one line     + nod        follow ITS phases

1. Classify

Name the route and the one signal that decided it in a single short line. Example: "'get latency under 200ms' names a metric + a direction, so optimize, not fix."

Apply the disambiguation rules (most specific wins; explicit verb beats inferred intent). The load-bearing one: explicit verb wins — "Fix the slow query" → fix, not optimize. For the full ordered ruleset (all 7, including the truly-ambiguous fallback), references/routing-rules.md is canonical.

Then classify weight in the same pass, naming the signal that decided it: "touches auth and models an attacker → Heavy." Intent first, weight second; a weight call never rewrites the intent you just committed to.

A route: line is a prior, not a verdict. When the prompt context carries one line of the shape route: <class> -> /ork:<skill> (conf 0.xx) or route: <class> -> Agent(<name>) (conf 0.xx), it came from the Jev routing seam (ORK_ROUTE_JEV=steer, off by default, #4233): one typed judgment of the capability class, taken before you read this table. Treat it as the prior for this step, state in one sentence whether you agree and why, and then classify as above. Your reasoning still decides; a confident prior you disagree with is worth a sentence, never a silent override in either direction. The confirm step is unchanged; the hand-off tool follows the target: a /ork: skill goes through the Skill tool, an Agent(...) target through the Agent tool.

2. Confirm (low ceremony)

Show the chosen route in one line and get a nod before handing off:

Goal:   "{original goal}"
Intent: {category}
Weight: {Light|Standard|Heavy} ({tier}), decided by: {signal}
Route:  {skill or loop} {extracted args}
        [run] · [adjust] · [cancel]

For low-risk single-pass routes (verify, review), an inline "routing you to verify — ok?" is enough. Never hand off without a nod.

Premium spend is never silent. Routing down (Light/Standard) needs no approval, because spending less is not a decision the user has to make. Routing up to Heavy is premium spend and gets its own line the user must accept:

⚠️  Heavy route: {N} opus-tier leg(s), triggered by: {heavy signal}
    [approve premium] · [run Standard instead] · [cancel]

If they decline, run Standard and say plainly which check is weakened. Never upgrade mid-handoff or inside a spawned agent the user did not see.

3. Hand off

Invoke the target skill with the extracted parameters and follow that skill's own phases and guardrails — do not override them. The router's job ends at the handoff; the specialist owns execution and its own report.

A hand-off is a Skill-tool invocation, not a recommendation. The failure mode that motivated M170 (#3127): telemetry traced 43 router hand-offs and found ZERO reached an executor skill (implement, cover, fix-issue, review-pr) — the route was named in chat, then the work happened inline in the main loop, so the executors' specialist wiring (implement → backend-system-architect, cover → test-generator) never activated. Therefore:

Fallback + honest gaps

Stacked invocation

/skill-a /skill-b <goal> loads all leading skills (up to 5) into context at once; the trailing args belong to the whole stack. So auto brainstorm <goal> pre-loads the specialist alongside the router — useful when the user already knows part of the route. The router still owns classification and handoff; a pre-loaded specialist does not bypass the confirm step.

Guardrails

Validation

Routing accuracy is gateable, not vibes. routing-benchmark.json holds 78 labeled goal → category pairs (easy + genuinely ambiguous). Validate after any change to the category table or disambiguation rules:

# isolated classification check: /ork-extras:bare-eval grades router output against routing-benchmark.json
/ork-extras:bare-eval

Target ≥95% category accuracy; track the fallback rate as a degradation alarm as the skill library grows.

References

Quality Bar

Done means all of these hold:

Related skills

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.