router-builder

Routes queries to commands, agents, skills, or workflows via hierarchical semantic matching.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/neverprepared/ink-bunny --skill router-builder-neverprepared
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: router-builder
Source: https://github.com/neverprepared/ink-bunny/tree/main/reflex/plugins/reflex/skills/router-builder
Command: npx skills add https://github.com/neverprepared/ink-bunny --skill router-builder-neverprepared

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Route queries to the correct command, agent, skill, or workflow resource using a hierarchical semantic router, enabling scalable decision-making across an AI assistant.

Core Features & Use Cases

  • Hierarchical two-tier routing (category then domain) for fast, accurate resource selection.
  • Embedding-based routing with a HuggingFace encoder to handle natural language and slash-command style inputs.
  • Easy extensibility via YAML route definitions under routing/routes and support for dynamic route additions via API.
  • Reusable across commands, agents, skills, and workflows to orchestrate task distribution among subagents.

Quick Start

Invoke the route function with a user query to obtain the categorized resource and routing metadata.

Frequently Asked Questions about router-builder

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

FAQPage Schema
How do I route natural language queries to specific agent workflows?

You can route natural language queries to specific agent workflows using a hierarchical semantic router that matches utterance embeddings against defined categories and domains to select the correct resource.

What is the best way to orchestrate task distribution among multiple subagents?

The best way to orchestrate task distribution among subagents is using a two-tier routing system that categorizes mixed utterances and directs them to the appropriate command, agent, or skill resource.

How does embedding-based semantic routing handle slash commands and mixed utterances?

Embedding-based semantic routing uses a HuggingFace all-MiniLM-L6-v2 encoder to process slash commands and mixed utterances, matching their vector representations against YAML route definitions to determine the correct target.

Can I dynamically add new routing paths for agent tasks without stopping the workflow?

Yes, you can dynamically add new routing paths for agent tasks via API, allowing you to inject new route definitions into the routing system on the fly without interrupting ongoing workflows.

Do I need YAML route definitions to use hierarchical routing for my AI assistant?

Yes, you need YAML route definitions under the routing routes directory to configure the hierarchical router, as these files specify the categories and domains required for accurate semantic task distribution.

Why use a two-tier category and domain routing system instead of a flat router for agent orchestration?

A two-tier category and domain routing system provides faster and more accurate resource selection than a flat router by narrowing down semantic matches hierarchically, enabling scalable decision-making across numerous agents.