skill-routing

Route tasks to the most relevant installed skill before acting.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/hack-ink/codexlab --skill skill-routing
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: skill-routing
Source: https://github.com/hack-ink/codexlab/tree/main/.codex/skills/skill-routing
Command: npx skills add https://github.com/hack-ink/codexlab --skill skill-routing

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Establishes a routing layer that identifies and loads the most relevant installed skill at the beginning of a task, preventing reliance on outdated context or memory.

Core Features & Use Cases

  • Proactively checks for relevant or explicitly requested skills before any response or action.
  • Loads the selected skill via the runtime's canonical loading mechanism, ensuring the current version is used.
  • Falls back gracefully when a loaded skill does not apply and continues with the best alternative.
  • Supports policy-driven discovery using child-skill-policy.toml and routing fixtures to guide safe, predictable behavior.

Quick Start

Immediately assess installed skills and load the most relevant one before taking action.

Frequently Asked Questions about skill-routing

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

FAQPage Schema
How does skill routing prevent using outdated context during task execution?

Skill routing establishes a routing layer that identifies and loads the most relevant installed skill at task start, preventing reliance on outdated context or memory before execution.

How do I load the most relevant installed skill before taking action?

Assess installed skills immediately and load the most relevant one via the runtime's canonical loading mechanism, usually the SKILL.md entrypoint, to ensure the current version handles the task.

What happens when a loaded skill does not apply to the current task?

When a loaded skill does not apply, skill routing falls back gracefully and continues with the best alternative available, while keeping routing metadata and policy files current.

Can I use policy files to guide skill discovery across different runtime environments?

Yes, skill routing supports policy-driven discovery using child-skill-policy.toml and routing fixtures to guide safe, predictable behavior across diverse runtime environments and loading strategies.

When should I use skill discovery before acting on a request?

Use skill discovery at task start when one or more skills might apply, including explicit requests or implicit matches, to ensure the best-suited capability handles the task proactively.