闲社服务运行正常AI智能体自动化平台
u

运行状态检查

技能标识:uptimecheck

Check if URLs and API endpoints are up or down with response times and status codes. Use when asked to monitor uptime, check if a website is down, measure HTTP response times, track endpoint health over time, or verify that services are responding. Supports batch checking from files, history tracking with JSONL storage, and configurable timeouts. Zero dependencies — pure Python stdlib.

作者:admin | 来源记录:ClawHub
登记来源
ClawHub
版本
V 1.0.0
检测标记
后台标记通过
免费
免费获取
0
收藏
来源与检测标记为平台登记信息,并不代表已展示可复核的检测报告。使用前请核对版本、依赖和所需权限,建议先在隔离环境中运行。
概述
安装方式
版本历史

运行状态检查

uptimecheck ✅

轻量级URL在线状态监控工具,支持响应时间测量和历史记录追踪。

命令

检查端点

bash

检查一个或多个URL

python3 scripts/uptimecheck.py check https://github.com https://api.example.com

从文件读取URL(每行一个URL,支持#注释)

python3 scripts/uptimecheck.py check -f urls.txt

保存结果至历史记录用于趋势分析

python3 scripts/uptimecheck.py check https://myapi.com --save

自定义超时时间(默认10秒)

python3 scripts/uptimecheck.py check https://slow-api.com -t 30

查看历史记录

bash

最近检查记录

python3 scripts/uptimecheck.py history

按URL筛选

python3 scripts/uptimecheck.py history --url github.com

显示最近N条记录

python3 scripts/uptimecheck.py history -n 100

输出

  • - ✅ 表示2xx-4xx响应(客户端错误视为在线)
  • ❌ 表示5xx、超时、DNS解析失败、连接被拒绝
  • 响应时间(毫秒)
  • 包含故障端点数量的摘要信息

历史记录存储

结果保存至 ~/.uptimecheck/checks.jsonl — 每行一个JSON对象,包含url、status、ms、ok、timestamp字段。

退出码

  • - 0: 所有端点正常响应
  • 1: 一个或多个端点故障(适用于CI/定时任务告警)

标签

skill ai

通过对话安装

以下为平台配置的接入选项,并非逐项实测通过。能否安装取决于客户端支持、技能来源和运行环境:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 uptimecheck-1775973622 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 uptimecheck-1775973622 技能

通过命令行安装

skillhub install uptimecheck-1775973622

下载

⬇ 下载 uptimecheck v1.0.0(免费)

文件大小: 4.52 KB | 发布时间: 2026-4-13 12:26

v1.0.0 最新 2026-4-13 12:26
Initial release of uptimecheck: simple, dependency-free uptime monitoring for URLs and APIs.

- Check if one or multiple URLs/endpoints are up, with response time and HTTP status.
- Supports batch checking from files, with comment lines.
- History and trend tracking: save results as JSON lines for later review.
- View history with filters (by URL, recent N entries).
- Configurable HTTP timeout.
- Intuitive output with clear ✅/❌ indicators, response times, and summary.
- Exit codes for easy integration with CI or scripts.
返回顶部