跳到正文
TakoAPI
返回技能列表

skill-4

由 claudiodrusus 提供

Web & Frontend Development
286下载量由 clawskills.sh 提供
0浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

Lightweight website uptime monitor.

描述

该技能的功能

A zero-dependency Python tool for checking website uptime, measuring response times, and detecting content changes via SHA-256 hashing. Runs entirely on Python's standard library with no external packages required. Returns exit code 1 on failure, making it composable with shell scripts and cron jobs.

Because it requires no pip install or virtual environment setup, it runs anywhere Python is available without dependency management overhead.

何时使用

  • Alerting via cron when a production site goes down
  • Verifying a status page still shows 'All Systems Operational'
  • Detecting silent content changes on a competitor's pricing page
  • Checking multiple staging URLs before a deployment
  • Confirming a redirect returns the expected 301 status code

示例工作流

输入

User asks: check if my site is up and alert me if it's down

智能体
  1. 1

    Run python main.py https://mysite.com with default timeout

  2. 2

    Capture exit code from the process

  3. 3

    On exit code 1, pipe alert message to mail or another notification tool

  4. 4

    Optionally pass --json flag to parse structured result for dashboards

输出

Exit code 0 with status 200, response time in ms, and content hash printed to stdout; exit code 1 triggers the alert branch

安装

clawhub install claudiodrusus/skill-4

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接