escalation-workflow

Automated escalation path determination and workflow execution

509 stars

Best use case

escalation-workflow is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

Automated escalation path determination and workflow execution

Teams using escalation-workflow should expect a more consistent output, faster repeated execution, less prompt rewriting.

When to use this skill

  • You want a reusable workflow that can be run more than once with consistent structure.

When not to use this skill

  • You only need a quick one-off answer and do not need a reusable workflow.
  • You cannot install or maintain the underlying files, dependencies, or repository context.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/escalation-workflow/SKILL.md --create-dirs "https://raw.githubusercontent.com/a5c-ai/babysitter/main/library/specializations/domains/business/customer-experience/skills/escalation-workflow/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/escalation-workflow/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How escalation-workflow Compares

Feature / Agentescalation-workflowStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

Automated escalation path determination and workflow execution

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

SKILL.md Source

# Escalation Workflow Skill

## Overview

The Escalation Workflow skill provides automated escalation path determination, notification generation, and workflow execution for support and customer success operations. This skill ensures that complex or high-priority issues are routed to appropriate escalation tiers with proper documentation, tracking, and SLA monitoring.

## Capabilities

### Escalation Level Determination
- Evaluate issue severity and impact
- Apply escalation rules and criteria
- Determine appropriate escalation tier
- Consider customer segment and priority
- Factor in historical escalation patterns
- Calculate escalation urgency scores

### Notification Generation
- Generate escalation alerts to relevant parties
- Create escalation handoff documentation
- Produce management notification summaries
- Send customer escalation confirmations
- Trigger on-call and pager integrations
- Compose executive briefing communications

### Progress and Aging Tracking
- Track escalation progress through stages
- Monitor escalation age and elapsed time
- Generate aging alerts and reminders
- Track owner assignments and transitions
- Maintain escalation audit trails
- Report on stuck or stalled escalations

### Escalation Metrics Calculation
- Calculate escalation rates by category
- Measure mean time to escalation resolution
- Track escalation volume trends
- Analyze escalation causes and patterns
- Generate escalation performance dashboards
- Benchmark against escalation targets

### Handoff Documentation
- Generate structured handoff briefs
- Document troubleshooting steps completed
- Capture customer communication history
- Compile relevant technical details
- Include reproduction steps and evidence
- Create executive summary for stakeholders

### SLA Monitoring
- Track escalation-specific SLAs
- Generate SLA breach warnings
- Monitor response time compliance
- Calculate time remaining to breach
- Trigger escalation for SLA risks
- Report SLA performance by tier

### De-escalation Support
- Generate de-escalation recommendations
- Track resolution criteria completion
- Document de-escalation decisions
- Notify stakeholders of de-escalation
- Archive escalation records
- Update customer on resolution

## Usage

### Determine Escalation Level
```yaml
skill: escalation-workflow
action: determine-escalation
parameters:
  issue:
    id: "TICKET-12345"
    severity: high
    impact: multiple_customers
    duration_hours: 4
    current_tier: 1
  customer:
    segment: enterprise
    health_score: 45
    contract_value: 500000
  context:
    previous_escalations: 2
    customer_sentiment: frustrated
```

### Generate Escalation Notification
```yaml
skill: escalation-workflow
action: generate-notification
parameters:
  escalation_id: "ESC-2025-001"
  notification_type: tier2_handoff
  recipients:
    - role: tier2_lead
    - role: account_csm
    - role: support_manager
  include:
    - issue_summary
    - customer_context
    - troubleshooting_history
    - recommended_actions
  urgency: high
```

### Track Escalation Progress
```yaml
skill: escalation-workflow
action: track-progress
parameters:
  escalation_id: "ESC-2025-001"
  update:
    status: in_progress
    owner: "engineer@company.com"
    actions_taken:
      - "Reviewed logs and identified memory leak"
      - "Applied temporary workaround"
    next_steps: "Deploy patch in next maintenance window"
    estimated_resolution: "2025-01-25T10:00:00Z"
```

### Calculate Escalation Metrics
```yaml
skill: escalation-workflow
action: calculate-metrics
parameters:
  date_range:
    start: "2025-01-01"
    end: "2025-01-31"
  dimensions:
    - escalation_tier
    - issue_category
    - customer_segment
  metrics:
    - escalation_count
    - mttr_escalations
    - escalation_rate
    - sla_compliance
```

### Generate De-escalation Recommendation
```yaml
skill: escalation-workflow
action: recommend-deescalation
parameters:
  escalation_id: "ESC-2025-001"
  resolution:
    root_cause: "Memory leak in v2.3.4"
    fix_applied: "Patch deployed v2.3.5"
    customer_confirmation: true
    monitoring_period_complete: true
  recommendation:
    action: de-escalate
    rationale: "Issue resolved, customer confirmed, stable for 48 hours"
```

## Process Integration

This skill integrates with the following customer experience processes:

| Process | Integration Points |
|---------|-------------------|
| escalation-management.js | Core escalation workflow, tier routing, stakeholder notification |
| itil-incident-management.js | Major incident escalation, P1 workflows, bridge management |
| ticket-triage-routing.js | Initial escalation triggers, priority-based escalation |
| sla-management.js | SLA breach escalation, response time alerts, compliance tracking |

## Escalation Tier Model

The skill supports configurable escalation tier models:

| Tier | Criteria | Response Target | Stakeholders |
|------|----------|-----------------|--------------|
| Tier 1 | Standard issues | 4 hours | Support Agent |
| Tier 2 | Complex technical | 2 hours | Senior Engineer |
| Tier 3 | Critical/Multi-customer | 1 hour | Engineering Lead, CSM |
| Tier 4 | Business critical | 30 minutes | Director, VP, Executive |

## Dependencies

- Escalation rules engine configuration
- Notification system integration (email, Slack, PagerDuty)
- Ticketing system integration for status sync
- On-call schedule access
- Customer segment and priority data
- SLA configuration definitions

## Best Practices

1. **Clear Criteria**: Define explicit escalation criteria to avoid subjective decisions
2. **Documentation**: Ensure thorough handoff documentation at each tier transition
3. **Customer Communication**: Keep customers informed throughout escalation
4. **Root Cause Tracking**: Document root causes to improve future triage
5. **Metrics Review**: Regularly review escalation metrics for process improvement
6. **Runbook Integration**: Link to relevant runbooks and troubleshooting guides

## Shared Potential

This skill has applicability to related domains:
- IT Service Management
- DevOps/SRE Incident Response
- Security Incident Response
- Operations Management

Related Skills

clinical-workflow-analysis

509
from a5c-ai/babysitter

Analyze clinical workflows to identify inefficiencies, bottlenecks, and improvement opportunities using Lean healthcare principles and value stream mapping techniques

osf-workflow-integrator

509
from a5c-ai/babysitter

Skill for integrating with Open Science Framework workflows

characterization-workflow-orchestrator

509
from a5c-ai/babysitter

Workflow automation skill for orchestrating multi-technique characterization sequences

snakemake-workflow-manager

509
from a5c-ai/babysitter

Snakemake workflow management skill for rule-based pipeline execution

workflow-automator

509
from a5c-ai/babysitter

Operational workflow automation skill with task sequencing, approval routing, and exception handling

onboarding-workflow

509
from a5c-ai/babysitter

Automate and manage employee onboarding workflows, checklists, and new hire integration

qt-translation-workflow

509
from a5c-ai/babysitter

Set up Qt Linguist workflow with .ts files, lupdate/lrelease integration, and translation management

macos-notarization-workflow

509
from a5c-ai/babysitter

Automate Apple notarization with xcrun notarytool for macOS application distribution

macos-codesign-workflow

509
from a5c-ai/babysitter

Execute macOS code signing with Developer ID and hardened runtime requirements

process-builder

509
from a5c-ai/babysitter

Scaffold new babysitter process definitions following SDK patterns, proper structure, and best practices. Guides the 3-phase workflow from research to implementation.

Workflow & Productivity

babysitter

509
from a5c-ai/babysitter

Orchestrate via @babysitter. Use this skill when asked to babysit a run, orchestrate a process or whenever it is called explicitly. (babysit, babysitter, orchestrate, orchestrate a run, workflow, etc.)

yolo

509
from a5c-ai/babysitter

Run Babysitter autonomously with minimal manual interruption.