/betterstack:uptime-monitorsfrom Better Stack
Reference for Better Stack Uptime monitors and escalation policies — monitor types, valid configuration values, how escalation policies work, and the limits of what the monitor tools can do.
Ships in Better Stack. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
What the Uptime tools can do, the non-obvious rules, and where the limits are. A monitor is one Uptime check against a URL or host; when a check fails it opens an incident and alerts whoever the monitor's escalation policy routes it to.
monitors and monitor tools: read monitors.monitor_availability, monitor_response_times — a monitor's availability and response times, per region.create_monitor — create a monitor. create_heartbeat — create a heartbeat (below).update_monitor, update_heartbeat — change a monitor or heartbeat in place.create_escalation_policy, update_escalation_policy — create and edit escalation policies.escalation_policies and escalation_policy tools: read escalation policies (who gets paged).Show the user what you are about to create and get a yes before calling a create tool: a new monitor starts checking, and alerting, right away.
update_monitor changes a monitor in place: send only the fields to change. paused: true pauses it, paused: false resumes it.
A monitor is deleted with remove_monitor and a heartbeat with remove_heartbeat. Neither deletion can be undone.
monitor_type defaults to status. What the url field means depends on the type:
| Type | Checks | url is | Extra field |
|---|---|---|---|
status | HTTP returns 2xx | full URL (https://…) | — |
expected_status_code | HTTP returns one of the listed codes | full URL | expected_status_codes |
keyword | response body contains a word | full URL | required_keyword |
keyword_absence | response body is missing a word | full URL | required_keyword |
ping | host answers ICMP ping | host (example.com) | — |
tcp / udp / smtp / pop / imap | a port answers | host | port, and required_keyword for udp |
dns | a DNS server answers | host (DNS server) | request_body (domain to query) |
playwright | a scripted browser/API scenario passes | null (no URL) | playwright_script, scenario_name |
You can create every type, playwright included (see below). The port-based types (tcp, udp, smtp, pop, imap) need port, and udp also needs required_keyword.
Heartbeats (passive "ping us every N minutes" checks for cron jobs and workers) are created with create_heartbeat; the job then calls the heartbeat URL from the result on every successful run. SSL-certificate / domain-expiration alerts are create_monitor's ssl_expiration / domain_expiration: days before expiry, one of 1, 2, 3, 7, 14, 30, 60.
create_monitor settings and their valid values. Passing an invalid value is rejected, so stick to these:
check_frequency (seconds): HTTP monitors 30, 45, 60, 120, 180, 300, 600, 900, 1800; Playwright 60, 180, 300, 600, 900, 1800, 3600, …. Sub-3-minute frequencies need a paid plan: a new value below the plan's shortest interval is refused with a 422.
request_timeout: HTTP types in seconds, one of 2, 3, 5, 10, 15, 30, 45, 60, 90, 120, 180 (default 30); ping, tcp, udp, smtp, pop, imap and dns in milliseconds, one of 500, 1000, 2000, 3000, 5000 (default 5000); Playwright in seconds, one of 15, 30, 45, 60, 120, 180, 240, 300, 360, 480, 600, 900 (default 30). It must not exceed check_frequency.
regions: any subset of us, eu, as, au (defaults to all four if omitted).
http_method: get (default), head, post, put, patch. Send a payload with request_body (for post/put/patch, or as the query for a dns monitor).
verify_ssl (default true) and follow_redirects (default true).
recovery_period (seconds the check must pass before an incident auto-resolves: 0, 60, 180, 300, 900, 1800, 3600, 7200) and confirmation_period (seconds to re-check before opening an incident: 0–86400).
request_headers: list of {name, value}.
required_keyword, expected_status_codes — see the type table.
Alert flags: email, sms, call, push, critical_alert (but see the policy gotcha below).
paused: create the monitor without checking until it's resumed (update_monitor with paused: false).
escalation_policy_id — see escalation policies.
port (port-based types), monitor_group_id (an existing monitor group), team_wait (seconds before escalating to the whole team).
Basic auth (auth_username/auth_password), remember_cookies, a proxy (proxy_host/proxy_port), a daily maintenance window (maintenance_from, maintenance_to, maintenance_timezone, maintenance_days) and ssl_expiration/domain_expiration.
For playwright monitors: playwright_script, scenario_name and environment_variables.
3xx gotcha: an expected_status_codes list containing a 3xx (e.g. [200, 301]) is rejected unless both follow_redirects and remember_cookies are off, so send both as false.
A playwright monitor runs a JavaScript scenario — the way to assert several things at once (status + body + response time) or drive a browser flow, which no basic type can do.
create_monitor as playwright_script, with monitor_type: "playwright" and a scenario_name.import { test, expect } from "@playwright/test";
test("health", async ({ request }) => {
const start = Date.now();
const res = await request.get("https://example.com/health");
expect(res.status()).toBe(200);
expect(await res.text()).toBe("OK");
expect(Date.now() - start).toBeLessThan(3000);
});
check_frequency for Playwright must be ≥ 60s (60, 180, 300, 600, 900, 1800, 3600, …); it defaults to 180, and a new value below the plan's shortest interval is refused with a 422. Playwright monitoring also needs a plan that includes it, or the create is denied.environment_variables. Never hardcode secrets in the script.When a user pastes a Datadog datadog_synthetics_test (Terraform or JSON), convert it to one Better Stack monitor:
expected_status_code (or status for 2xx). Body-contains only → keyword.playwright. Datadog API tests usually assert several things at once (statusCode + body + responseTime), which a basic monitor can't express — generate a Playwright script that makes the request and expects each assertion. Build the request from request_definition (method + url) and one expect per assertion block (statusCode, body, responseTime, …).name → pronounceable_name (and scenario_name for Playwright) · request_definition → into the script · options_list.tick_every → check_frequency (round to a valid value) · locations → regions (Datadog has many; pick the closest subset of us/eu/as/au). Datadog's message, monitor_options, retry, and min_location_failed have no direct equivalent — say they aren't carried over rather than inventing fields.escalation_policy_id — but call escalation_policies first to get a valid ID. Never guess an ID: a wrong one is rejected or belongs to another team.escalation_policy_id to use the team's default policy.escalation_policy_id is set, the simple email/sms/call/push flags are ignored — the policy decides who is notified. Only use those flags when you are not setting a policy.escalation_policy to read a policy's escalation steps (who is notified, in what order, with repeats) before recommending one.type: slack_integration, whose id is a Slack integration ID from incidents_slack_integrations. What the channel does with the alert (a thread or a channel per incident, who Slack users can page) is the Slack integration's, which update_incidents_slack_integration changes.create_escalation_policy creates a policy and update_escalation_policy changes its steps.Link a monitor or policy with the Better Stack URL from the tool result rather than a bare ID.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub betterstackhq/claude-plugin --plugin betterstack17 skills in this plugin
/chart-alertsGuide for creating and managing Better Stack chart alerts. Load when asked to set up alerting, create alerts on charts, or configure monitoring thresholds./chart-generationComplete reference for chart types, units, and settings on Better Stack dashboards. Load right before creating charts - after the queries are built with the query skills./chart-stylingBetter Stack chart styling and advanced settings reference - series colors and order, number chart coloring thresholds, heatmap color categories, gauge bounds, y-axis tuning, custom units, and the per-key settings table with cross-setting gotchas. Load when configuring how a chart looks beyond defaults, or when unsure which settings key applies to a chart type./collector-queriesProven metrics queries for Better Stack Collector sources (the source tool's Platform "Collector") - per-host node_* metrics, per-container and per-service container_resources_*, requests and errors by destination, TCP health, and the container-level saturation checks that host averages hide. Load after metrics-query when the source platform is Collector, for health checks, resource questions and service dashboards./connect-betterstackConnect the Better Stack MCP server and check that it works. Use when the user installs the Better Stack plugin or asks to set it up, when a Better Stack request comes in but no Better Stack tools (such as `incidents`, `monitors`, `query`, `documentation`) are available, or when a Better Stack tool fails with "unauthorized", 401 or "needs authentication". Tells the user exactly how to connect in the app they are using (ChatGPT, Codex, Cursor, Antigravity, Claude Code, Claude chat and Cowork, Claude Tag in Slack). Once connected, suggests what to set up next from what the account has, such as Claude investigating every new incident or fixing errors on a schedule. Also use when the user asks what Better Stack can do for them./dashboard-builderGuide for building Better Stack dashboards. Load when asked to create a dashboard or add multiple charts in Better Stack.