← Back to Skills Marketplace
dinghaibin

Web Monitor

by BIN · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
56
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install dinghaibin-web-monitor
Description
Monitor web pages for content changes with CSS selector targeting, change detection via hashing, and notification integration. Use for price tracking, conten...
README (SKILL.md)

Web Monitor — Page Change Detection & Alerts

Track web pages for content changes using hash-based comparison. Supports CSS selector extraction, interval-based monitoring, change history, and configurable notification delivery.

Quick Start

# Compare current page with previous snapshot
python scripts/monitor.py --url https://example.com --compare state.json

# Monitor with a CSS selector
python scripts/monitor.py --url https://example.com --selector ".price" --compare state.json

Usage

python scripts/monitor.py --url URL [OPTIONS]

Options:
  --url URL              Page URL to monitor (required)
  --selector SELECTOR    CSS selector to extract specific content
  --compare FILE         Compare with previous snapshot from FILE
  --state-file FILE      Save current state to FILE (default: state.json)
  --interval SEC         Auto-monitor at interval (seconds)
  --notify COMMAND       Command to run on change detected
  --json                 Output as JSON
  --max-retries N        Connection retries on failure (default: 3)

Examples

# Simple page check
python scripts/monitor.py --url https://example.com/page --compare state.json

# Monitor a price element
python scripts/monitor.py --url https://shop.example.com/product \
  --selector ".product-price" --compare price-state.json

# Continuous monitoring
python scripts/monitor.py --url https://example.com \
  --interval 3600 --compare state.json --notify "echo 'Changed!'"

# JSON output for pipeline
python scripts/monitor.py --url https://example.com --json

State File Format

{
  "url": "https://example.com/page",
  "selector": ".price",
  "hash": "sha256hash...",
  "timestamp": "2026-01-15T14:30:00Z"
}

Features

  • Hash-based change detection — reliable content comparison
  • CSS selector extraction — monitor specific page sections
  • State persistence — stores snapshots for comparison
  • Interval monitoring — automatic periodic checks
  • Notification hooks — trigger commands on changes
  • No external dependencies — uses only Python stdlib
  • SSL/HTTPS support — secure page fetching
  • JSON output — structured data for automation
Usage Guidance
Review carefully before installing. Avoid using it for sensitive or security-critical monitoring unless TLS verification is fixed, use only trusted notification commands, and enable `--hash-only` when monitoring pages whose content should not be saved locally.
Capability Assessment
Purpose & Capability
The monitoring, hashing, state-file, and notification behavior is purpose-aligned, but scripts/monitor.py disables TLS verification (`ctx.check_hostname = False`, `ctx.verify_mode = ssl.CERT_NONE`) while SKILL.md advertises `SSL/HTTPS support — secure page fetching`.
Instruction Scope
The skill documents a broad notification hook (`--notify COMMAND`) and scripts/monitor.py executes it with `os.system(args.notify)` when a change is detected; this is disclosed and purpose-aligned, but users should treat it as arbitrary shell execution.
Install Mechanism
No install spec or automatic dependency installation is present; the included script uses Python standard-library imports, and optional notification examples are user-directed.
Credentials
For a web monitor that may trigger alerts from remote page content, disabling HTTPS validation in scripts/monitor.py is not proportionate because network attackers can spoof monitored content.
Persistence & Privilege
Persistence is local and user-selected, but scripts/monitor.py stores full fetched content by default in output data (`'content': content if not args.hash_only else None`); use `--hash-only` for private pages.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install dinghaibin-web-monitor
  3. After installation, invoke the skill by name or use /dinghaibin-web-monitor
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Initial release
Metadata
Slug dinghaibin-web-monitor
Version 1.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is Web Monitor?

Monitor web pages for content changes with CSS selector targeting, change detection via hashing, and notification integration. Use for price tracking, conten... It is an AI Agent Skill for Claude Code / OpenClaw, with 56 downloads so far.

How do I install Web Monitor?

Run "/install dinghaibin-web-monitor" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Web Monitor free?

Yes, Web Monitor is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Web Monitor support?

Web Monitor is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Web Monitor?

It is built and maintained by BIN (@dinghaibin); the current version is v1.0.0.

💬 Comments