create-router-skill

Create a router skill that routes requests among child skills.

28|2|Updated Feb 5, 2026
One-click install
npx skills add https://github.com/thompson0012/agents-stack --skill create-router-skill
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: create-router-skill
Source: https://github.com/thompson0012/agents-stack/tree/main/templates/.agents/skills/skill-authoring/create-router-skill
Command: npx skills add https://github.com/thompson0012/agents-stack --skill create-router-skill

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

The router skill provides a dedicated entrypoint that keeps a family of related skills discoverable, enabling a single parent that routes to the correct child and surfaces explicit install-or-fallback behavior when a child is missing.

Core Features & Use Cases

  • Establishes a stable family boundary and a nested child inventory in references/children.json.
  • Enforces explicit routing decisions across siblings so the best-fit child is chosen and revealed to the agent.
  • Keeps leaf skills inside the router package or under the same umbrella while supporting lazy loading of full child bodies.

Quick Start

Create a router skill named create-router-skill with a stable child inventory and explicit install-or-fallback policy.

Frequently Asked Questions about create-router-skill

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

FAQPage Schema
How do I route requests to child skills when the optimal one is missing?▼

A router skill routes requests among a family of child skills by checking a stable inventory and providing explicit install-or-fallback guidance when the optimal child is unavailable. This keeps skill families discoverable under a single parent.

What is a router skill and when do I need one for my software package?▼

A router skill is a dedicated entrypoint that selects the best-fit child from a family of related skills. You need one when a software package requires an entrypoint that routes requests to nested child skills while surfacing explicit install-or-fallback behavior.

How to set up explicit handoff and routing across sibling skills?▼

Setting up explicit handoff involves enforcing routing decisions across siblings using allowed relationships like routes_to and includes. The router evaluates these relationships to choose and reveal the best-fit child to the agent for explicit skill selection.

Can I use a nested child inventory to manage lazy loading of skill bodies?▼

Yes, you can keep leaf skills inside the router package while supporting lazy loading of full child bodies. A nested child inventory in references/children.json maintains the stable family boundary required for this deferred loading behavior.

Does the router skill support install hints for unavailable child skills?▼

Yes, the router skill supports install hints by documenting them in install_if_missing. When the optimal child is unavailable, the router surfaces these explicit install-or-fallback policies to guide the agent on resolving the missing dependency.