claude-code-plugins: Instructions file for Claude Code

CLAUDE.md

claude-code-plugins CLAUDE.md is an instructions file for Claude Code from PagerDuty/claude-code-plugins. It costs 2,122 tokens per session, scanned C, original, Apache-2.0.

Repository instructions for a Claude Code plugin marketplace that contains PagerDuty integrations. PagerDuty is a service for tracking and responding to software incidents.

In plain words
What is it for?
Working on the marketplace metadata, plugin commands, PagerDuty connection, and related skill-management code.
Why use it?
They give the coding agent the repository layout, plugin rules, and registration steps, so it can make changes in the expected places.

Instructions file for Claude Code

Written for Claude Code: Claude Code plugin machinery. Also seen: reads .claude/ paths; mentions .claude-plugin; mentions CLAUDE.md.

This is PagerDuty/claude-code-plugins's own configuration. It tells Claude Code how to work on claude-code-plugins itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything claude-code-plugins configures →

Not installable: its command points at a path on the author’s own machine, so it runs nowhere else. The line is /Users/mmayo/repos/claude-code-plugins.

Reuse

Borrowing it

Nothing to install: this file belongs to PagerDuty/claude-code-plugins. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/PagerDuty/claude-code-plugins/main/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/PagerDuty/claude-code-plugins

Made for: Claude Code.

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 claude-code-plugins CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/pagerduty/claude-code-plugins/claude-md/github.svg)](https://agentmods.dev/instructions/pagerduty/claude-code-plugins/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/pagerduty/claude-code-plugins/claude-md"><img src="https://agentmods.dev/badge/instructions/pagerduty/claude-code-plugins/claude-md/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for claude-code-plugins CLAUDE.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/pagerduty/claude-code-plugins/claude-md"><img src="https://agentmods.dev/badge/instructions/pagerduty/claude-code-plugins/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 2,122 This file is loaded in full into every session.
When invoked 2,122 The same file — it is already loaded in full.
Security scan C 2 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.02122 $0.02122
Opus 5.5 $0.00849 $0.00849
Sonnet 5.5 $0.00424 $0.00424
Haiku 4.5 $0.00212 $0.00212

Measured 12d ago against content hash 93cc03a03a58, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade C, and why

claude-code-plugins CLAUDE.md 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 12d 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.

Reads agent configuration directoriesmediumAgent snooping

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

`.mcp.json` declares external MCP servers the plugins depend on. The PagerDuty server is an HTTP MCP server that requires `PAGERDUTY_API_KEY` to be set in the environment (via `.claude/settings.local.json` or `~/.claude/

Reads MCP configurationmediumAgent snooping

mcp.json carries server URLs and auth tokens; reading it lets a mod discover and abuse other integrations.

`.mcp.json` declares external MCP servers the plugins depend on. The PagerDuty server is an HTTP MCP server that requires `PAGERDUTY_API_KEY` to be set in the environment (via `.claude/settings.local.json` or `~/.claude/
CLAUDE.md · 169 lines

How it starts

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

CLAUDE.md

This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.

Repository Overview

This is a Claude Code plugin marketplace for PagerDuty integrations. It contains plugins that bring operational intelligence into development workflows by correlating code changes with PagerDuty incident data.

Current plugins:

  • pagerduty: Includes multiple commands:
    • Pre-commit risk scoring using PagerDuty incident history and git diff analysis
    • PagerDuty skill creation and management for AI agents (Early Access)

Repository Structure

.claude-plugin/           # Marketplace and plugin metadata
  marketplace.json        # Marketplace registry definition
  plugin.json            # Plugin metadata (name, version, author)
commands/                # Plugin slash commands
  pre-commit-risk-scoring.md   # Risk assessment command
  create-pagerduty-skill.md    # Skill creation/management command
.mcp.json               # PagerDuty MCP server configuration

Plugin Architecture

Marketplace Registration

The marketplace is defined in .claude-plugin/marketplace.json with owner metadata and a list of plugins. Each plugin entry must specify:

  • name: Plugin identifier (e.g., "pagerduty")
  • source: Path to plugin definition (typically "./")
  • description: What the plugin does
  • version: Semantic version string
  • author: Attribution metadata

Plugin Metadata

Each plugin has a plugin.json at its source path containing name, description, version, and author. The version in plugin.json must match the version in marketplace.json.

Command Definitions

Commands are markdown files in the commands/ directory with frontmatter:

  • description: Human-readable command purpose
  • argument-hint: Optional syntax hint for arguments
  • allowed-tools: Whitelist of tools the command can invoke

The markdown body contains the full command prompt that gets executed when the slash command is invoked.

Read the full file on GitHub · 169 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. 12d ago Changed · +1 lines · +168 tokens per session 93cc03a03a58
  2. 2mo ago First seen · 168 lines · 1,954 tokens per session scan C 9b060c3b09bb

Subscribe to this mod's changes

claude-code-plugins CLAUDE.md is an instructions file published in the GitHub repository PagerDuty/claude-code-plugins (7 stars, last pushed 12d ago), licensed Apache-2.0. It adds 2,122 tokens to every session, about $0.0085 per session on Opus 5.5. A static security scan graded it C with 2 findings (reads agent configuration directories, reads mcp configuration). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

claude-code-plugins CLAUDE.md compared with instructions from other repositories

claude-code-plugins CLAUDE.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
claude-code-plugins CLAUDE.mdPagerDuty/claude-code-pluginsInstructions file712d agoApache-2.0C2,122Claude Code
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143ktodayMITA7,461Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA5,685GitHub Copilot
langchain AGENTS.mdlangchain-ai/langchainInstructions file149ktodayMITA4,680Codex, OpenCode
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file279ktodayMITA4,325Codex, OpenCode
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA3,086GitHub Copilot