<< All versions

Skill v1.0.0

currentAutomated scan100/100
tunahanaliozturk/atelier/capability-routing
──Details
PublishedSeptember 28, 2026 at 03:18 PM
Content Hashsha256:102d8325a06b3bae...
Git SHAe6d09206c5d3
──Files
Files (1 file, 1.3 KB)
SKILL.md1.3 KBactive
SKILL.md · 26 lines · 1.3 KB

version: "1.0.0" name: capability-routing description: Use when the lead assigns a task to an agent, to match the task to the best-fit specialist by capability.


Capability Routing

Route each task with the lib/routing.mjs helper, then apply judgment:

  1. Build the task descriptor { kind, layer?, capabilities? } from the planner's tagged

step. The registry is in context from the SessionStart hook; if it is not (a session started without the hook), read the agents/ directory with readRegistry first.

  1. Call route(task, agents). It coarse-filters by layer and task_kinds, scores each

candidate by task_kinds and capabilities overlap, and breaks ties deterministically (score descending, then name ascending).

  1. If route returns fallback: true, no agent fits. Do not force a poor match: tell the

user and use the writing-agents skill to scaffold a new agent that follows the capability schema.

  1. Otherwise take pick as the default. You may override it for a documented reason by

reading the candidates' descriptions — but record the final choice and the reason (including the score) in the mission decision log.

The orchestration and review layers are cross-cutting: the planner, lead, and reviewers are invoked by name in a fixed order, not selected by this filter.

All versions