pagerduty-oncall
Installation
SKILL.md
PagerDuty On-Call Incident Investigator
Authenticate, list escalation policies, fetch all incidents and their details, then analyse relevance across on-call teams.
Inputs
Raw arguments: $ARGUMENTS
Infer from the arguments:
- QUERY: what to investigate. Defaults to "incidents today". Interpret the time range to derive --since and --until dates (YYYY-MM-DD) in UTC (not local timezone). See the date derivation table in Step 5.
- MODE: Inferred from QUERY.
- If QUERY starts with "incident " or contains a PagerDuty URL (matching
pagerduty\.com/incidents/([A-Z0-9]+)) → SINGLE-INCIDENT mode - Otherwise → LIST mode (existing behaviour)
- If QUERY starts with "incident " or contains a PagerDuty URL (matching
- SINCE: (optional) UTC ISO8601 start of analysis window. Takes precedence over QUERY-derived dates in LIST mode.
- UNTIL: (optional) UTC ISO8601 end of analysis window. Takes precedence over QUERY-derived dates in LIST mode.
- TZ_DISPLAY: (optional) Timezone abbreviation for report display (e.g. the output of
date +"%Z"on the calling machine). When provided, use this for all report timestamps instead of detecting via system clock.