Automated summary
Reads one PagerDuty incident and extracts content relevant to a specific research context, returning a ~500 token summary.
Strengths
- Targeted extraction based on research context, avoiding generic summaries
- Clear output structure with relevance rating
- Automatic detection of ID formats (incident vs service)
- Low token usage (~500 tokens)
Limitations
- Processes only one incident at a time
- Relies on an external shell script and PagerDuty CLI
- Not a substitute for deep incident analysis
When you need to quickly extract specific information from a PagerDuty incident to answer a precise research question.
For batch analysis of multiple incidents or for a full report of all incident details without a defined context.
Security analysis
CautionThe skill instructs an AI agent to run a bash script with a user-provided incident identifier. While the intent is benign (reading incident details), the use of Bash with unsanitized input poses a minor injection risk. The script itself is presumed trusted, but the lack of explicit sanitization instructions warrants caution.
- •Executes a local shell script with user-supplied incident_id; potential command injection if id is not sanitized or script is vulnerable.
- •Script likely accesses PagerDuty API; may expose credentials if not properly secured.
Examples
Q0RIJJZL24RC6W | investigating root cause of checkout failureP123ABC | understanding why this service was pageddescription: "Read one PagerDuty incident and extract content relevant to a research context. Returns ~500 token summary." allowed-tools: ["Bash"] model: haiku context: fork agent: Explore
PagerDuty Incident Reader
You read ONE PagerDuty incident and extract content relevant to the research context (~500 tokens).
Input Format
The user provides: {incident_id} | {research context}
Examples:
Q0RIJJZL24RC6W | investigating root cause of checkout failureP123ABC | understanding why this service was paged
Instructions
- Extract the incident_id from the input (ID before the
|) - Run the pagerduty-incident-reader script:
~/.dataops-assistant/bin/pagerduty-incident-reader.sh {incident_id}
- Read the research context - it tells you WHAT to extract
- Extract ONLY information relevant to that context from the script output
- Return structured output with relevance rating
Key principle: You are NOT summarizing the whole incident. You extract what matters for THIS research question.
ID Format Detection
The script automatically detects ID format mismatches:
- Incident IDs: Typically longer, often start with
Q(e.g.,Q0RIJJZL24RC6W) - Service IDs: Typically shorter, 7 characters, start with
P(e.g.,PG7CZUT)
If given a service ID, the script will error and suggest using pagerduty-service-reader instead.
Output Format
INCIDENT: #{number} - {title}
ID: {incident_id}
STATUS: {Triggered|Acknowledged|Resolved} | URGENCY: {High|Low}
SERVICE: {service_name} ({service_id})
CREATED: {date} | RESOLVED: {date or "ongoing"}
RESEARCH CONTEXT: {echo what we were looking for}
RELEVANT FINDINGS:
- {Finding directly relevant to research context}
- {Finding directly relevant to research context}
TIMELINE:
- {timestamp}: {key event relevant to research}
- {timestamp}: {key event relevant to research}
NOTES ({count} total):
- {Note relevant to research, if any}
ASSIGNEES:
- {name} - {role/assignment}
RELATED ALERTS: {count} alerts
- {Summary if relevant to research}
RELEVANCE: {high|medium|low} - {brief explanation}
Rules
- MAX ~500 tokens output
- Extract only what's relevant to research context
- If incident has minimal relevance, say so and keep output brief
- Include TIMELINE only for key events (not every acknowledgment)
- Summarize notes, don't include full text
- Include RELEVANCE rating
From the file to a first result
The download contains exactly the content displayed on this page. This copy may differ from the latest version in the source repository.
View the source and supporting filesThis download contains SKILL.md only. Any scripts, references, templates and dependencies are not included. Get the required files from the source, preserving their directory structure, before continuing.
1. Download the file
Download SKILL.mdFrom the root of a test project, save the file as .skill-downloads/pagerduty-incident-reader-mma3jsqh/SKILL.md, or use the command below. This folder is for inspecting the skill before installation.
Command for macOS/Linux or WSL: requires a POSIX shell and curl. On Windows without WSL, use the download button and create the folder manually.
mkdir -p '.skill-downloads/pagerduty-incident-reader-mma3jsqh' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/pagerduty-incident-reader-mma3jsqh/download' --output '.skill-downloads/pagerduty-incident-reader-mma3jsqh/SKILL.md.part' && mv '.skill-downloads/pagerduty-incident-reader-mma3jsqh/SKILL.md.part' '.skill-downloads/pagerduty-incident-reader-mma3jsqh/SKILL.md'2. Check prerequisites
Read SKILL.md before using it. If it references scripts or external services, inspect them and prepare the required access in your test environment.
No recognized prerequisites section in this file. This does not mean it is self-contained: libraries, tools and access requirements may be mentioned elsewhere in the content or source repository.
The platforms on this page are catalog indications. The paths below follow tool documentation; they do not prove this skill has been run in those tools. No minimum tool version is confirmed for this listing.
3. Load the skill
This file does not provide a usable name/description header for this native procedure. It remains available to download and inspect; use the manual method below.
Manual method or another tool: attach SKILL.md to a conversation, or open it in an agent that can read files. Include any required supporting resources. No universal folder is recognized by every tool.
4. Try a first task
Use a short, synthetic input: an API endpoint, a small document or an interface brief. In a new conversation, attach the file or give the agent its path, then adapt this request:
Read .skill-downloads/pagerduty-incident-reader-mma3jsqh/SKILL.md and apply its instructions to this example: [describe a test input]. Identify any missing files, dependencies or access. Produce the result requested by the skill without inventing data or running unreviewed scripts.Expected result: output matching the skill instructions, or a precise list of missing prerequisites. A read confirmation alone does not validate a first use. If an external resource is unavailable, that path remains untested.
Configure a Chat Channel with SecretRefs
DevOps
Set up chat channels using non-interactive commands, with secrets only as SecretRefs. Covers gather, mutate, repair, and prove steps for reliable delivery.
Investigate ClickHouse CI Failures
DevOps
Investigate a ClickHouse CI failure end-to-end from a PR or S3 report URL. Fetches failed tests, classifies flaky vs real regression, and checks for existing issues/fixes.
Ansible PR Review
DevOps
Reviews an Ansible PR following the project's standardized process, including changelog checks, test coverage validation, and feedback tracking.