|
| 1 | +--- |
| 2 | +name: checkly |
| 3 | +description: Set up, create, test and manage monitoring checks using the Checkly CLI. Use when working with API Checks, Browser Checks, URL Monitors, ICMP Monitors, Playwright Check Suites, Heartbeat Monitors, Alert Channels, Dashboards, or Status Pages. |
| 4 | +allowed-tools: Bash(npx:checkly:*) Bash(npm:install:*) |
| 5 | +metadata: |
| 6 | + author: checkly |
| 7 | +--- |
| 8 | + |
| 9 | +# Checkly |
| 10 | + |
| 11 | +The Checkly CLI provides all the required information via the `npx checkly skills` command. |
| 12 | + |
| 13 | +Use `npx checkly skills install` to install this skill into your project (supports Claude Code, Cursor, Codex and more). |
| 14 | + |
| 15 | +Use `npx checkly skills` to list all available actions, and `npx checkly skills <action>` to access up-to-date information on how to use the Checkly CLI for each action. |
| 16 | + |
| 17 | +## Progressive Disclosure via `npx checkly skills` |
| 18 | + |
| 19 | +The skill is structured for efficient context usage: |
| 20 | + |
| 21 | +1. **Metadata** (~80 tokens): Name and description in frontmatter |
| 22 | +2. **Core Instructions** (~1K tokens): Main SKILL.md content with links to reference commands |
| 23 | +3. **Reference Commands** (loaded on demand): Detailed construct documentation with examples |
| 24 | + |
| 25 | +Agents load what they need for each task. |
| 26 | + |
| 27 | +## Plan Awareness |
| 28 | + |
| 29 | +Before configuring checks, run `npx checkly account plan --output json` to see what features, locations, and limits are available on the current plan. Disabled features include an `upgradeUrl` pointing to the self-service checkout page or the enterprise contact sales page — share these with the user when they need a feature that's not on their plan. |
| 30 | + |
| 31 | +Run `npx checkly skills manage` for the full reference. |
| 32 | + |
| 33 | +## Confirmation Protocol |
| 34 | + |
| 35 | +Write commands (e.g. `incidents create`, `deploy`, `destroy`) return exit code 2 with a `confirmation_required` JSON envelope instead of executing. **Always present the `changes` to the user and wait for approval before running the `confirmCommand`.** Never auto-append `--force`. This applies to every write command individually — updates and resolutions need confirmation too, not just the initial create. |
| 36 | + |
| 37 | +Run `npx checkly skills communicate` for the full protocol details. |
| 38 | + |
| 39 | +### `npx checkly skills initialize` |
| 40 | +Learn how to initialize and set up a new Checkly CLI project from scratch. |
| 41 | + |
| 42 | +### `npx checkly skills configure` |
| 43 | +Learn how to create and manage monitoring checks using Checkly constructs and the CLI. |
| 44 | + |
| 45 | +#### `npx checkly skills configure api-checks` |
| 46 | +Api Check construct (`ApiCheck`), assertions, and authentication setup scripts |
| 47 | + |
| 48 | +#### `npx checkly skills configure browser-checks` |
| 49 | +Browser Check construct (`BrowserCheck`) with Playwright test files |
| 50 | + |
| 51 | +#### `npx checkly skills configure playwright-checks` |
| 52 | +Playwright Check Suite construct (`PlaywrightCheck`) for multi-browser test suites |
| 53 | + |
| 54 | +#### `npx checkly skills configure multistep-checks` |
| 55 | +Multistep Check construct (`MultiStepCheck`) for complex user flows |
| 56 | + |
| 57 | +#### `npx checkly skills configure tcp-monitors` |
| 58 | +TCP Monitor construct (`TcpMonitor`) with assertions |
| 59 | + |
| 60 | +#### `npx checkly skills configure url-monitors` |
| 61 | +URL Monitor construct (`UrlMonitor`) with assertions |
| 62 | + |
| 63 | +#### `npx checkly skills configure dns-monitors` |
| 64 | +DNS Monitor construct (`DnsMonitor`) with assertions |
| 65 | + |
| 66 | +#### `npx checkly skills configure icmp-monitors` |
| 67 | +ICMP Monitor construct (`IcmpMonitor`) with latency and packet loss assertions |
| 68 | + |
| 69 | +#### `npx checkly skills configure heartbeat-monitors` |
| 70 | +Heartbeat Monitor construct (`HeartbeatMonitor`) |
| 71 | + |
| 72 | +#### `npx checkly skills configure check-groups` |
| 73 | +CheckGroupV2 construct (`CheckGroupV2`) for organizing checks |
| 74 | + |
| 75 | +#### `npx checkly skills configure alert-channels` |
| 76 | +Email (`EmailAlertChannel`), Phone (`PhoneCallAlertChannel`), and Slack (`SlackAlertChannel`) alert channels |
| 77 | + |
| 78 | +#### `npx checkly skills configure supporting-constructs` |
| 79 | +Status pages (`StatusPage`), dashboards (`Dashboard`), maintenance windows (`MaintenanceWindow`), and private locations (`PrivateLocation`) |
| 80 | + |
| 81 | +### `npx checkly skills investigate` |
| 82 | +Access check status, analyze failures, and investigate errors. |
| 83 | + |
| 84 | +#### `npx checkly skills investigate checks` |
| 85 | +Inspecting checks (`checks list`, `checks get`) and triggering on-demand runs |
| 86 | + |
| 87 | +### `npx checkly skills communicate` |
| 88 | +Open incidents and lead customer communications via status pages. |
| 89 | + |
| 90 | +#### `npx checkly skills communicate incidents` |
| 91 | +Incident lifecycle (`incidents create`, `update`, `resolve`, `list`) and status pages |
| 92 | + |
| 93 | +### `npx checkly skills manage` |
| 94 | +Understand your account plan, entitlements, and feature limits. |
| 95 | + |
| 96 | +#### `npx checkly skills manage plan` |
| 97 | +Check account plan, entitlements, feature limits, and available locations (`account plan`) |
0 commit comments