escalation-manager
Skill0 starsChanged 6 months agoMITView on GitHub
Handle urgent customer conversations end-to-end — identify critical issues, assign to the best available agent, log escalation notes, and optionally draft an immediate response. Use when the user says something is urgent, needs escalation, or wants to handle a critical ticket.
In this repository9 other files it gives its agents.
- agent-signupSkill
- contact-onboardSkill
- customer-360Skill
- inbox-triageSkill
- knowledge-managerSkill
- metrics-compareSkill
- team-workloadSkill
- weekly-reportSkill
- widget-customizerSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
19 rules. About 0 are common, 17 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈17
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 37
Ask the user which conversations to escalate
- Distinctive: line 45
Verify the customer's issue has been addressed by reviewing the thread
- Very specific: line 56
SLA breach: No response within the sla_threshold_hours window (default: 4 hours)
- Distinctive: line 60
Unassigned and aging: No agent assigned and the conversation is older than 2 hours
- Distinctive: line 64
When picking the best agent for an escalation, evaluate in this order:
- Distinctive: line 67
Expertise match: Prefer agents whose role or past conversations align with the issue topic
- Distinctive: line 68
Current workload: Prefer agents with fewer active conversations (under 8 is ideal)
- Distinctive: line 69
Recency: If the customer has spoken to a specific agent before, prefer that agent for continuity
- Distinctive: line 71
If no agents are available, flag the escalation as unassignable and recommend the user check team schedules or handle it personally.
- Very specific: line 85
When show_ids is enabled, include conversation and contact IDs.
- Distinctive: line 97
No agents available: Do not assign. Flag the conversation as "Escalated — Unassigned" in the contact note and alert the user to handle it …
- Distinctive: line 99
Customer already responded: If the customer sent a new message while escalating, re-read the thread before drafting any response to avoid …
- Distinctive: line 114
After escalating, use /sla-monitor (if available) for ongoing monitoring of the escalated conversation.
- Distinctive: line 115
Use /team-workload to verify agent capacity before assigning escalations.
- Distinctive: line 119
Always log every escalation as a contact note — escalations must leave an audit trail
- Distinctive: line 120
Never send a reply to the customer without explicit user approval
- Distinctive: line 121
When drafting responses, acknowledge the customer's frustration and set clear expectations for next steps
- Distinctive: line 122
Prefer reassignment over closing when in doubt about resolution
- Distinctive: line 123
Treat repeated-contact escalations with extra care — the customer is already frustrated
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Escalation Manager
Handle critical customer conversations from detection through resolution — escalate, assign, respond, and de-escalate with full audit trails.
Workflow Modes
Escalate Specific Conversation
Escalate a known conversation by ID, assigning it to the best available agent and logging the escalation.
- Fetch the conversation using
get_conversationwith the provided conversation ID - Fetch team members using
list_team_membersto find available agents - Evaluate the conversation: read the full thread to understand severity, customer sentiment, and topic
- Select the best agent using the agent selection criteria below
- Assign the conversation using
assign_conversationto the selected agent - Log an escalation note on the contact using
add_contact_notewith the escalation reason, assigned agent, and timestamp - Optionally draft an immediate acknowledgment response — present it to the user for approval before sending via
reply_to_conversation - Present the escalation summary
Scan for Urgent Items
Proactively scan the inbox for conversations that meet escalation criteria and present them for action.
- Fetch all open conversations using
list_conversationswithstatus: "open" - Fetch team members using
list_team_membersto check availability - For each open conversation, evaluate against the escalation criteria below
- For conversations that meet criteria, use
get_conversationto read the full thread and confirm urgency - Present a ranked list of conversations needing escalation, ordered by severity
- Ask the user which conversations to escalate
- For each confirmed escalation, run the Escalate Specific Conversation workflow
De-escalate
Close a resolved escalation, log the resolution, and optionally notify the customer.
- Fetch the conversation using
get_conversationto confirm it is resolved - Verify the customer's issue has been addressed by reviewing the thread
- Log a de-escalation note on the contact using
add_contact_notewith resolution details - Optionally draft a closing message for the customer — present for approval before sending
- Close the conversation using
close_conversation - Present a de-escalation summary with resolution time and outcome
Escalation Criteria
A conversation qualifies for escalation if any of the following are true:
- High priority flag: The conversation is marked as high or urgent priority
- SLA breach: No response within the
sla_threshold_hourswindow (default: 4 hours) - VIP customer: The contact is tagged as VIP, enterprise, or high-value
- Repeated contacts: The customer has opened 3+ conversations in the past 7 days
- Negative sentiment: The conversation contains frustration indicators (e.g., "unacceptable", "cancel", "escalate", "speak to a manager")
- Unassigned and aging: No agent assigned and the conversation is older than 2 hours
Agent Selection Criteria
When picking the best agent for an escalation, evaluate in this order:
- Online status: Agent must be currently available or online
- Expertise match: Prefer agents whose role or past conversations align with the issue topic
- Current workload: Prefer agents with fewer active conversations (under 8 is ideal)
- Recency: If the customer has spoken to a specific agent before, prefer that agent for continuity
If no agents are available, flag the escalation as unassignable and recommend the user check team schedules or handle it personally.
Output Format
Present escalation results as a structured summary:
Escalation Summary:
- Conversation: [Subject] — [Contact Name] ([email])
- Severity: [Critical / High / Medium]
- Reason: [Why this was escalated — e.g., "SLA breach: 6 hours without response"]
- Assigned to: [Agent name]
- Escalation note: Logged on contact record
- Response drafted: [Yes — pending approval / No — not requested]
When show_ids is enabled, include conversation and contact IDs.
Examples
- "Escalate conversation 123" — Runs Escalate Specific Conversation. Reads the thread, picks the best agent, assigns, logs the note, and offers to draft a response.
- "Scan for anything urgent" — Runs Scan for Urgent Items. Reviews all open conversations against escalation criteria and presents a ranked list.
- "De-escalate — this is resolved" — Runs De-escalate on the most recently discussed conversation. Logs resolution and closes.
- "Escalate this to Sarah" — Assigns to the named agent specifically rather than auto-selecting.
- "Scan and auto-escalate anything breaching SLA" — Scans and escalates all SLA-breaching conversations after presenting the list for confirmation.
Edge Cases
- No agents available: Do not assign. Flag the conversation as "Escalated — Unassigned" in the contact note and alert the user to handle it manually or check schedules.
- Conversation already assigned: Inform the user of the current assignee. Offer to reassign if the current agent is unavailable or overloaded.
- Customer already responded: If the customer sent a new message while escalating, re-read the thread before drafting any response to avoid stale context.
- Multiple conversations from same customer: Consolidate context from all open threads before escalating. Mention related conversations in the escalation note.
- Conversation already closed: Report that the conversation is resolved. Offer to reopen if the user believes it still needs attention.
Settings
| Setting | Default | Description |
sla_threshold_hours | 4 | Hours of inactivity before a conversation is flagged as SLA-breaching |
auto_assign | false | Whether to assign without confirmation (use with caution) |
show_ids | false | Show conversation and contact IDs in output |
Cross-Skill References
- /inbox-triage often identifies conversations that need escalation — use escalation-manager to act on those findings.
- After escalating, use /sla-monitor (if available) for ongoing monitoring of the escalated conversation.
- Use /team-workload to verify agent capacity before assigning escalations.
Rules
- Always log every escalation as a contact note — escalations must leave an audit trail
- Never send a reply to the customer without explicit user approval
- When drafting responses, acknowledge the customer's frustration and set clear expectations for next steps
- Prefer reassignment over closing when in doubt about resolution
- Treat repeated-contact escalations with extra care — the customer is already frustrated
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

