搜索

PythonReactSEOPDF
OpenClaw

website-monitor

Lightweight website uptime monitor. Check if URLs are up, measure response times, detect content changes via hashing, and verify expected content. Zero dependencies.

claudiodrusus0 来源安装数☆ 0 仓库 Stars

安装与使用

请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。

SkillHub CLI

skillhub install claudiodrusus/skill-4

打开来源仓库,查看说明和兼容环境后,按来源提供的命令或步骤安装。

将来源链接提供给你的 Agent,让它先读取说明、核对依赖,并向你说明将执行的安装步骤。

查看来源 ↗使用指南

技能说明

Website Monitor

A zero-dependency Python tool for checking website availability, measuring response times, and detecting content changes. Uses only Python's standard library (urllib) — no requests, no aiohttp, no external packages.

Features

  • Uptime checking: Verify any URL returns the expected HTTP status code
  • Response time measurement: Precise millisecond timing for each request
  • Content change detection: SHA-256 based hashing to detect when page content changes between checks
  • Text verification: Confirm that specific text appears in the response body
  • Multi-URL support: Check multiple sites in a single command
  • JSON output: Machine-readable output for integration with other tools and dashboards
  • Exit codes: Returns exit code 1 if any site is down, making it perfect for shell scripts and cron jobs

Usage Examples

Simple uptime check:

python main.py https://example.com
# ✅ https://example.com
#    Status: 200
#    Response: 142ms
#    Size: 1256 bytes
#    Hash: fb91d75a6bb43078

Check multiple sites at once:

python main.py example.com google.com github.com

Detect content changes (compare against a previous hash):

python main.py https://example.com --hash-check fb91d75a6bb43078
# Shows "Changed: YES ⚠️" or "Changed: No"

Verify a page contains expected text:

python main.py https://status.example.com --contains "All Systems Operational"

Expect a specific status code (e.g., redirect):

python main.py https://old.example.com --expect 301

JSON output for scripting:

python main.py example.com github.com --json | jq '.[] | select(.up == false)'

Use in a cron job or script:

python main.py https://mysite.com || echo "ALERT: Site is down!" | mail -s "Downtime Alert" admin@example.com

Command Line Options

  • urls — One or more URLs to check (auto-prepends https:// if missing)
  • --timeout N — Request timeout in seconds (default: 10) -...

来源信息

Source
github
Repository
openclaw/skills
Path
skills/claudiodrusus/skill-4
Version
—
Commit
f879f2a0c9a6a6a3c224756b0cc5d25fb7cbbb33
分类来源
rules
状态
active
可见性
public

这些信息来自收录时的来源分析,可能滞后;使用前请核对最新来源文件。

来源内容

SKILL.md
# Website Monitor

A zero-dependency Python tool for checking website availability, measuring response times, and detecting content changes. Uses only Python's standard library (urllib) — no requests, no aiohttp, no external packages.

## Features

- **Uptime checking**: Verify any URL returns the expected HTTP status code
- **Response time measurement**: Precise millisecond timing for each request
- **Content change detection**: SHA-256 based hashing to detect when page content changes between checks
- **Text verification**: Confirm that specific text appears in the response body
- **Multi-URL support**: Check multiple sites in a single command
- **JSON output**: Machine-readable output for integration with other tools and dashboards
- **Exit codes**: Returns exit code 1 if any site is down, making it perfect for shell scripts and cron jobs

## Usage Examples

Simple uptime check:
```bash
python main.py https://example.com
# ✅ https://example.com
#    Status: 200
#    Response: 142ms
#    Size: 1256 bytes
#    Hash: fb91d75a6bb43078
```

Check multiple sites at once:
```bash
python main.py example.com google.com github.com
```

Detect content changes (compare against a previous hash):
```bash
python main.py https://example.com --hash-check fb91d75a6bb43078
# Shows "Changed: YES ⚠️" or "Changed: No"
```

Verify a page contains expected text:
```bash
python main.py https://status.example.com --contains "All Systems Operational"
```

Expect a specific status code (e.g., redirect):
```bash
python main.py https://old.example.com --expect 301
```

JSON output for scripting:
```bash
python main.py example.com github.com --json | jq '.[] | select(.up == false)'
```

Use in a cron job or script:
```bash
python main.py https://mysite.com || echo "ALERT: Site is down!" | mail -s "Downtime Alert" admin@example.com
```

## Command Line Options

- `urls` — One or more URLs to check (auto-prepends https:// if missing)
- `--timeout N` — Request timeout in seconds (default: 10)
-...

相关技能

OpenClaw

bambu-studio-ai

heyixuan2

Bambu Lab 3D printer control and automation. Activate when user mentions: printer status, 3D printing, slice, analyze model, generate 3D, AMS filament, print monitor, Bambu Lab, or any 3D printing task. Full pi...

OpenClaw

geo-optimization

capt-marbles

Generative Engine Optimization (GEO) for AI search visibility. Optimize content to appear in ChatGPT, Perplexity, Claude, and Google AI Overviews. Use when optimizing websites, pages, or content for LLM discove...

OpenClaw

0protocol

0isone

Agents can sign plugins, rotate credentials without losing identity, and publicly attest to behavior.

OpenClaw

0x0-messenger

eijiac24

Send and receive P2P messages using disposable numbers and PINs. No servers, no accounts. Use for human notifications, approval flows, and agent-to-agent communication.