← 返回 Skills 市场
zacjiang

Website Monitor

作者 Shihao Jiang (Zac) · GitHub ↗ · v1.0.0
cross-platform ✓ 安全检测通过
924
总下载
0
收藏
5
当前安装
1
版本数
在 OpenClaw 中安装
/install site-monitor
功能描述
Monitor websites for changes, downtime, or specific content. Get notified when a page changes, goes down, or matches/stops matching a pattern. Lightweight —...
使用说明 (SKILL.md)

Website Monitor

Lightweight website monitoring — detect changes, downtime, or content patterns without external services.

Usage

Check if a site is up

python3 {baseDir}/scripts/monitor.py check https://example.com

Monitor for changes (compare to last snapshot)

python3 {baseDir}/scripts/monitor.py watch https://example.com --state-dir /tmp/monitor-state

Returns exit code 0 if unchanged, 1 if changed (with diff), 2 if down.

Check for specific content

python3 {baseDir}/scripts/monitor.py match https://example.com/pricing --pattern "Enterprise plan"

Returns exit code 0 if pattern found, 1 if not found.

Batch monitor from file

# sites.txt: one URL per line
python3 {baseDir}/scripts/monitor.py batch sites.txt --state-dir /tmp/monitor-state

Integration with OpenClaw

Heartbeat check

Add to your HEARTBEAT.md:

Run website monitor batch check on sites.txt.
If any site is down or changed, notify me.

Cron job

# Check every 30 minutes
openclaw cron add --every 30m --task "Run website monitor on my sites list and alert me if anything changed"

Features

  • 🔍 Change detection with text diff
  • ⬆️ Uptime checking (HTTP status + response time)
  • 🎯 Pattern matching (regex supported)
  • 📁 File-based state (no database needed)
  • 📋 Batch monitoring from URL list
  • 🪶 Zero dependencies beyond Python stdlib + requests

Dependencies

pip3 install requests

How State Works

When using watch mode, the script saves a hash of each page's text content in --state-dir. On the next run, it compares the current hash to the saved one. If different, it reports the change and shows a text diff.

State files are named by URL hash, so you can monitor hundreds of sites without collision.

安全使用建议
This skill appears to do exactly what it says: fetch URLs, diff their text, and save snapshots. Before installing, consider: (1) run it in a restricted environment (unprivileged user or container) because it will make outbound HTTP requests to whatever URLs you provide; (2) choose a secure state-dir (not world-readable) since page snapshots may include sensitive content; (3) review and control the list of URLs you monitor to avoid scanning internal services unintentionally; (4) install the 'requests' dependency from a trusted source and pin its version if needed; and (5) note the source is 'unknown' with no homepage—if provenance matters, obtain the script from a vetted source or audit the code yourself (the included monitor.py is small and readable).
功能分析
Type: OpenClaw Skill Name: site-monitor Version: 1.0.0 The website-monitor skill is a straightforward utility for checking site uptime and detecting content changes. The Python script (scripts/monitor.py) uses the standard requests library to fetch URLs and stores state locally in a configurable directory (defaulting to /tmp/monitor-state) to perform diffing. No evidence of data exfiltration, malicious execution, or prompt injection was found; the code logic aligns perfectly with the stated purpose in SKILL.md.
能力评估
Purpose & Capability
The name/description align with the included script and instructions: the tool fetches pages, checks uptime, matches patterns, and keeps file-based state. No unrelated binaries, env vars, or services are requested.
Instruction Scope
SKILL.md instructs the agent to run the bundled Python script and optionally add cron/heartbeat tasks. The runtime steps only read the provided URL list and state directory and do not ask the agent to read other system files or secrets.
Install Mechanism
There is no install spec beyond advising pip3 install requests. No downloads from 3rd-party URLs or archive extraction are present; the included Python script is self-contained.
Credentials
The skill requests no environment variables or credentials. The only external dependency is the 'requests' library, which is justified for HTTP fetching.
Persistence & Privilege
The skill writes snapshot/state files to a state directory (default /tmp/monitor-state). This is normal for a monitor, but those files can contain scraped page content and should be stored with appropriate access controls; the skill does not request persistent platform privileges or always:true.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install site-monitor
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /site-monitor 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release: uptime, change detection, content matching
元数据
Slug site-monitor
版本 1.0.0
许可证
累计安装 5
当前安装数 5
历史版本数 1
常见问题

Website Monitor 是什么?

Monitor websites for changes, downtime, or specific content. Get notified when a page changes, goes down, or matches/stops matching a pattern. Lightweight —... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 924 次。

如何安装 Website Monitor?

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

Website Monitor 是免费的吗?

是的,Website Monitor 完全免费(开源免费),可自由下载、安装和使用。

Website Monitor 支持哪些平台?

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

谁开发了 Website Monitor?

由 Shihao Jiang (Zac)(@zacjiang)开发并维护,当前版本 v1.0.0。

💬 留言讨论