route_directive

Route directives to AI agents using keyword detection and swarm state.

Updated Feb 18, 2026
One-click install
npx skills add https://github.com/ollieb89/openrepo --skill route-directive
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: route_directive
Source: https://github.com/ollieb89/openrepo/tree/main/agents/main/skills/route_directive
Command: npx skills add https://github.com/ollieb89/openrepo --skill route-directive

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill streamlines AI agent operations by intelligently analyzing incoming directives and routing them to the most appropriate handler, whether it's a specialized Project Manager (PM) agent, a generic execution specialist, or requires coordination.

Core Features & Use Cases

  • Smart Routing: Analyzes directive content to determine the best agent or execution path.
  • Domain Specialization: Routes tasks to specific PMs based on technology stack or project keywords (e.g., 'pumplai_pm', 'nextjs_pm').
  • Generic Task Handling: Spawns L3 specialists for tasks like research, analysis, or documentation.
  • Coordination & Escalation: Identifies multi-domain tasks for parallel execution or escalates ambiguous directives to L1.

Quick Start

Use the route_directive skill to determine the best handler for the directive "Implement a Next.js login page with FastAPI backend".

Frequently Asked Questions about route_directive

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

FAQPage Schema
How do I route tasks to specific AI agents based on project tech stack?

You can route tasks to specific AI agents by analyzing directive content and tech stack keywords to match directives with specialized Project Managers for optimal task delegation.

What is the best way to coordinate multi-domain directives across multiple AI agents?

Coordinating multi-domain directives across AI agents is handled by identifying tasks that span multiple domains and routing them for parallel execution across multiple specialized Project Managers.

How do AI agent swarms handle ambiguous or unclear directives?

AI agent swarms handle unclear directives by escalating ambiguous tasks to an L1 agent, ensuring that directives lacking specific domain keywords are reviewed before execution.

When should I spawn a generic L3 specialist instead of routing to a domain-specific PM?

You should spawn a generic L3 specialist for tasks requiring general research, analysis, or documentation, rather than routing to a domain-specific PM for tech stack execution.

Can I use keyword detection to automate AI agent task delegation?

Yes, you can use keyword detection and swarm state analysis to automate AI agent task delegation, matching directive content with the appropriate specialized handler.

Does route_directive support routing directives to nextjs_pm or similar specialized agents?

Yes, route_directive supports routing directives to specialized agents like nextjs_pm by identifying specific technology stack keywords within the incoming directive content.