website-monitor
claudiodrusus 제작
Web & Frontend Development요약
Lightweight website uptime monitor.
설명
이 스킬이 하는 일
A zero-dependency Python tool for checking website availability, measuring response times, and detecting content changes. Uses only Python's standard library, so it runs anywhere Python is installed without setup. Returns exit code 1 on failure, making it scriptable.
No dependencies means it runs in any environment without a virtualenv or install step, unlike requests-based alternatives.
사용 시점
- Alerting when a production site goes down
- Verifying a deployment didn't change page content unexpectedly
- Checking that a status page shows "All Systems Operational"
- Monitoring multiple sites in a single cron job
- Piping results into jq to filter only failed checks
예시 워크플로
User asks: check if my site is up and alert me if it's down
- 1
Run python main.py https://mysite.com
- 2
Capture exit code from the process
- 3
If exit code is 1, trigger alert command
- 4
Optionally pass --json flag and pipe to jq for structured failure details
- 5
Schedule command in cron for recurring checks
Exit code 0 with status 200 and response time, or exit code 1 triggering the alert pipeline
설치
clawhub install claudiodrusus/website-monitorCLI 명령을 실행하거나, 프롬프트를 Claude Code, Cursor, Codex 등 사용하는 코딩 에이전트에 붙여넣으세요.