migrate-from-pagerduty

migrate-from-pagerduty is a skill for Claude Code, Codex from iLert/ilert-cli. It costs 16 tokens per session (7,378 once invoked), scanned B, original, Apache-2.0.

A migration guide for moving PagerDuty resources to ilert, two systems used to manage alerts and incidents. It explains how similarly named objects differ and how they should be mapped.

In plain words
What is it for?
Use it to plan or carry out a PagerDuty-to-ilert migration, especially when mapping services, alert sources, incidents, escalation policies, and integrations.
Why use it?
It helps prevent migration errors caused by treating a PagerDuty Service or Incident as the same thing as its ilert counterpart. Those objects have different roles in routing alerts, subscriptions, and outage tracking.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/ilert/ilert-cli/migrate-from-pagerduty
Any agent
npx skills add iLert/ilert-cli --skill migrate-from-pagerduty
Clone the repo
git clone --depth 1 https://github.com/iLert/ilert-cli

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for migrate-from-pagerduty

README.md
[![agentmods](https://agentmods.dev/badge/skills/ilert/ilert-cli/migrate-from-pagerduty.svg)](https://agentmods.dev/skills/ilert/ilert-cli/migrate-from-pagerduty)
Your own site
<a href="https://agentmods.dev/skills/ilert/ilert-cli/migrate-from-pagerduty"><img src="https://agentmods.dev/badge/skills/ilert/ilert-cli/migrate-from-pagerduty.svg" alt="Measured on agentmods" height="20"></a>
Per session 16 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 7,378 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 2 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00016 $0.07378
Opus 5 $0.00008 $0.03689
Sonnet 5 $0.00003 $0.01476
Haiku 4.5 $0.00002 $0.00738

Measured 5d ago against content hash 6b40b5157552, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade B, and why

migrate-from-pagerduty scanned grade B with 2 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

* **A config or header file the user writes once**, `chmod 600`, that you

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -H "Authorization: Token token=$PD_TOKEN" # the shell expands this first
skills/migrate-from-pagerduty/SKILL.md · 490 lines

How it starts

The opening of the file, as written. The whole thing — 490 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Migrating from PagerDuty to ilert

The two products use overlapping words for different objects. Two of those collisions cause most migration defects, and neither is visible from the API spec.

For ilert's own semantics and the CLI behaviour behind a bulk import, read the ilert-essentials skill alongside this one. Where PagerDuty's own data lives — and how to hold a foreign API key while you read it — is under Reading the PagerDuty side below; start there when the job is extraction rather than design.

The two traps

A PagerDuty Service is not an ilert Service. PagerDuty's Service is the routing object: it receives events, owns the escalation policy, and holds the integration keys. In ilert that role belongs to the Alert Source. ilert's Service represents a business capability people subscribe to: it appears on status pages, carries outage history, and can be attached to alert sources and named as an affected service on an incident — but it owns no escalation policy and receives no events. Mapping PD Services onto ilert Services produces a topology that looks right and routes nothing.

A PagerDuty Incident is not an ilert Incident. PagerDuty's Incident is the actionable page. In ilert that is an Alert (PENDINGACCEPTEDRESOLVED), created by an alert source and driven by an escalation policy. ilert's Incident sits a level above: a coordination record you declare for a significant event, which links alerts, pages responders, carries a timeline and an incident channel, and is what Status updates are posted from. PagerDuty has no single object for it — the closest is a PD incident after an Incident Workflow has been run against it.

PD incidents therefore map to ilert alerts, one for one. Mapping them onto ilert Incidents instead creates coordination records that no alert source feeds and no escalation policy drives.

Resource mapping

PagerDuty ilert Notes
Service Alert Source Carries escalationPolicy, integrationKey, integrationUrl
Integration (routing key) Alert Source integrationKey / integrationUrl New value; every emitter must be re-pointed
Escalation Policy Escalation Policy Rules hold escalationTimeout plus users / schedules / teams
Schedule Schedule type is STATIC or RECURRING
Schedule layer scheduleLayers Only on RECURRING schedules
Override Shift, via PUT /schedules/{id}/overrides Same Shift payload as a schedule shift, but its own endpoint; must not be in the past
Team Team visibility is PUBLIC or PRIVATE — only PRIVATE restricts, see below
User User
Contact method Contact Separate objects per channel
Notification rule Notification Preference Split by priority and by notification type
Incident Alert
Alert (PD's sub-object) Alert PD's incident/alert split collapses into one object; grouping is expressed through alertCreation and alertKey instead of a nested layer
Business Service Service Not only a status-page component: also attached to alert sources (services, autoCreateServices) and to incidents as affected services
Status page Status Page Page metrics map to Metric + Metric Data Source; see the migrate-from-statuspageio skill for the page-side detail
Status update template Incident Template sendNotification on the template decides whether subscribers are notified
Change Event Deployment Event + Deployment Pipeline Separate ingest endpoint and its own integration key — see below
Maintenance Window Maintenance Window
Event Orchestration / Event Rules Event Flow A layer above alert sources with its own ingest URL — see below
Orchestration dynamic routing Escalation Policy routingKey + Alert Source routingTemplate Direct equivalent; usually replaces the orchestration outright — see below
Extension / Webhook Alert Action + Connector Connector holds the credentials, Alert Action the binding
Priority (P1–P5) Alert severity, integer 15 on the event (displayed SEV1SEV5) One for one — see below
Urgency (high / low) Alert priority HIGH / LOW Priority stays two-valued; this is the faithful mapping
Response Play / Incident Workflow Incident responders, incident channel, conference bridge — triggered by an ilert incidents Alert Action The actions map, and the automatic trigger has an equivalent — see below
Postmortem Postmortem /incidents/{id}/postmortems — request, edit, delete, and attach external links
Live Call Routing Call Flow + Call Flow Number Routing targets differ and numbers cannot be ported — see below
Escalation policy num_loops Escalation Policy repeating / frequency Both are repeat counts, so this one transfers directly
Service acknowledgement_timeout Alert Action on v-alert-not-resolved ACCEPTED stops escalation by design; the reminder moves to an alert action — see below
Service auto_resolve_timeout Alert Source autoResolutionTimeout Absent means never
Service alert_grouping_parameters Alert Source alertCreation + alertGroupingWindow See below
User role Role / TeamRole Fixed enums (ADMIN, USER, RESPONDER, STAKEHOLDER, GUEST), (custom rbac roles require Enterprise plan)
Team member /teams/{id}/members with TeamRole
On-call (/oncalls) /on-calls Not a migrated object; the endpoint to verify coverage after import
Status update on an incident Status update Posted from an ilert Incident, via /status-updates

Read the full file on GitHub · 490 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 5d ago First seen · 490 lines · 16 tokens per session scan B 6b40b5157552

Subscribe to this mod's changes

migrate-from-pagerduty is a skill published in the GitHub repository iLert/ilert-cli (2 stars, last pushed 15d ago), licensed Apache-2.0. It adds 16 tokens to every session and 7,378 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it B with 2 findings (asks for root, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

investigate

The entry point for any software problem -- deployment failures, infrastructure issues, performance degradation, errors, or anything going wrong. Use when the user wants to understand what's happening, check on issues, check on the status of an investigation, ask about their systems, query Antimetal's AI for context…

antimetal/cursor-plugin · 88 tokens

fix

Fix a software issue by applying Antimetal's remediation to your codebase. Use when the user wants to fix, resolve, patch, remediate, or apply changes for any issue—or when they say things like "how do I fix this", "what should I change", "apply the fix", "let's resolve it", or when investigation is done and the next…

antimetal/cursor-plugin · 81 tokens

antimetal-mcp-setup

Ensures the Antimetal MCP server is configured and ready to use. Run this before attempting to call any Antimetal MCP tools—if the API key is missing, tools will fail silently.

antimetal/cursor-plugin · 48 tokens

opencli-sitemap-author

Use when creating or maintaining OpenCLI site sitemaps: agent-facing navigation, page-state, action, workflow, API-reference, pitfall, and fallback knowledge for a website. Use after browser exploration discovers durable site context, when a sitemap is stale, or when promoting local site knowledge into the repo.

jackwener/OpenCLI · 67 tokens

specification-writing

Write the full patent specification from claims and invention disclosure. Use when user says "撰写说明书", "write specification", "写说明书", "patent description", or wants to draft the complete patent specification.

wanshuiyin/Auto-claude-code-research-in-sleep · 49 tokens

training-check

Interactively monitor training metrics from the current Codex session, periodically checking WandB or fallback logs for NaN, divergence, plateaus, and broken runs.

wanshuiyin/Auto-claude-code-research-in-sleep · 35 tokens