From pagerduty
Manage PagerDuty incidents with natural language queries, acknowledgments, resolutions, and notes
How this skill is triggered — by the user, by Claude, or both
Slash command
/pagerduty:pagerduty-incidentsWhen to use
Use this skill when the user wants to: - List, query, or search for incidents - View incident details and history - Acknowledge or resolve incidents - Add notes or context to incidents - Reassign incidents to different users - Investigate incident patterns or correlations - Perform incident triage
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
You are helping the user manage PagerDuty incidents through natural language interactions.
You are helping the user manage PagerDuty incidents through natural language interactions.
Verify the PAGERDUTY_API_KEY environment variable is set:
echo $PAGERDUTY_API_KEY
If not set, guide the user to obtain their PagerDuty API key from Integrations → API Access Keys in PagerDuty.
Use natural language to query incidents with various filters:
# List all triggered incidents (defaults to Infiquetra team YOUR_TEAM_ID)
python plugins/pagerduty/skills/pagerduty-incidents/scripts/pagerduty_client.py incidents list --status triggered
# High-urgency incidents only
python plugins/pagerduty/skills/pagerduty-incidents/scripts/pagerduty_client.py incidents list --status triggered --urgency high
# Incidents for a specific service
python plugins/pagerduty/skills/pagerduty-incidents/scripts/pagerduty_client.py incidents list --service-id PXXXXX
# Incidents from the last 2 hours
python plugins/pagerduty/skills/pagerduty-incidents/scripts/pagerduty_client.py incidents list --since "2026-02-26T12:00:00Z"
# Incidents assigned to a specific user
python plugins/pagerduty/skills/pagerduty-incidents/scripts/pagerduty_client.py incidents list --user-id PXXXXX
Common filters:
--status: triggered, acknowledged, resolved--urgency: high, low--service-id: Filter by specific service--team-id: Filter by team (defaults to Infiquetra team YOUR_TEAM_ID)--user-id: Filter by assigned user--since: Start date/time (ISO 8601 format)--until: End date/time (ISO 8601 format)python plugins/pagerduty/skills/pagerduty-incidents/scripts/pagerduty_client.py incidents get --id PXXXXX
Returns complete incident details including:
python plugins/pagerduty/skills/pagerduty-incidents/scripts/pagerduty_client.py incidents acknowledge --id PXXXXX
# With user context
python plugins/pagerduty/skills/pagerduty-incidents/scripts/pagerduty_client.py incidents acknowledge --id PXXXXX --from-email [email protected]
python plugins/pagerduty/skills/pagerduty-incidents/scripts/pagerduty_client.py incidents resolve --id PXXXXX
# With user context
python plugins/pagerduty/skills/pagerduty-incidents/scripts/pagerduty_client.py incidents resolve --id PXXXXX --from-email [email protected]
python plugins/pagerduty/skills/pagerduty-incidents/scripts/pagerduty_client.py incidents add-note \
--id PXXXXX \
--content "Investigating database connection timeout. Checking CloudWatch logs." \
--from-email [email protected]
python plugins/pagerduty/skills/pagerduty-incidents/scripts/pagerduty_client.py incidents reassign \
--id PXXXXX \
--user-id PYYYYY \
--from-email [email protected]
User: "Show me all incidents from the last 24 hours"
Response:
--since parameterUser: "What's the status of incident PXXXXX?"
Response:
User: "Show me all high-urgency incidents for wallet-service"
Response:
User: "Acknowledge incident PXXXXX and add note that I'm investigating"
Response:
User: "Show me all incidents in the last hour - what services are affected?"
Response:
After listing incidents, offer to correlate with Splunk logs:
Found 3 incidents for wallet-service in the last hour. Would you like me to:
1. Check Splunk logs for error patterns
2. Analyze metrics in CloudWatch
3. Review recent deployments
After acknowledging/resolving incidents:
Incident PXXXXX acknowledged. Would you like me to:
1. Post update to
2. Notify on-call team
3. Create incident report
For production incidents:
P1 incident resolved. Would you like me to:
1. Create Rally defect for root cause analysis
2. Link incident to existing story
3. Update sprint retrospective notes
When listing incidents, provide triage suggestions:
{
"summary": "5 triggered incidents, 3 high-urgency",
"recommendations": [
{
"incident": "PXXXXX",
"urgency": "high",
"service": "wallet-service",
"suggestion": "Acknowledge first - multiple alerts for same service suggest systemic issue",
"related_incidents": ["PYYYYY", "PZZZZZ"]
}
]
}
Detect patterns across incidents:
Pattern detected: 3 incidents for wallet-service all triggered within 5 minutes.
Possible causes:
1. Recent deployment (check last 30 minutes)
2. Database connection pool exhaustion
3. Upstream dependency failure (identity-service)
Cross-reference incidents with deployment timing:
Incident PXXXXX triggered 2 minutes after wallet-service deployment v1.2.3.
Recommendation: Consider rollback while investigating.
Convert natural language to API queries:
--since <yesterday-start> --until <yesterday-end> --urgency high--status triggered--service-id <wallet-id> --since <week-start>Missing API Key:
{
"error": true,
"message": "PAGERDUTY_API_KEY environment variable not set"
}
Solution: Guide user to set API key
Incident Not Found:
{
"error": true,
"message": "API error: 404",
"status_code": 404
}
Solution: Verify incident ID is correct
Rate Limiting:
{
"error": true,
"message": "Rate limit exceeded. Retry after 60 seconds",
"status_code": 429,
"retry_after": 60
}
Solution: Wait and retry, or reduce query frequency
All commands return JSON in this format:
{
"success": true,
"data": [...],
"count": 5,
"message": "Optional success message"
}
Parse the data field to extract incident information for further analysis.
See references/ directory for:
pagerduty-api.md: Complete PagerDuty API v2 referenceincident-workflows.md: Common incident management patternsrunbooks.md: Infiquetra-specific incident response proceduresnpx claudepluginhub infiquetra/infiquetra-claude-plugins --plugin pagerdutyProvides UI/UX resources: 50+ styles, color palettes, font pairings, guidelines, charts for web/mobile across React, Next.js, Vue, Svelte, Tailwind, React Native, Flutter. Aids planning, building, reviewing interfaces.
Fetches up-to-date documentation from Context7 for libraries and frameworks like React, Next.js, Prisma. Use for setup questions, API references, and code examples.