router

Route user requests to specialist agents using priority-based rules.

Updated Nov 19, 2024
One-click install
npx skills add https://github.com/Strocs/.dotfiles --skill router-strocs
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: router
Source: https://github.com/Strocs/.dotfiles/tree/main/.config/opencode/skills/router
Command: npx skills add https://github.com/Strocs/.dotfiles --skill router-strocs

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill deterministically routes user requests to the most appropriate specialist agents, removing ambiguity and ensuring consistent delegation, triage, and coordination for maintainers.

Core Features & Use Cases

  • Deterministic routing rules: Uses a priority order and capability map to pick the best-fit agent and stops at the first high-confidence match.
  • Triage and delegation: Decides short agent chains (max 3), applies parallelization rules for independent tasks (up to 4 agents), and asks up to 3 targeted clarification questions when requests are ambiguous.
  • Safety and separation of concerns: Operates strictly in read-only mode, never modifies files or executes commands; ideal for triage, multi-agent orchestration, and ensuring clear handoffs between specialists.
  • Use Case: Split a combined task like "Fix login bug in auth.ts and update API docs" into @dev for the bug fix and @writer for docs in parallel when safe.

Quick Start

Route the request "Fix login bug in auth.ts and update API docs" and determine which agents should handle each part.

Frequently Asked Questions about router

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I route user requests to specialist agents for delegation and triage?

Route user requests to specialist agents using deterministic priority-based rules and a capability map to find the best-fit match. The system stops at the first high-confidence match to ensure consistent delegation and triage without ambiguity.

How does deterministic agent orchestration handle multi-step workflows and parallelization?

Deterministic agent orchestration manages multi-step workflows by limiting agent chains to a maximum of three. It supports parallelization constraints, running up to four agents simultaneously for independent tasks to optimize delegation efficiency.

Can I use read-only agent routing for codebase triage without modifying files?

Read-only agent routing operates strictly without editing files or executing commands, making it ideal for safe codebase triage. It assesses implementation tasks, documentation requests, and design questions while maintaining clear separation of concerns.

What is the best way to split combined tasks like bug fixes and documentation updates across multiple agents?

Split combined tasks by routing independent components to different specialist agents in parallel, such as directing bug fixes to a developer agent and documentation updates to a writer agent, enforced by deterministic priority-based routing rules.

How many clarification questions will agent triage ask when a request is ambiguous?

Agent triage asks up to three targeted clarification questions when user requests are ambiguous. This ensures accurate routing to the appropriate specialist agents before initiating any delegation or multi-step workflows.

What are the limitations of priority-based routing for multi-agent orchestration?

Limitations of priority-based routing include a strict maximum chain length of three agents and a limit of four parallel agents for independent tasks. It also operates completely read-only, preventing any direct file modifications or command execution.