chatway-smart-routing
Installation
SKILL.md
Chatway Smart Routing
Recommend the right human follow-up for conversations that AI or the current support queue should not handle alone.
Workflow
- Locate the target conversation via
get-conversation,search-conversations, orlist-conversations, and readlist-conversation-messagesfor its history. Include internal messages only if necessary and permitted (include_internal_messages: true). - Identify the escalation reason: security or privacy concern, disputed billing/refund, account-specific access, explicit human request, urgent outage, unresolved repeated contact, or insufficient knowledge. Avoid treating every difficult message as an automatic handoff.
- Use
list-agentsto discover eligible team members if the relevant permission exposes it. The roster includesstatusandonline_status, but these do not establish schedule, workload, SLA, or expertise. Do not invent a team's routing rules. - Suggest assignment based on user-supplied ownership rules and verified roster information. If several agents match, present options and ask which to use. When no rules are available, recommend a human review instead of guessing the best agent.
- Prepare a concise private escalation summary: issue, customer goal, actions attempted, last unanswered question, risk/urgency, and suggested next step. Do not unnecessarily include sensitive contact information.
- Before using
assign-conversation, callget-conversationand checkassigned_agentsto see whether the selected agent is already assigned. The assignment tool toggles an agent's assignment state, so calling it for an already assigned agent can unassign them. Never invoke it blindly or assume it is an assign-only operation. For bulk requests, check every conversation and leave out those where the agent is already assigned. - Show proposed actions and get explicit authorization individually:
add-noteto record the summary,assign-conversationto assign an agent, orhandoff-to-humanto trigger Chatway's built-in human handover. - Respect required
assign-conversationconfirmation challenges (confirmation_required+ token). Forhandoff-to-human, note that external AI sending can be blocked until handoff is cleared. Do not claim a handoff or assignment occurred until the tool confirms it.
Routing output
| Conversation ID | Escalation reason | Urgency | Suggested owner | Recommended action |
|---|