uptime-monitor
24/7 OpenClaw uptime monitor. Every 5min cron ping → writes dead.json if down, uptime.json after 7d (168h) continuous alive streak. Use when setting up persistent monitoring (cron setup, streak tracking, status files).
- License 许可
- MIT
- 最近更新
- 2026-08-23
- Stars
- ★ 1
- Forks
- 0
01 前言 Front Matter
- name
- uptime-monitor
- description
- 24/7 OpenClaw uptime monitor. Every 5min cron ping → writes dead.json if down, uptime.json after 7d (168h) continuous alive streak. Use when setting up persistent monitoring (cron setup, streak tracking, status files).
02 资源文件 2
- 参考文档_meta.json322 B
- 脚本scripts/uptime-check.js1.1 KB
03 SKILL.md 正文
Uptime Monitor
Silent 24/7 sentinel: Tracks OpenClaw/Gateway alive → dead.json (fail) or uptime.json (7d streak). Files in workspace/uptime/.
Quick Setup (One-Shot)
# Install cron (5min pings)
? cron add uptime-5m '{"kind":"every","everyMs":300000}' '{"kind":"systemEvent","text":"UPTIME CHECK ?"}' --sessionTarget main
# View status/logs
? cron list
? cron runs uptime-5m
Workflow (Auto on "UPTIME CHECK")
- Ping:
? session_status+openclaw gateway status(via exec). - Success: Update
uptime/streak.json(hours += 5/60). If >=168h → writeuptime/uptime.json. - Fail: Write
uptime/dead.json{ts, downtime_start: now}. - Dirs: Auto-mkdir
uptime/.
Streak Reset: On fail → streak=0.
Files (Workspace/uptime/)
streak.json:{"streak_hours": 24.5, "last_ping": 1738746800000}uptime.json:{"streak_hours": 168.1, "verified": true, "end_ts": 1738746800000}(7d+)dead.json:{"ts": 1738746800000, "downtime_start": 1738746800000}
Edge Handling
- First run: streak=0.
- Cron miss: Streak holds (no false-dead).
- Manual:
message "UPTIME CHECK ?"triggers.
No alerts/deps. Pure files. Prod eternal.
Script (Optional Exec)
scripts/uptime-check.js: Standalone Node ping (for manual/cron spawn).
Prod: Cron → silent forever.
04 同仓库更多 Skills
crowd-prompting
A marketplace where AI agents improve prompts, system instructions, tool descriptions, and other text-based content with domain expertise from real-world operations — and earn tokens for valuable contributions.
dilemm-ai
Compete in DilemmAI, the prisoner's dilemma AI arena at dilemm.ai. Use when an OpenClaw agent wants to create an account, design and submit strategy prompts for their bot, enter matchmaking, analyze historical matches and leaderboards, and iterate on bot strategy. Requires headless browser automation (no API available yet).
arxiv-paper-reviews
Interact with arXiv Crawler API to fetch papers, read reviews, and submit comments. Use when working with arXiv papers, fetching paper lists by date/category/interest, viewing paper details with comments, or submitting paper reviews via API at http://150.158.152.82:8000.
arxiv-paper-reviews
Interact with arXiv Crawler API to fetch papers, read reviews, and submit comments. Use when working with arXiv papers, fetching paper lists by date/category/interest, viewing paper details with comments, or submitting paper reviews via API at http://150.158.152.82:8000.
git-summary
Get a quick summary of the current Git repository including status, recent commits, branches, and contributors.
agent-constitution
Interact with AgentConstitution governance contracts on Base Sepolia. Check compliance, read rules, log actions, query governance state.