← 返回 Skills 市场
vince-winkintel

Checkly Cli Skills

作者 Vince Lozada · GitHub ↗ · v1.0.2 · MIT-0
cross-platform ⚠ suspicious
532
总下载
2
收藏
1
当前安装
3
版本数
在 OpenClaw 中安装
/install checkly-cli-skills
功能描述
Comprehensive Checkly CLI command reference and Monitoring as Code workflows. Use when user mentions Checkly CLI, monitoring as code, synthetic monitoring, A...
使用说明 (SKILL.md)

Checkly CLI Skills

Comprehensive Checkly CLI command reference and Monitoring as Code (MaC) workflows.

Quick start

# Create new Checkly project
npm create checkly@latest

# Test checks locally
npx checkly test

# Deploy to Checkly cloud
npx checkly deploy

What is Monitoring as Code?

The Checkly CLI provides a TypeScript/JavaScript-native workflow for coding, testing, and deploying synthetic monitoring at scale. Define your monitoring checks as code, test them locally, version control them with Git, and deploy through CI/CD pipelines.

Key benefits:

  • Codeable - Define checks in TypeScript/JavaScript
  • Testable - Run checks locally before deployment
  • Reviewable - Code review your monitoring in PRs
  • Native Playwright - Use standard @playwright/test specs
  • CI/CD Native - Integrate with your deployment pipeline

Skill organization

This skill routes to specialized sub-skills by Checkly domain:

Getting Started:

  • checkly-auth - Authentication setup and login
  • checkly-config - Configuration files (checkly.config.ts) and project structure

Core Workflows:

  • checkly-test - Local testing workflow with npx checkly test
  • checkly-deploy - Deployment to Checkly cloud
  • checkly-import - Import existing checks from Checkly to code

Check Types:

  • checkly-checks - API checks, browser checks, multi-step checks
  • checkly-monitors - Heartbeat, TCP, DNS, URL monitors
  • checkly-groups - Check groups for organization and shared config

Advanced:

  • checkly-constructs - Constructs system and resource management
  • checkly-playwright - Playwright test suites and configuration
  • checkly-advanced - Retry strategies, reporters, environment variables, bundling

When to use Checkly CLI vs Web UI

Use Checkly CLI when:

  • Defining monitoring as part of your codebase
  • Automating check creation/updates in CI/CD
  • Testing checks locally during development
  • Version controlling monitoring configuration
  • Managing multiple checks efficiently
  • Integrating monitoring with application deployments

Use Web UI when:

  • Exploring Checkly for the first time
  • Viewing dashboards and historical results
  • Analyzing check failures and incidents
  • Managing account-level settings
  • Configuring alert channels (email, Slack, PagerDuty)
  • Setting up private locations

Common workflows

New project setup

# Initialize project
npm create checkly@latest
cd my-checkly-project

# Authenticate
npx checkly login

# Test locally
npx checkly test

# Deploy to cloud
npx checkly deploy

Daily development

# Create new API check
cat > __checks__/api-status.check.ts \x3C\x3C'EOF'
import { ApiCheck, AssertionBuilder } from 'checkly/constructs'

new ApiCheck('api-status-check', {
  name: 'API Status Check',
  request: {
    url: 'https://api.example.com/status',
    method: 'GET',
    assertions: [
      AssertionBuilder.statusCode().equals(200),
      AssertionBuilder.responseTime().lessThan(500),
    ],
  },
})
EOF

# Test locally
npx checkly test

# Deploy when ready
npx checkly deploy

Browser check with Playwright

# Create browser check
cat > __checks__/homepage.spec.ts \x3C\x3C'EOF'
import { test, expect } from '@playwright/test'

test('homepage loads', async ({ page }) => {
  const response = await page.goto('https://example.com')
  expect(response?.status()).toBeLessThan(400)
  await expect(page).toHaveTitle(/Example/)
  await page.screenshot({ path: 'homepage.jpg' })
})
EOF

# Test with Playwright locally (faster)
npx playwright test __checks__/homepage.spec.ts

# Test via Checkly runtime
npx checkly test __checks__/homepage.spec.ts

# Deploy
npx checkly deploy

Import existing checks

# Import all checks from Checkly account
npx checkly import plan

# Review generated code
git diff

# Commit imported checks
git add .
git commit -m "Import existing monitoring checks"

Decision Trees

"What type of check should I create?"

What are you monitoring?
├─ REST API / HTTP endpoint
│  ├─ Simple availability → API Check (request + status assertion)
│  ├─ Complex validation → API Check (request + multiple assertions + scripts)
│  └─ Just uptime/ping → URL Monitor (simpler, faster)
│
├─ Web application / User flow
│  ├─ Single page → Browser Check (one .spec.ts file)
│  ├─ Multiple steps → Browser Check or Multi-Step Check
│  └─ Full test suite → Playwright Check Suite (playwright.config.ts)
│
└─ Service health / Infrastructure
   ├─ Periodic heartbeat → Heartbeat Monitor
   ├─ TCP port → TCP Monitor
   ├─ DNS record → DNS Monitor
   └─ Simple HTTP → URL Monitor

Quick reference:

  • API Check: HTTP requests with assertions (status, headers, body, response time)
  • Browser Check: Single Playwright spec file for web testing
  • Multi-Step Check: Complex browser workflows (legacy, use Browser Check instead)
  • Playwright Check Suite: Multiple Playwright tests with projects/parallelization
  • Monitors: Simple health checks without code execution

"Test locally or deploy?"

What stage are you at?
├─ Developing new check
│  ├─ Browser check → npx playwright test (fastest iteration)
│  └─ API check → npx checkly test (includes assertions)
│
├─ Ready to validate
│  └─ npx checkly test (runs in Checkly runtime, catches issues)
│
└─ Ready for production
   └─ npx checkly deploy (schedule checks to run continuously)

Testing hierarchy:

  1. npx playwright test - Fastest, local Playwright execution (browser checks only)
  2. npx checkly test - Validates in Checkly runtime, catches compatibility issues
  3. npx checkly deploy - Deploys for continuous scheduled monitoring

"File-based or construct-based checks?"

How do you want to define checks?
├─ Auto-discovery (convention over configuration)
│  ├─ Browser checks → *.spec.ts files matching testMatch pattern
│  ├─ Multi-step → *.check.ts files with MultiStepCheck construct
│  └─ API checks → *.check.ts files with ApiCheck construct
│
└─ Explicit definition
   ├─ Programmatic → Construct instances in .check.ts files
   └─ Full control → Playwright Check Suite with playwright.config.ts

Patterns:

  • Auto-discovery: Configure checks.browserChecks.testMatch in checkly.config.ts
  • Explicit constructs: Import from checkly/constructs and instantiate
  • Playwright projects: Define multiple test suites with different configs

"Where should configuration go?"

What are you configuring?
├─ Project-level (all checks)
│  └─ checkly.config.ts → defaults, locations, frequency, runtime
│
├─ Group-level (related checks)
│  └─ CheckGroup construct → shared settings for subset of checks
│
└─ Check-level (individual)
   └─ Check constructor → override defaults for specific check

Configuration hierarchy (specific overrides general):

  1. Check-level properties (highest priority)
  2. CheckGroup properties
  3. checkly.config.ts defaults
  4. Checkly account defaults (lowest priority)

Project structure

Typical Checkly CLI project:

my-monitoring-project/
├── checkly.config.ts          # Project configuration
├── __checks__/                # Check definitions
│   ├── api.check.ts           # API check construct
│   ├── homepage.spec.ts       # Browser check (auto-discovered)
│   ├── login.spec.ts          # Another browser check
│   └── utils/
│       ├── alert-channels.ts  # Shared alert channel definitions
│       └── helpers.ts         # Shared helper functions
├── playwright.config.ts       # Playwright configuration (optional)
├── package.json
└── node_modules/
    └── checkly/               # CLI package with constructs

Installation methods

New project (recommended)

npm create checkly@latest

Creates scaffolded project with:

  • checkly.config.ts with sensible defaults
  • Example checks in __checks__/ directory
  • package.json with checkly dependency
  • .gitignore configured

Existing project

# Install as dev dependency
npm install --save-dev checkly

# Create configuration file
npx checkly init

Global installation (not recommended)

npm install -g checkly
checkly test

Note: Use npx checkly instead for project-specific CLI version.

Related Skills

Getting started:

  • See checkly-auth for authentication setup
  • See checkly-config for project configuration
  • See checkly-test for local testing workflow

Creating checks:

  • See checkly-checks for API and browser checks
  • See checkly-monitors for simpler health checks
  • See checkly-playwright for full test suite setup

Advanced workflows:

  • See checkly-deploy for deployment strategies
  • See checkly-constructs for understanding the object model
  • See checkly-advanced for retry strategies and reporters

Import existing:

  • See checkly-import to migrate from web UI to code
安全使用建议
This skill appears to be a genuine Checkly CLI reference with templates and helper scripts, and the requested credentials (CHECKLY_API_KEY, CHECKLY_ACCOUNT_ID) are reasonable for its purpose. However: 1) There is an inconsistency: the embedded SKILL.md says the skill requires the Checkly CLI, npx, and API credentials and references ~/.config/@checkly/cli/config.json, but the registry metadata shows no required binaries or env vars. Ask the publisher or verify the upstream repository to confirm which requirements are accurate before installing. 2) Do not paste sensitive API keys into untrusted prompts — prefer using npx checkly login (browser flow) or storing keys in CI secrets. 3) Review the included shell scripts (init/test/deploy/import/validate) before executing them locally; they are typical but running unknown scripts can be risky. 4) If you decide to install, treat the skill like any third-party integration: limit the permissions of API keys you provide (give least privilege), rotate keys after testing, and if possible test in a staging Checkly account first. If you want higher assurance, ask the publisher for a canonical source URL (the PROJECT_SUMMARY mentions a GitHub repo) and verify the repo contents and commit history before proceeding.
功能分析
Type: OpenClaw Skill Name: checkly-cli-skills Version: 1.0.2 The skill bundle provides a comprehensive and well-structured set of instructions, templates, and scripts for managing Checkly CLI workflows. It correctly identifies standard credential storage paths (~/.config/@checkly/cli/config.json) and environment variables (CHECKLY_API_KEY) used by the official Checkly tool. No evidence of malicious intent, data exfiltration, or harmful prompt injection was found across the SKILL.md files or the supporting scripts.
能力标签
cryptocan-make-purchasesrequires-sensitive-credentials
能力评估
Purpose & Capability
The skill name, description, templates, scripts and SKILL.md all describe Checkly CLI workflows and Monitoring-as-Code patterns; requiring CHECKLY_API_KEY, CHECKLY_ACCOUNT_ID, the Checkly CLI (npx checkly) and an optional Playwright binary is coherent with that purpose. However, the registry metadata (requirements section shown to the platform) lists no required binaries or env vars while the embedded SKILL.md frontmatter does — this mismatch is unexpected and should be resolved.
Instruction Scope
The runtime instructions and examples are focused on Checkly operations (login, test, deploy, import), project scaffolding, and Playwright checks. The SKILL.md references the legitimate Checkly config path (~/.config/@checkly/cli/config.json) as the CLI stores credentials there — this is expected for a CLI integration. There are no instructions in the SKILL.md that attempt to read unrelated system files, exfiltrate data, or post to third‑party endpoints beyond Checkly and example domains.
Install Mechanism
There is no install spec (instruction-only skill) and included templates/scripts are textual examples; no downloaded or executed third-party artifacts are declared by the skill itself. This lowers install risk. Still, the repository includes small shell scripts (init/test/deploy/import/validate) — these are typical for project scaffolding but should be reviewed before executing locally.
Credentials
The SKILL.md frontmatter declares the need for CHECKLY_API_KEY and CHECKLY_ACCOUNT_ID and documents the Checkly CLI config location — those credentials are appropriate and proportionate for a Checkly CLI skill. The concern is that the platform-visible registry metadata lists no required env vars or binaries, creating an inconsistency: an agent or user installing this skill might not be warned that it will expect/ask for API keys or access to ~/.config. Also templates/examples reference other environment variables (e.g., TEST_EMAIL / TEST_PASSWORD, API_TOKEN) for user tests — these are examples but could be mistaken for requirements. Verify which envs will actually be requested/accessed at runtime.
Persistence & Privilege
The skill is not set to always:true, and it has no install script that modifies system-wide agent settings. Autonomous invocation is allowed (platform default), which is normal for skills. The skill references storing credentials in the Checkly CLI config file — that is the standard behavior of the Checkly CLI rather than the skill itself.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install checkly-cli-skills
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /checkly-cli-skills 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.2
Document checkly deploy --verbose from upstream 7.12.0 and refresh deploy troubleshooting guidance.
v1.0.1
Fix ClawHub security scan - Add credential metadata declarations (CHECKLY_API_KEY, CHECKLY_ACCOUNT_ID). Metadata-only change, no functional updates.
v1.0.0
Initial release: Comprehensive Checkly CLI skill with 12 sub-skills, 8 templates, 4 scripts, and 2 reference guides. Complete monitoring-as-code workflow coverage.
元数据
Slug checkly-cli-skills
版本 1.0.2
许可证 MIT-0
累计安装 1
当前安装数 1
历史版本数 3
常见问题

Checkly Cli Skills 是什么?

Comprehensive Checkly CLI command reference and Monitoring as Code workflows. Use when user mentions Checkly CLI, monitoring as code, synthetic monitoring, A... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 532 次。

如何安装 Checkly Cli Skills?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install checkly-cli-skills」即可一键安装,无需额外配置。

Checkly Cli Skills 是免费的吗?

是的,Checkly Cli Skills 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Checkly Cli Skills 支持哪些平台?

Checkly Cli Skills 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Checkly Cli Skills?

由 Vince Lozada(@vince-winkintel)开发并维护,当前版本 v1.0.2。

💬 留言讨论