routes-manager

Route messages to agents and sessions using pattern-based dispatch policies.

6|2|Updated Jan 29, 2026
One-click install
npx skills add https://github.com/filipexyz/ravi --skill routes-manager
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: routes-manager
Source: https://github.com/filipexyz/ravi/tree/main/src/plugins/internal/ravi-system/skills/routes
Command: npx skills add https://github.com/filipexyz/ravi --skill routes-manager

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill solves the challenge of managing complex message routing in multi-agent systems, ensuring that incoming messages from various channels are correctly directed to the appropriate agents and sessions without manual intervention.

Core Features & Use Cases

  • Dynamic Routing: Define patterns to route messages based on phone numbers, group IDs, or specific threads.
  • Policy Enforcement: Configure priority, DM scopes, and access policies for different communication channels.
  • Session Continuity: Manage the lifecycle of sessions to ensure agents maintain context across different interactions.
  • Use Case: A support team can use this to route all messages from a specific VIP client group to a dedicated support agent while maintaining a separate session for general inquiries.

Quick Start

Use the routes-manager skill to add a new routing rule that directs all messages from the sales group to the sales-agent with a priority of 10.

Frequently Asked Questions about routes-manager

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

FAQPage Schema
How do I route incoming messages to specific agents in a multi-agent system?

Message routing in a multi-agent system is handled by defining pattern-based dispatching rules that direct incoming communications to specific agents and channels. You configure patterns using phone numbers, group IDs, or threads to ensure correct agent-to-chat mapping.

What is pattern-based message dispatching and when do I need it for agent orchestration?

Pattern-based message dispatching automatically routes communications to designated agents by matching identifiers like phone numbers or group IDs. You need it when managing complex multi-agent systems where manual message direction is inefficient and error-prone.

How do I maintain session continuity across multiple agent interactions?

Session continuity is maintained by managing the lifecycle of persistent sessions that ensure agents retain context across interactions. The system handles session assignment to map ongoing communications to the correct durable context automatically.

Can I enforce priority and access policies for different communication channels?

Priority and access policies can be enforced by configuring priority-based resolution and policy overrides for different channels. You define DM scopes and priority levels to ensure VIP or specific group messages resolve to the correct agent.

How do I set up a routing rule to direct messages from a specific group to a dedicated agent?

To set up a routing rule, define a pattern matching the target group ID and assign it to the dedicated agent with a specified priority. This directs all messages from that group to the agent while maintaining a separate session for other inquiries.

What are the limitations of priority-based resolution in message routing?

Priority-based resolution manages conflicting routing rules by applying priority levels and policy overrides. Limitations arise when multiple high-priority patterns overlap, requiring careful configuration of DM scopes and access policies to prevent misrouting.