Pipe library / status-incidents
status-incidents
New incidents from a public status page Atom feed.
Developer monitoring
www.githubstatus.com
CLI
pipes run examples/status-incidents.pipe.yaml
MCP call
{
"name": "pipe__status-incidents",
"arguments": {}
}
Pipe file
examples/status-incidents.pipe.yaml
pipes: 0
name: status-incidents
version: 0.1.0
description: New incidents from a public status page Atom feed.
permissions:
network: [www.githubstatus.com]
inputs:
type: object
properties:
feed:
type: string
format: uri
default: https://www.githubstatus.com/history.atom
required: [feed]
outputs:
type: object
properties:
text: { type: string }
count: { type: integer }
required: [text, count]
output:
text: "${steps.format.text}"
count: "${steps.format.count}"
steps:
- id: fetch
block: fetch_http
with:
url: "${inputs.feed}"
max_bytes: 500000
retry: { max: 2, backoff_ms: 500 }
timeout_ms: 15000
- id: entries
block: parse_rss
in: "${steps.fetch}"
- id: capped
block: limit
in: "${steps.entries}"
with: { n: 15 }
- id: new
block: diff_since_last
in: "${steps.capped}"
with:
key: [id]
compare: [id]
emit: [added]
first_run: all
- id: format
block: format
in: "${steps.new}"
with:
header: "Status incidents:\n"
item_template: "- ${item.title} (${item.published}) ${item.link}"
separator: "\n"
- id: print
block: emit_stdout
in: "${steps.format.text}"
with: { format: text }