跳到正文
TakoAPI
返回技能列表

pager-triage

由 tkuehnl 提供

Coding Agents & IDEs
—暂无评分
你的评分

简介

AI-powered incident triage for PagerDuty.

描述

该技能的功能

Connects to PagerDuty's REST API to list active incidents, view timelines and alert correlations, check on-call schedules, and take actions like acknowledge, resolve, and annotate. Read-only by default; write operations require an explicit --confirm flag.

Handles the full triage loop, from listing incidents to acknowledging and annotating, without leaving the agent, and enforces confirmation gates on all write operations to prevent accidental changes.

何时使用

  • Checking what incidents are currently firing during an outage
  • Finding who is on call for a specific service right now
  • Acknowledging a triggered incident to stop further escalation
  • Adding a root cause note to an incident's timeline
  • Reviewing recent incident history for a service over the past 7 or 30 days

示例工作流

输入

User asks: What's currently firing on PagerDuty?

智能体
  1. 1

    Calls pd_incidents to retrieve all triggered and acknowledged incidents

  2. 2

    Sorts results by urgency (high first) and duration (oldest first)

  3. 3

    Calls pd_incident_detail on the highest urgency incident to get timeline and alert correlation

  4. 4

    Returns a summary of all active incidents with detailed context on the most critical one

输出

List of 3 active incidents with the highest-urgency incident's full timeline, trigger source, escalation history, and recommended next steps

前置要求

  • PAGERDUTY_API_KEY environment variable (PagerDuty REST API v2 token)
  • PAGERDUTY_EMAIL environment variable (required only for write operations: ack, resolve, note)

安装

clawhub install tkuehnl/pager-triage

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接