← 返回 Skills 市场
charlie-morrison

Site Health Monitor

作者 charlie-morrison · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
122
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install site-health-monitor
功能描述
Monitor websites for uptime, SSL certificate expiry, response time, HTTP errors, and content changes. Generate health reports and send alerts when issues are...
使用说明 (SKILL.md)

Site Health Monitor

Monitor one or more websites for health issues. Detect downtime, expiring SSL certs, slow responses, and content changes — then report or alert.

Quick Check (Single URL)

When user asks to check a single URL right now:

  1. Run scripts/check_site.sh \x3Curl>
  2. Parse the JSON output
  3. Present a formatted health report

Monitored Sites Config

For ongoing monitoring, maintain a config at user's chosen location (default: ~/.openclaw/workspace/site-monitor.json):

{
  "sites": [
    {
      "url": "https://example.com",
      "name": "Main Site",
      "checks": ["uptime", "ssl", "response_time", "content"],
      "alert_threshold_ms": 3000,
      "ssl_warn_days": 14,
      "content_selector": "title"
    }
  ],
  "defaults": {
    "checks": ["uptime", "ssl", "response_time"],
    "alert_threshold_ms": 5000,
    "ssl_warn_days": 30
  }
}

Health Checks

1. Uptime

  • HTTP GET to URL
  • Pass: 2xx/3xx status
  • Warning: 4xx status
  • Fail: 5xx, connection refused, timeout (>10s)

2. SSL Certificate

  • Run scripts/check_ssl.sh \x3Cdomain>
  • Pass: Valid, >30 days to expiry
  • Warning: \x3C30 days to expiry (configurable)
  • Fail: Expired, self-signed, or missing

3. Response Time

  • Measure TTFB + transfer via scripts/check_site.sh
  • Pass: Under threshold (default 5000ms)
  • Warning: 1-2x threshold
  • Fail: >2x threshold or timeout

4. Content Changes (Planned)

  • Fetch page, extract text, hash it
  • Compare against stored hash
  • Report if content changed since last check
  • Note: This feature is planned for v1.1

Reports

Single Site

## 🟢 example.com — Healthy
| Check         | Status | Detail                    |
|---------------|--------|---------------------------|
| Uptime        | ✅ UP  | 200 OK (143ms)            |
| SSL           | ✅ OK  | Expires in 87 days        |
| Response Time | ✅ OK  | 342ms (threshold: 5000ms) |
| Content       | — Same | No changes detected       |

Multi-Site Summary

## Site Health — 2026-03-26
| Site       | Status | Issues         |
|------------|--------|----------------|
| example.com| 🟢 OK | —              |
| api.foo.io | 🟡 WARN| SSL: 12 days  |
| shop.bar   | 🔴 DOWN| 503 error     |

Alerts

Alert when: site DOWN, SSL within warning window, response >2x threshold, 2+ consecutive failures.

Format: ⚠️ [site] — [issue]. [detail]. Checked at [time].

Scheduled Monitoring

Suggest cron job for recurring checks (30-60 min interval for production). Store last 100 results per site in ~/.openclaw/workspace/.site-monitor-history.json.

Scripts

  • scripts/check_site.sh \x3Curl> — HTTP health check, outputs JSON (status, timing, headers)
  • scripts/check_ssl.sh \x3Cdomain> — SSL cert check, outputs JSON (issuer, expiry, days remaining)
安全使用建议
This skill appears to do what it claims, but review and prepare before installing: 1) The package metadata omits required binaries — ensure your environment has curl, openssl, python3 (and standard Unix utilities like mktemp, grep, sed). 2) The scripts use GNU-style date parsing; macOS (BSD date) may fail — test on your platform. 3) Alerts are referenced but no delivery method (webhook/email/Slack) is implemented — you will need to add an alerting integration if you want notifications. 4) The scripts will connect to the target sites and store monitoring data under ~/.openclaw/workspace — review that path and the scripts' output before running, and consider running them on a sandbox or non-production account first. 5) As with any code from an unknown source, inspect the scripts (they are short and readable) and run them with non-privileged user permissions.
功能分析
Type: OpenClaw Skill Name: site-health-monitor Version: 1.0.0 The skill bundle is a legitimate website monitoring tool that uses bash scripts (scripts/check_site.sh and scripts/check_ssl.sh) to perform uptime and SSL certificate checks. The scripts use standard utilities like curl and openssl to gather metrics and provide structured JSON output for the agent to process. No evidence of data exfiltration, malicious persistence, or harmful prompt injection was found; the instructions in SKILL.md are consistent with the stated purpose of site health auditing.
能力评估
Purpose & Capability
The name/description align with the provided scripts: check_site.sh (HTTP/timing) and check_ssl.sh (openssl certificate checks). However the registry metadata lists no required binaries while the scripts rely on curl, openssl, python3 (for JSON parsing), mktemp, and typical GNU date features — this mismatch is an omission that should be fixed before use.
Instruction Scope
SKILL.md stays within scope: it runs the included scripts, stores a config/history in the user's home, and recommends cron for scheduling. It references 'send alerts' but does not implement or describe external alert endpoints or notification mechanisms (no webhook/email provider configured), so alert delivery is undefined. The instructions do not ask for unrelated files, secrets, or other system credentials.
Install Mechanism
There is no install spec (instruction-only) and the scripts are included in the package; nothing is downloaded at install time. This minimizes install-time risk.
Credentials
The skill requests no environment variables or credentials and the scripts do not attempt to read secrets. They only perform network connections to the target sites and write config/history under the user's home directory.
Persistence & Privilege
always:false and no cross-skill/system-wide modifications. The skill stores config/history in ~/.openclaw/workspace by default — normal for a monitoring tool and not an elevated privilege.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install site-health-monitor
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /site-health-monitor 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release
元数据
Slug site-health-monitor
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Site Health Monitor 是什么?

Monitor websites for uptime, SSL certificate expiry, response time, HTTP errors, and content changes. Generate health reports and send alerts when issues are... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 122 次。

如何安装 Site Health Monitor?

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

Site Health Monitor 是免费的吗?

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

Site Health Monitor 支持哪些平台?

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

谁开发了 Site Health Monitor?

由 charlie-morrison(@charlie-morrison)开发并维护,当前版本 v1.0.0。

💬 留言讨论