pagerduty-api
Skill by anthropics
Queries and manages PagerDuty for on-call, incidents, schedules, and escalation policies. Built for engineers who need to check who is on call, act on incidents, or trace who was paged. Uses the PagerDuty REST API and Events API v2.
Install pagerduty-api
Built from the published package, never by AI.
git clone --depth 1 https://github.com/anthropics/claude-tag-plugins /tmp/claude-tag-plugins && mkdir -p ~/.claude/skills && cp -r /tmp/claude-tag-plugins/pagerduty/skills/pagerduty-api ~/.claude/skills/pagerduty-apiRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/anthropics/claude-tag-plugins /tmp/claude-tag-plugins && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/claude-tag-plugins/pagerduty/skills/pagerduty-api ~/.gemini/antigravity-cli/skills/pagerduty-apiAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
This agent skill lets an AI assistant work with PagerDuty through its REST API at api.pagerduty.com and its Events API v2 at events.pagerduty.com. It covers finding who is on call, listing and reading incidents, and reading escalation policies and schedules. It can also trace which users were notified and on which channel, acknowledge, resolve, escalate, snooze, or add notes to incidents, create incidents, create or update services, and trigger alerts through Events API v2.
The skill includes a bundled script, scripts/pd_oncall.sh, for on-call lookups, and curl recipes for the other operations. Authentication is injected by the runtime, so the user does not set up tokens for the REST API. It is written for engineers and operators who use PagerDuty for on-call and incident response and want an assistant to query or act on it.
Written from the project's SKILL.md and checked against it.
What it can do
- Who's on callFinds who is on call, scoped by service, policy, schedule, user, or time, using scripts/pd_oncall.sh.
- List open incidentsLists triggered and acknowledged incidents, sorted and filtered by time, service, team, or urgency.
- Get one incidentReads a single incident by its alphanumeric ID, including status, urgency, and assignments.
- Trace who got pagedReads incident log entries to show who was notified, when, and on which channel.
- Incident actionsAcknowledges, resolves, escalates, snoozes, or adds a note to an incident.
- Trace routingFollows a service to its escalation policy and then to the ordered rules and schedules.
- Create an incidentCreates a new incident on a given service with a title, urgency, and details.
- Trigger an alertSends trigger, acknowledge, or resolve events through Events API v2 using a routing key.
What you need
- PagerDuty API token, injected by the runtime
- PagerDuty Events API v2 routing key for alert events
- curl
- jq
- bash shell
Try asking
- Who is on call for the checkout service right now?
- List open incidents for my team, newest first
- Show who was paged for incident PXXXXXX and through which channel
Good to know
- REST API is limited to 960 requests per minute per token.
- Events API v2 has a separate limit of about 120 events per minute per routing key.
- Pagination offset plus limit cannot exceed 10,000; narrow the filters beyond that.
- Incident changes require a From header with the email of a real PagerDuty user in the account.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: pagerduty/skills/pagerduty-api/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to pagerduty-api
All alternatives →Runs the full Next.js deployment test suite for an internal vercel/next.js pull request. It validates the commit's preview package, then dispatches the test_e2e_deploy_release.yml workflow. Meant for maintainers who explicitly ask for the entire suite.
Instruments Python AI applications with DeepEval's native tracing so their execution appears span by span in Confident AI's Observatory. It is for developers building LLM apps, agents, RAG pipelines and chatbots.
Manages Azure Container Registry through the az acr Azure CLI command group. It covers registries, images, cloud builds, ACR Tasks, tokens, geo-replication and networking. Built for developers and operators who work with ACR in Azure.
Opens, runs, and shows apps on a temporary Crabbox machine, including native desktops and web previews. It is for OpenClaw users who want an app running and visible in their chat side panel.
Runs batch and HPC workloads on GKE using job queues and parallel processing. Aimed at teams running batch pipelines, HPC simulations, or ML training jobs on Google Kubernetes Engine.
Answers questions about GKE cluster and workload costs using BigQuery billing exports and live cluster metrics. Built for platform engineers and cloud teams who need to analyze and diagnose GKE spend.
Compare with deploy-release-test, deepeval-tracing or azure-container-registry-cli
pagerduty-api: common questions
Does the PagerDuty skill need manual token setup?
No. The source says credentials are injected by the runtime into outbound requests, so nothing needs to be set up. A persistent 401 or 403 means the credential is not configured for the workspace.
Why does an incident update return a 400 error?
The source says incident mutations need a From header containing the email of a real PagerDuty user in the account. A missing or unknown email returns 400.
What is the PagerDuty API rate limit?
The source states 960 requests per minute per token for the REST API. On a 429 response, the skill should wait for the ratelimit-reset seconds and retry.
How do I install pagerduty-api?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is pagerduty-api free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is pagerduty-api safe to use?
It scores 58 of 100. Grades: maintenance A, licence A, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to pagerduty-api?
Similar skills: deploy-release-test, deepeval-tracing, azure-container-registry-cli, crabbox-apps.
