Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

statuspage

БесплатноБез исполняемых скриптовНе проверен

Atlassian Statuspage is a hosted status page service with a REST API for components, incidents and scheduled maintenance. Use this skill to list and update…

TerminalSkillsот TerminalSkills★ 221 звезда на GitHub

Об этом скилле

Statuspage

Overview

Atlassian Statuspage exposes a REST API at https://api.statuspage.io/v1/. Everything hangs off a page (pages/{page_id}): components (the things users see, each with a status), and incidents. Scheduled maintenance is also an incident, with scheduled_* fields.

Authentication is an API key from the Statuspage account's API info page, sent as Authorization: OAuth <key> (the word is OAuth, not Bearer). Each key is limited to 1 request per second over a 60-second rolling window; 420 and 429 mean you were throttled, so space out bulk updates. The examples read STATUSPAGE_API_KEY and STATUSPAGE_PAGE_ID from the environment. IDs are short alphanumeric strings such as 4g812xxgm6ws, taken from the list calls.

Values you need:

  • Component status: operational, under_maintenance, degraded_performance, partial_outage, major_outage.
  • Real-time incident status: investigating, identified, monitoring, resolved.
  • Scheduled maintenance status: scheduled, in_progress, verifying, completed.
  • impact_override: none, minor, major, critical.

Instructions

Task A: Components

curl -s "https://api.statuspage.io/v1/pages/${STATUSPAGE_PAGE_ID}/components" \
  -H "Authorization: OAuth ${STATUSPAGE_API_KEY}" | jq '.[] | {id, name, status}'

curl -s -X POST "https://api.statuspage.io/v1/pages/${STATUSPAGE_PAGE_ID}/components" \
  -H "Authorization: OAuth ${STATUSPAGE_API_KEY}" -H "Content-Type: application/json" \
  -d '{"component": {"name": "Payment API", "description": "Card payments and billing", "status": "operational", "showcase": true}}'

curl -s -X PATCH "https://api.statuspage.io/v1/pages/${STATUSPAGE_PAGE_ID}/components/${COMPONENT_ID}" \
  -H "Authorization: OAuth ${STATUSPAGE_API_KEY}" -H "Content-Type: application/json" \
  -d '{"component": {"status": "degraded_performance"}}'

Add a group_id field with the id of an existing component group (for example "group_id": "kz3m8w1x6vq2") to file a component under that group.

Task B: Incident lifecycle

Create with the affected components in both component_ids and the components map (id to status). The status page and subscribers update immediately unless you add "deliver_notifications": false.

curl -s -X POST "https://api.statuspage.io/v1/pages/${STATUSPAGE_PAGE_ID}/incidents" \
  -H "Authorization: OAuth ${STATUSPAGE_API_KEY}" -H "Content-Type: application/json" \
  -d '{"incident": {
    "name": "Elevated error rates on Payment API",
    "status": "investigating",
    "impact_override": "minor",
    "body": "We are investigating elevated error rates on payments. Some transactions may fail.",
    "component_ids": ["'"${COMPONENT_ID}"'"],
    "components": {"'"${COMPONENT_ID}"'": "degraded_performance"}
  }}' | jq '{id, status, shortlink}'

Post updates by PATCHing the incident, moving through identified and monitoring to resolved. Resolve with the components set back to operational, otherwise they stay degraded on the page:

curl -s -X PATCH "https://api.statuspage.io/v1/pages/${STATUSPAGE_PAGE_ID}/incidents/${INCIDENT_ID}" \
  -H "Authorization: OAuth ${STATUSPAGE_API_KEY}" -H "Content-Type: application/json" \
  -d '{"incident": {"status": "resolved",
       "body": "The connection pool was resized and payments are back to normal.",
       "components": {"'"${COMPONENT_ID}"'": "operational"}}}'

GET /pages/{page_id}/incidents/unresolved lists open incidents, which is how automation finds the one to update.

Task C: Scheduled maintenance

curl -s -X POST "https://api.statuspage.io/v1/pages/${STATUSPAGE_PAGE_ID}/incidents" \
  -H "Authorization: OAuth ${STATUSPAGE_API_KEY}" -H "Content-Type: application/json" \
  -d '{"incident": {
    "name": "Database maintenance: read-only window",
    "status": "scheduled",
    "scheduled_for": "2026-11-14T02:00:00Z",
    "scheduled_until": "2026-11-14T04:00:00Z",
    "body": "We will run database maintenance. Writes are unavailable for up to 2 hours.",
    "component_ids": ["'"${COMPONENT_ID}"'"]
  }}'

Use future dates; subscribers get the reminder you configured on the page. Move it forward with "status": "in_progress", then "completed".

Task D: Automate from monitoring alerts

The script opens an incident per alert, resolves it on recovery, and backs off when throttled (HTTP 420 or 429). STATUSPAGE_API_BASE exists so you can point it at a local stub in tests.

# statuspage_alerts.py: mirror monitoring alerts on the status page
import os
import time
import requests

API = os.environ.get("STATUSPAGE_API_BASE", "https://api.statuspage.io/v1")
PAGE_ID = os.environ["STATUSPAGE_PAGE_ID"]
HEADERS = {"Authorization": f"OAuth {os.environ['STATUSPAGE_API_KEY']}"}

# service name in your alerts -> Statuspage component id
COMPONENTS = {"payment-service": "4g812xxgm6ws", "api-gateway": "gynp8g27p5xw"}


def call(method: str, path: str, **kwargs):
    for attempt in
Полный SKILL.md на GitHub

Установить statuspage в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

_scores.json

FAQ

Что делает скилл statuspage?

Atlassian Statuspage is a hosted status page service with a REST API for components, incidents and scheduled maintenance. Use this skill to list and update component status, open, update and resolve incidents, schedule maintenance windows, and automate all of it from monitoring alerts with curl or Python. Use when someone says "update our status page", "create a Statuspage incident", "schedule maintenance on the status page" or "post alerts to Statuspage".

Как установить скилл statuspage?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл statuspage запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить statuspage с