PagerDuty for Openclaw

A comprehensive PagerDuty integration for managing incidents, schedules, and escalation policies through a high-performance CLI.

aiwithabidi
v1.0.0
Mar 6, 2026
0
379
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install pagerduty

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install pagerduty using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is PagerDuty?

The PagerDuty skill for Openclaw Skills provides a robust interface to the PagerDuty REST API, enabling seamless incident management directly from your development environment. It allows teams to manage the full lifecycle of system alerts, from initial creation and urgency setting to resolution and post-mortem note-taking.

By utilizing this skill, developers and SREs can automate their DevOps workflows without external dependencies, as the tool is built using only the Python standard library. This ensures high compatibility and ease of deployment across various systems while maintaining full control over services, on-call rotations, and team notifications.

PagerDuty Use Cases

  • Automating the creation of incidents during CI/CD pipeline failures.
  • Querying active on-call schedules to identify the current point of contact.
  • Monitoring and filtering incident lists by status, urgency, or specific timeframes.
  • Adding audit trail notes to existing incidents programmatically.
  • Managing service configurations and escalation policies across multiple teams.

How PagerDuty Works

  1. The user authenticates using a PagerDuty API key stored in the environment variables.
  2. The skill executes specialized Python scripts that communicate with PagerDuty REST API endpoints.
  3. Users issue commands for specific actions like listing incidents, updating statuses, or fetching user data.
  4. The system processes the request and returns structured JSON data for programmatic use or formatted text for human readability.
  5. Advanced filtering options allow users to narrow down data based on IDs, query strings, or date ranges.

PagerDuty Setup

To start using this integration within Openclaw Skills, follow these steps:

  1. Ensure you have Python 3.10 or higher installed.
  2. Obtain your API key from the PagerDuty dashboard.
  3. Configure your environment variable:
export PAGERDUTY_API_KEY='your_api_token_here'
  1. Verify the installation by listing current incidents:
python3 scripts/pagerduty.py incidents --human

PagerDuty Data Schema & Taxonomy

The skill interacts with various PagerDuty entities and returns data in a consistent JSON format. Below is the primary data organization:

Entity Key Attributes Purpose
Incidents id, status, urgency, title, service_id Track and manage system alerts
Services id, name, description Manage technical or business services
Schedules id, name, oncall_users View and modify on-call rotations
Notes id, content, created_at Add context to incident reports
Users/Teams id, name, email Manage access and escalation targets

PagerDuty Advanced Features

  • Zero-dependency design utilizing only the Python standard library for maximum portability within Openclaw Skills.
  • Support for complex incident filtering using --since and --until parameters.
  • Human-readable output mode via the --human flag for easier manual debugging.
  • Comprehensive API coverage including vendors, abilities, and notification management.
  • Batch processing support for listing large sets of incidents or users.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Requires
Github Stars: 0
forks: 0

Featured*