From uptime
This skill should be used when the user asks to "create an API check", "write an API monitoring script", "multi-step API test", "API check script", "monitor API endpoint", "test API flow", or needs to author multi-step HTTP request sequences with assertions for Uptime.com API checks.
How this skill is triggered — by the user, by Claude, or both
Slash command
/uptime:api-scriptingThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
API checks execute multi-step HTTP request sequences with assertions. Scripts are JSON arrays of step objects executed sequentially. If any assertion fails, execution stops and an alert is raised.
API checks execute multi-step HTTP request sequences with assertions. Scripts are JSON arrays of step objects executed sequentially. If any assertion fails, execution stops and an alert is raised.
For the complete step type catalog, parameters, selectors, and variables, see references/step-reference.md.
[{ "step_def": "C_GET", "values": { "url": "https://api.example.com/health" } }, { "step_def": "V_HTTP_STATUS_CODE_SUCCESSFUL" }]
The key is step_def (not step_type). All string values support $VARIABLE$ interpolation.
The most common pattern: authenticate, extract token, use in subsequent requests.
[
{
"step_def": "C_POST",
"values": {
"url": "https://api.example.com/login",
"content_type": "application/json",
"data": "{\"email\": \"[email protected]\", \"password\": \"secret\"}"
}
},
{ "step_def": "V_HTTP_STATUS_CODE_IS", "values": { "status_code": "200" } },
{
"step_def": "C_SET_VARIABLE_SELECTOR",
"values": { "name": "TOKEN", "selector": "data.access_token" }
},
{
"step_def": "C_GET",
"values": {
"url": "https://api.example.com/profile",
"headers": { "Authorization": "Bearer $TOKEN$" }
}
},
{ "step_def": "V_HTTP_STATUS_CODE_SUCCESSFUL" }
]
Set in C_SETTINGS_AND_AUTH as a default header:
{
"step_def": "C_SETTINGS_AND_AUTH",
"values": { "headers": { "X-API-Key": "your-api-key" }, "content_type": "application/json" }
}
Set certificate, key, and optionally passphrase in C_SETTINGS_AND_AUTH.
V_HTTP_STATUS_CODE_SUCCESSFUL at minimum)C_SET_VARIABLE_SELECTOR to chain responses between stepscreate_api_checkC_SET_VARIABLE: deprecated. Use C_SET_VARIABLE_SELECTOR instead.data.user.email), XML uses XPath (//user/email/text()). The runner auto-detects from Content-Type.npx claudepluginhub uptime-com/uptime-skills --plugin uptimeProvides UI/UX resources: 50+ styles, color palettes, font pairings, guidelines, charts for web/mobile across React, Next.js, Vue, Svelte, Tailwind, React Native, Flutter. Aids planning, building, reviewing interfaces.
Fetches up-to-date documentation from Context7 for libraries and frameworks like React, Next.js, Prisma. Use for setup questions, API references, and code examples.