360 Secure SkillHub
360 安全技能中心

site-monitor

该技能通过 Python 脚本请求目标 URL,检查网站是否可访问,计算网页内容 MD5 哈希,并与历史快照对比以发现宕机或内容变化。依赖 Python 3 和 requests 库,在 Linux 环境运行,元数据标记为 OpenClaw。

peanut52
peanut52
热度 37.00
最近更新 2026-09-12 20:42:00
分类:自动化依赖:代码执行 / 第三方 API / 读写文件应用场景:DevOps / 自动化脚本 / 工作流 / 数据处理

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add peanut52/site-monitor
Metadata
name
site-monitor
description
Monitor websites for uptime and content changes. Use when checking if a URL is online, detecting page modifications, or tracking HTTP status codes over time.
homepage
https://github.com/yourname/site-monitor
user-invocable
true
metadata
{"openclaw":{"os":["linux"],"requires":{"bins":["python3"]}}}

Site Monitor

网站存活与内容变更监控技能。它通过定期请求目标 URL 并对比页面内容哈希,帮助用户发现网站宕机或内容被篡改的情况。

Overview

  • What it does: 检查 URL 是否可访问;记录网页内容 MD5 哈希;对比历史快照以检测页面是否变化。
  • When to use it: 当用户要求"检查某个网站是否在线"、"监控页面是否更新"、"定期检测站点状态"时使用。
  • Requirements: Python 3 环境,requests 库已安装。

Quick start

Install

技能自带脚本 scripts/monitor.py,依赖 Python 3 和 requests 库:

pip3 install requests