create-pagerduty-skill

create-pagerduty-skill is a command for coding agents from PagerDuty/claude-code-plugins. It costs 12 tokens per session (4,422 once invoked), scanned C, original, Apache-2.0.

A guided command for creating or updating PagerDuty Skills, which are instructions that help AI agents work with PagerDuty. PagerDuty is a service for managing incidents and on-call response.

In plain words
What is it for?
Use it to create or revise PagerDuty guidance for AI agents through an interview.
Why use it?
It turns a person’s PagerDuty knowledge into structured instructions, while checking that the required PagerDuty access is available.

Command

Part of the claude-code-plugins plugin — 2 commands shipped together

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 commands/pagerduty/claude-code-plugins/create-pagerduty-skill
Clone the repo
git clone --depth 1 https://github.com/PagerDuty/claude-code-plugins

Or install claude-code-plugins, the plugin that ships this one along with the rest of its 2 commands.

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 create-pagerduty-skill

README.md
[![agentmods](https://agentmods.dev/badge/commands/pagerduty/claude-code-plugins/create-pagerduty-skill.svg)](https://agentmods.dev/commands/pagerduty/claude-code-plugins/create-pagerduty-skill)
Your own site
<a href="https://agentmods.dev/commands/pagerduty/claude-code-plugins/create-pagerduty-skill"><img src="https://agentmods.dev/badge/commands/pagerduty/claude-code-plugins/create-pagerduty-skill.svg" alt="Measured on agentmods" height="20"></a>
Per session 12 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 4,422 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 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.00012 $0.04422
Opus 5 $0.00006 $0.02211
Sonnet 5 $0.00002 $0.00884
Haiku 4.5 $0.00001 $0.00442

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

Security

Grade C, and why

create-pagerduty-skill scanned grade C 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 4d 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 the agent to reveal its instructionsmediumSystem prompt leakage

Directions to print, repeat or translate the system prompt extract configuration the operator did not intend to expose.

[show full instructions]

Reads agent configuration directoriesmediumAgent snooping

.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.

4. Set your PAGERDUTY_API_KEY in the environment (.claude/settings.local.json or ~/.claude/settings.json)
commands/create-pagerduty-skill.md · 590 lines

How it starts

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

You are creating or updating a PagerDuty Skill for AI agents. Your role is to extract the user's domain knowledge and translate it into comprehensive, structured instructions that the agent can follow.

Pre-flight Checks

CRITICAL: Before proceeding, verify PagerDuty Advance MCP is available.

  1. Use ToolSearch to check for mcp__pagerduty-advance-mcp-__create_skill_tool
  2. If not found, display error and EXIT (do not proceed):
    ❌ PagerDuty Advance MCP is not available.
    
    This command requires the PagerDuty Advance MCP server to create and manage skills via API.
    
    Note: PagerDuty Skills is currently in Early Access (EA).
    
    To get access:
    1. Request PagerDuty Skills EA access: https://www.pagerduty.com/early-access/
    2. Request PagerDuty Advance MCP/API EA access: https://support.pagerduty.com/main/changelog/pagerduty-advance-mcpapi-support-is-now-in-early-access-for-advance-customers
    3. Once approved, configure PagerDuty Advance MCP in .mcp.json
    4. Set your PAGERDUTY_API_KEY in the environment (.claude/settings.local.json or ~/.claude/settings.json)
    5. Restart Claude Code
    6. Re-run /pagerduty:create-pagerduty-skill
    
  3. Do NOT proceed without MCP access - no silent degradation

API Constraints

Skills are managed via the PagerDuty Advance MCP API with these constraints:

  • agent_type: Always "sre" (only SRE Agent supports skills currently)
  • scope: REQUIRED - "account" (shared, team-level) or "user" (personal, individual)
  • name: kebab-case, max 60 chars, unique per (agent, scope) - same name can exist in both scopes
  • description: max 1024 chars
  • instructions: max 5000 tokens total (entire skill document)
  • limits:
    • Account scope: Max 50 skills per agent
    • User scope: Max 25 skills per agent
  • immutable fields: scope and name cannot be changed after creation (must delete and recreate)

Validation rules:

  • Name format: ^[a-z0-9]+(-[a-z0-9]+)*$ (kebab-case only)
  • Token estimation: chars / 4 ≈ tokens
  • Warn at 90% of 5000 token limit (4500 tokens)

Read the full file on GitHub · 590 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. 4d ago First seen · 590 lines · 12 tokens per session scan C bed806e675a6

Subscribe to this mod's changes

create-pagerduty-skill is a command published in the GitHub repository PagerDuty/claude-code-plugins (6 stars, last pushed 3mo ago), licensed Apache-2.0. It adds 12 tokens to every session and 4,422 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it C with 2 findings (asks the agent to reveal its instructions, reads agent configuration directories). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.