[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M77TMMGGZ997GE33PBDG7QQM":3,"skill-same:01M77TMMGGZ997GE33PBDG7QQM":45},{"skillNo":4,"name":5,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":20,"frontMatter":21,"refName":22,"commitSha":23,"skillDirectory":24,"forksCount":25,"repositoryHtmlUrl":26,"repositoryHomepageUrl":27,"ownerHtmlUrl":28,"ownerBlogUrl":6,"ownerDescription":29,"updatedAt":30,"install":31,"resources":44},"01M77TMMGGZ997GE33PBDG7QQM","service-watchdog",null,"Lord1Egypt\u002Fawesome-skill-forge","Lord1Egypt","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F99746359?v=4","01M7592YDNT0XK9WJ0T2MQVPDN","Mohamed Mounir Ali AL Keshita","01M75GRFNHC8VZNWEB8DKDE433",3,"MIT","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fcommunity\u002Fclawhub\u002Fs\u002Fservice-watchdog\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"# Service Watchdog\n\nLightweight service and endpoint monitoring for self-hosted infrastructure. Checks HTTP endpoints, TCP ports, SSL certificate expiry, and DNS resolution — then reports status in a clean, chat-friendly format.\n\n## What It Does\n\n- **HTTP Health Checks** — GET\u002FPOST with expected status codes, response time tracking, content matching\n- **TCP Port Checks** — Verify services are listening (databases, mail servers, game servers, etc.)\n- **SSL Certificate Monitoring** — Days until expiry, issuer info, auto-warn thresholds\n- **DNS Resolution** — Verify domains resolve correctly, detect DNS hijacking\n- **Smart Summaries** — One-glance status for all your services, with trend data\n- **Alert Logic** — Configurable thresholds, cooldowns, and severity levels to prevent alert fatigue\n\n## Quick Start\n\n### 1. Create a watchlist\n\nCreate `watchdog.json` in your workspace root:\n\n```json\n{\n  \"services\": [\n    {\n      \"name\": \"Home Assistant\",\n      \"type\": \"http\",\n      \"url\": \"http:\u002F\u002F192.168.1.100:8123\",\n      \"expect_status\": 200,\n      \"timeout_ms\": 5000\n    },\n    {\n      \"name\": \"Proxmox\",\n      \"type\": \"https\",\n      \"url\": \"https:\u002F\u002Fproxmox.local:8006\",\n      \"expect_status\": 200,\n      \"ssl_warn_days\": 14,\n      \"timeout_ms\": 5000\n    },\n    {\n      \"name\": \"PostgreSQL\",\n      \"type\": \"tcp\",\n      \"host\": \"db.local\",\n      \"port\": 5432,\n      \"timeout_ms\": 3000\n    },\n    {\n      \"name\": \"My Domain\",\n      \"type\": \"dns\",\n      \"domain\": \"example.com\",\n      \"expect_ip\": \"93.184.216.34\"\n    }\n  ],\n  \"defaults\": {\n    \"timeout_ms\": 5000,\n    \"ssl_warn_days\": 14,\n    \"alert_cooldown_min\": 30,\n    \"history_retention_days\": 30\n  }\n}\n```\n\n### 2. Run a check\n\n```bash\nbash skills\u002Fservice-watchdog\u002Fwatchdog.sh\n```\n\nOutput example:\n```\n🟢 Home Assistant       — 200 OK (142ms)\n🟢 Proxmox              — 200 OK (89ms) | SSL: 47 days\n🟢 PostgreSQL           — port 5432 open (12ms)\n🟢 My Domain            — resolves to 93.184.216.34 ✓\n━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\n4\u002F4 healthy | avg response: 81ms | checked: 2026-02-24 16:30 UTC\n```\n\n### 3. Detailed report\n\n```bash\nbash skills\u002Fservice-watchdog\u002Fwatchdog.sh --report\n```\n\nShows trend data: uptime percentage, P95 response times, incident history.\n\n### 4. JSON output (for cron integration)\n\n```bash\nbash skills\u002Fservice-watchdog\u002Fwatchdog.sh --json\n```\n\n### 5. Check SSL only\n\n```bash\nbash skills\u002Fservice-watchdog\u002Fwatchdog.sh --ssl-only\n```\n\n### 6. Alert summary (for messaging)\n\n```bash\nbash skills\u002Fservice-watchdog\u002Fwatchdog.sh --alerts-only\n```\n\nOnly outputs services that need attention (down, slow, SSL expiring).\n\n## Cron Integration\n\nAdd to your OpenClaw cron for continuous monitoring:\n\n**Every 5 minutes (lightweight check):**\n```\nRun `bash skills\u002Fservice-watchdog\u002Fwatchdog.sh --json` and report only if any service is unhealthy.\n```\n\n**Daily SSL report:**\n```\nRun `bash skills\u002Fservice-watchdog\u002Fwatchdog.sh --ssl-only` and report expiring certificates.\n```\n\n## Configuration Reference\n\n### Service types\n\n| Type | Required Fields | Optional Fields |\n|------|----------------|-----------------|\n| `http` \u002F `https` | `url` | `expect_status`, `expect_body`, `method`, `headers`, `timeout_ms`, `ssl_warn_days` |\n| `tcp` | `host`, `port` | `timeout_ms` |\n| `dns` | `domain` | `expect_ip`, `nameserver` |\n\n### Global defaults\n\n| Field | Default | Description |\n|-------|---------|-------------|\n| `timeout_ms` | 5000 | Request timeout |\n| `ssl_warn_days` | 14 | SSL expiry warning threshold |\n| `alert_cooldown_min` | 30 | Min minutes between repeated alerts |\n| `history_retention_days` | 30 | How long to keep check history |\n| `history_file` | `watchdog-history.csv` | Path for check history data |\n\n## How the Agent Should Use This\n\nWhen the user asks about service status, infrastructure health, or \"are my services up?\":\n\n1. Run `bash skills\u002Fservice-watchdog\u002Fwatchdog.sh` for a quick overview\n2. Run with `--report` for detailed trends and history\n3. Run with `--alerts-only` for just the problems\n4. Run with `--ssl-only` to check certificate status\n5. Run with `--json` when you need structured data for further analysis\n\nFor proactive monitoring, run checks in cron jobs and only alert the user when something is wrong.\n\n## Requirements\n\n- `curl` (for HTTP\u002FHTTPS checks)\n- `openssl` (for SSL certificate checks)\n- `nc` or `ncat` (for TCP port checks) — falls back to bash `\u002Fdev\u002Ftcp` if unavailable\n- `dig` or `nslookup` (for DNS checks) — falls back to `host` command\n- `jq` (for JSON config parsing)\n\nAll standard on most Linux distributions. No external APIs or accounts needed.\n",{},"master","4aa004da461d820f4ea5499e58eb8d196cf99016","community\u002Fclawhub\u002Fs\u002Fservice-watchdog",0,"https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge","https:\u002F\u002Fskill-explorer-rho.vercel.app","https:\u002F\u002Fgithub.com\u002FLord1Egypt","Unbreakable. Unstoppable. Unmatched⚡.\r\n Speaker of machine tongues 🤖  | World-builder of decentralized dreams 🌐 | Defender of the digital realm🛡️.","2026-06-10 08:21:01",{"source":7,"skillName":5,"commands":32,"prompt":42,"zipAvailable":43},[33,36,39],{"tool":34,"command":35},"npx","npx skills add Lord1Egypt\u002Fawesome-skill-forge --skill service-watchdog",{"tool":37,"command":38},"bunx","bunx skills add Lord1Egypt\u002Fawesome-skill-forge --skill service-watchdog",{"tool":40,"command":41},"pnpm","pnpm dlx skills add Lord1Egypt\u002Fawesome-skill-forge --skill service-watchdog","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fcommunity\u002Fclawhub\u002Fs\u002Fservice-watchdog\u002FSKILL.md",true,[],[46,53,60,67,74,81],{"skillNo":47,"name":48,"nameZh":6,"description":49,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":50,"categories":51,"keywords":52,"publishedAt":18},"01M785WKJB99G3STR1NF9NRTJW","youtube-content","YouTube transcripts to summaries, threads, blogs.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fyoutube-content\u002FSKILL.md",[],[],{"skillNo":54,"name":55,"nameZh":6,"description":56,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":57,"categories":58,"keywords":59,"publishedAt":18},"01M785WEFHB0G2S9YA6EPR3H0E","xurl","X\u002FTwitter via xurl CLI: post, search, DM, media, v2 API.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fxurl\u002FSKILL.md",[],[],{"skillNo":61,"name":62,"nameZh":6,"description":63,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":64,"categories":65,"keywords":66,"publishedAt":18},"01M785W98EDN4EFJXJPMQEHCRC","touchdesigner-mcp","Control a running TouchDesigner instance via twozero MCP — create operators, set parameters, wire connections, execute Python, build real-time visuals. 36 native tools.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Ftouchdesigner-mcp\u002FSKILL.md",[],[],{"skillNo":68,"name":69,"nameZh":6,"description":70,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":71,"categories":72,"keywords":73,"publishedAt":18},"01M785W5S9FP3QBH2V191E025P","test-driven-development","TDD: enforce RED-GREEN-REFACTOR, tests before code.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Ftest-driven-development\u002FSKILL.md",[],[],{"skillNo":75,"name":76,"nameZh":6,"description":77,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":78,"categories":79,"keywords":80,"publishedAt":18},"01M785W2AS08NSSH9YATCV6FJB","teams-meeting-pipeline","Operate the Teams meeting summary pipeline via Hermes CLI — summarize meetings, inspect pipeline status, replay jobs, manage Microsoft Graph subscriptions.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fteams-meeting-pipeline\u002FSKILL.md",[],[],{"skillNo":82,"name":83,"nameZh":6,"description":84,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":85,"categories":86,"keywords":87,"publishedAt":18},"01M785VXKW4T34BTP1SCHW1R7F","systematic-debugging","4-phase root cause debugging: understand bugs before fixing.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fsystematic-debugging\u002FSKILL.md",[],[]]