[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6G4MS7MNA42P1STC8884KE8":3,"skill-same:01M6G4MS7MNA42P1STC8884KE8":116},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":38,"linkOnly":39,"markdownContent":40,"markdownBody":41,"frontMatter":42,"refName":43,"commitSha":44,"skillDirectory":45,"forksCount":46,"repositoryHtmlUrl":47,"repositoryHomepageUrl":6,"ownerHtmlUrl":48,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":49,"install":50,"resources":63},"01M6G4MS7MNA42P1STC8884KE8","bot-status-api",null,"Deploy a lightweight status API that exposes your OpenClaw bot's runtime health, service connectivity, cron jobs, skills, system metrics, and more. Use when setting up a monitoring dashboard, health endpoint, or status page for an OpenClaw agent. Supports any services via config (HTTP checks, CLI commands, file checks). Zero dependencies — Node.js only.","kbarbel640-del\u002Fskills","kbarbel640-del","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F255315490?v=4","01M6CJPPQGCCESXMG3K7BBGQ5J","01M6CJPPX2PB2BCZERFVM2C2B3",1,"MIT","https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fsuspect80\u002Fbot-status-api\u002FSKILL.md",[],[18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37],"bot","bot status api","api","status","config","dashboard","metrics","monitoring","status page","cron jobs","ZeRO","endpoint","cli","cron","node","only","up","commands","runtime","openclaw","2026-11-10 10:12:30",false,"---\nname: bot-status-api\ndescription: \"Deploy a lightweight status API that exposes your OpenClaw bot's runtime health, service connectivity, cron jobs, skills, system metrics, and more. Use when setting up a monitoring dashboard, health endpoint, or status page for an OpenClaw agent. Supports any services via config (HTTP checks, CLI commands, file checks). Zero dependencies — Node.js only.\"\n---\n\n# Bot Status API\n\nA configurable HTTP service that exposes your OpenClaw bot's operational status as JSON. Designed for dashboard integration, monitoring, and transparency.\n\n## What It Provides\n\n- **Bot Core:** Online status, model, context usage, uptime, heartbeat timing\n- **Services:** Health checks for any HTTP endpoint, CLI tool, or file path\n- **Email:** Unread counts from any email provider (himalaya, gog, etc.)\n- **Cron Jobs:** Reads directly from OpenClaw's `cron\u002Fjobs.json`\n- **Docker:** Container health via Portainer API\n- **Dev Servers:** Auto-detects running dev servers by process grep\n- **Skills:** Lists installed and available OpenClaw skills\n- **System:** CPU, RAM, Disk metrics from `\u002Fproc`\n\n## Setup\n\n### 1. Copy the service files\n\nCopy `server.js`, `collectors\u002F`, and `package.json` to your desired location.\n\n### 2. Create config.json\n\nCopy `config.example.json` to `config.json` and customize:\n\n```json\n{\n  \"port\": 3200,\n  \"name\": \"MyBot\",\n  \"workspace\": \"\u002Fpath\u002Fto\u002F.openclaw\u002Fworkspace\",\n  \"openclawHome\": \"\u002Fpath\u002Fto\u002F.openclaw\",\n  \"cache\": { \"ttlMs\": 10000 },\n  \"model\": \"claude-sonnet-4-20250514\",\n  \"skillDirs\": [\"\u002Fpath\u002Fto\u002Fopenclaw\u002Fskills\"],\n  \"services\": [\n    { \"name\": \"myservice\", \"type\": \"http\", \"url\": \"http:\u002F\u002F...\", \"healthPath\": \"\u002Fhealth\" }\n  ]\n}\n```\n\n### Service Check Types\n\n| Type | Description | Config |\n|------|-------------|--------|\n| `http` | Fetch URL, check HTTP 200 | `url`, `healthPath`, `method`, `headers`, `body` |\n| `command` | Run shell command, check exit 0 | `command`, `timeout` |\n| `file-exists` | Check path exists | `path` |\n\n### 3. Run\n\n```bash\nnode server.js\n```\n\n### 4. Persist (systemd user service)\n\n```ini\n# ~\u002F.config\u002Fsystemd\u002Fuser\u002Fbot-status.service\n[Unit]\nDescription=Bot Status API\nAfter=network.target\n\n[Service]\nType=simple\nWorkingDirectory=\u002Fpath\u002Fto\u002Fbot-status\nExecStart=\u002Fusr\u002Fbin\u002Fnode server.js\nRestart=always\nRestartSec=5\nEnvironment=PORT=3200\nEnvironment=HOME=\u002Fhome\u002Fyouruser\nEnvironment=PATH=\u002Fusr\u002Flocal\u002Fbin:\u002Fusr\u002Fbin:\u002Fbin\n\n[Install]\nWantedBy=default.target\n```\n\n```bash\nsystemctl --user daemon-reload\nsystemctl --user enable --now bot-status\nloginctl enable-linger $USER  # survive logout\n```\n\n### 5. Context\u002FVitals from OpenClaw\n\nThe bot should periodically write vitals to `heartbeat-state.json` in its workspace:\n\n```json\n{\n  \"vitals\": {\n    \"contextPercent\": 62,\n    \"contextUsed\": 124000,\n    \"contextMax\": 200000,\n    \"model\": \"claude-opus-4-5\",\n    \"updatedAt\": 1770304500000\n  }\n}\n```\n\nAdd this to your HEARTBEAT.md so the bot updates it each heartbeat cycle.\n\n## Endpoints\n\n| Endpoint | Description |\n|----------|-------------|\n| `GET \u002Fstatus` | Full status JSON (cached) |\n| `GET \u002Fhealth` | Simple `{\"status\":\"ok\"}` |\n\n## Architecture\n\n- **Zero dependencies** — Node.js built-ins only (`http`, `fs`, `child_process`)\n- **Non-blocking** — All shell commands use async `exec`, never `execSync`\n- **Background refresh** — Cache refreshes on interval, requests always served from cache instantly (~10ms)\n- **Config-driven** — Everything in `config.json`, no hardcoded values\n","# Bot Status API\n\nA configurable HTTP service that exposes your OpenClaw bot's operational status as JSON. Designed for dashboard integration, monitoring, and transparency.\n\n## What It Provides\n\n- **Bot Core:** Online status, model, context usage, uptime, heartbeat timing\n- **Services:** Health checks for any HTTP endpoint, CLI tool, or file path\n- **Email:** Unread counts from any email provider (himalaya, gog, etc.)\n- **Cron Jobs:** Reads directly from OpenClaw's `cron\u002Fjobs.json`\n- **Docker:** Container health via Portainer API\n- **Dev Servers:** Auto-detects running dev servers by process grep\n- **Skills:** Lists installed and available OpenClaw skills\n- **System:** CPU, RAM, Disk metrics from `\u002Fproc`\n\n## Setup\n\n### 1. Copy the service files\n\nCopy `server.js`, `collectors\u002F`, and `package.json` to your desired location.\n\n### 2. Create config.json\n\nCopy `config.example.json` to `config.json` and customize:\n\n```json\n{\n  \"port\": 3200,\n  \"name\": \"MyBot\",\n  \"workspace\": \"\u002Fpath\u002Fto\u002F.openclaw\u002Fworkspace\",\n  \"openclawHome\": \"\u002Fpath\u002Fto\u002F.openclaw\",\n  \"cache\": { \"ttlMs\": 10000 },\n  \"model\": \"claude-sonnet-4-20250514\",\n  \"skillDirs\": [\"\u002Fpath\u002Fto\u002Fopenclaw\u002Fskills\"],\n  \"services\": [\n    { \"name\": \"myservice\", \"type\": \"http\", \"url\": \"http:\u002F\u002F...\", \"healthPath\": \"\u002Fhealth\" }\n  ]\n}\n```\n\n### Service Check Types\n\n| Type | Description | Config |\n|------|-------------|--------|\n| `http` | Fetch URL, check HTTP 200 | `url`, `healthPath`, `method`, `headers`, `body` |\n| `command` | Run shell command, check exit 0 | `command`, `timeout` |\n| `file-exists` | Check path exists | `path` |\n\n### 3. Run\n\n```bash\nnode server.js\n```\n\n### 4. Persist (systemd user service)\n\n```ini\n# ~\u002F.config\u002Fsystemd\u002Fuser\u002Fbot-status.service\n[Unit]\nDescription=Bot Status API\nAfter=network.target\n\n[Service]\nType=simple\nWorkingDirectory=\u002Fpath\u002Fto\u002Fbot-status\nExecStart=\u002Fusr\u002Fbin\u002Fnode server.js\nRestart=always\nRestartSec=5\nEnvironment=PORT=3200\nEnvironment=HOME=\u002Fhome\u002Fyouruser\nEnvironment=PATH=\u002Fusr\u002Flocal\u002Fbin:\u002Fusr\u002Fbin:\u002Fbin\n\n[Install]\nWantedBy=default.target\n```\n\n```bash\nsystemctl --user daemon-reload\nsystemctl --user enable --now bot-status\nloginctl enable-linger $USER  # survive logout\n```\n\n### 5. Context\u002FVitals from OpenClaw\n\nThe bot should periodically write vitals to `heartbeat-state.json` in its workspace:\n\n```json\n{\n  \"vitals\": {\n    \"contextPercent\": 62,\n    \"contextUsed\": 124000,\n    \"contextMax\": 200000,\n    \"model\": \"claude-opus-4-5\",\n    \"updatedAt\": 1770304500000\n  }\n}\n```\n\nAdd this to your HEARTBEAT.md so the bot updates it each heartbeat cycle.\n\n## Endpoints\n\n| Endpoint | Description |\n|----------|-------------|\n| `GET \u002Fstatus` | Full status JSON (cached) |\n| `GET \u002Fhealth` | Simple `{\"status\":\"ok\"}` |\n\n## Architecture\n\n- **Zero dependencies** — Node.js built-ins only (`http`, `fs`, `child_process`)\n- **Non-blocking** — All shell commands use async `exec`, never `execSync`\n- **Background refresh** — Cache refreshes on interval, requests always served from cache instantly (~10ms)\n- **Config-driven** — Everything in `config.json`, no hardcoded values\n",{"name":5,"description":7},"main","e7e336ac628c3e3bd771aff1aaa469c93778f94a","skills\u002Fsuspect80\u002Fbot-status-api",0,"https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills","https:\u002F\u002Fgithub.com\u002Fkbarbel640-del","2026-08-23 22:39:37",{"source":8,"skillName":5,"commands":51,"prompt":61,"zipAvailable":62},[52,55,58],{"tool":53,"command":54},"npx","npx skills add kbarbel640-del\u002Fskills --skill bot-status-api",{"tool":56,"command":57},"bunx","bunx skills add kbarbel640-del\u002Fskills --skill bot-status-api",{"tool":59,"command":60},"pnpm","pnpm dlx skills add kbarbel640-del\u002Fskills --skill bot-status-api","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fsuspect80\u002Fbot-status-api\u002FSKILL.md",true,[64,70,76,80,84,88,92,96,100,104,108,112],{"path":65,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":68,"sourceHtmlUrl":69},"_meta.json","REFERENCE","参考文档",283,"https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fsuspect80\u002Fbot-status-api\u002F_meta.json",{"path":71,"resourceType":72,"resourceTypeDesc":73,"sizeBytes":74,"sourceHtmlUrl":75},"collectors\u002Fcore.js","SCRIPT","脚本",2302,"https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fsuspect80\u002Fbot-status-api\u002Fcollectors\u002Fcore.js",{"path":77,"resourceType":72,"resourceTypeDesc":73,"sizeBytes":78,"sourceHtmlUrl":79},"collectors\u002Fdevservers.js",1397,"https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fsuspect80\u002Fbot-status-api\u002Fcollectors\u002Fdevservers.js",{"path":81,"resourceType":72,"resourceTypeDesc":73,"sizeBytes":82,"sourceHtmlUrl":83},"collectors\u002Fdocker.js",1390,"https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fsuspect80\u002Fbot-status-api\u002Fcollectors\u002Fdocker.js",{"path":85,"resourceType":72,"resourceTypeDesc":73,"sizeBytes":86,"sourceHtmlUrl":87},"collectors\u002Femail.js",1639,"https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fsuspect80\u002Fbot-status-api\u002Fcollectors\u002Femail.js",{"path":89,"resourceType":72,"resourceTypeDesc":73,"sizeBytes":90,"sourceHtmlUrl":91},"collectors\u002Fservices.js",3236,"https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fsuspect80\u002Fbot-status-api\u002Fcollectors\u002Fservices.js",{"path":93,"resourceType":72,"resourceTypeDesc":73,"sizeBytes":94,"sourceHtmlUrl":95},"collectors\u002Fskills.js",2139,"https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fsuspect80\u002Fbot-status-api\u002Fcollectors\u002Fskills.js",{"path":97,"resourceType":72,"resourceTypeDesc":73,"sizeBytes":98,"sourceHtmlUrl":99},"collectors\u002Fsystem.js",1786,"https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fsuspect80\u002Fbot-status-api\u002Fcollectors\u002Fsystem.js",{"path":101,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":102,"sourceHtmlUrl":103},"config.example.json",1211,"https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fsuspect80\u002Fbot-status-api\u002Fconfig.example.json",{"path":105,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":106,"sourceHtmlUrl":107},"package.json",296,"https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fsuspect80\u002Fbot-status-api\u002Fpackage.json",{"path":109,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":110,"sourceHtmlUrl":111},"README.md",3692,"https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fsuspect80\u002Fbot-status-api\u002FREADME.md",{"path":113,"resourceType":72,"resourceTypeDesc":73,"sizeBytes":114,"sourceHtmlUrl":115},"server.js",5242,"https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fsuspect80\u002Fbot-status-api\u002Fserver.js",[117,142,164,182,187,206],{"skillNo":118,"name":119,"nameZh":6,"description":120,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":121,"categories":122,"keywords":123,"publishedAt":38},"01M6G8J55967D6281ACMKAKTEQ","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.","https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fzzadrian\u002Fcrowd-prompting\u002FSKILL.md",[],[124,125,20,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141],"crowd prompting","prompting","with","tokens","domain","world","prompts","operations","instructions","text","tool","system","improve","productivity","marketplace","https","content","ai agents",{"skillNo":143,"name":144,"nameZh":6,"description":145,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":146,"categories":147,"keywords":148,"publishedAt":38},"01M6G8J0PKPAYVET6BWE8W4C26","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).","https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fzyori\u002Fdilemm-ai\u002FSKILL.md",[],[149,20,150,151,152,153,154,155,156,18,37,157,158,159,160,161,162,130,163],"dilemm ai","arena","analyze","browser","openclaw agent","create","automation","browser automation","design","strategy","headless","compete","submit","matchmaking","use",{"skillNo":165,"name":166,"nameZh":6,"description":167,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":168,"categories":169,"keywords":170,"publishedAt":38},"01M6G8HWAF3K9SW7NP3Z83CPJ6","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\u002Fcategory\u002Finterest, viewing paper details with comments, or submitting paper reviews via API at http:\u002F\u002F150.158.152.82:8000.","https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fzxrys\u002Fweak-accept\u002FSKILL.md",[],[171,172,173,174,175,176,177,126,178,161,163,179,20,180,181],"arxiv paper reviews","reviews","arxiv","paper","crawler","papers","comments","fetch","read","http","via",{"skillNo":183,"name":166,"nameZh":6,"description":167,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":184,"categories":185,"keywords":186,"publishedAt":38},"01M6G8HQJ7N7WMY6YV7D7SSJ16","https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fzxrys\u002Farxiv-paper-reviews\u002FSKILL.md",[],[174,173,172,171,181,176,177,126,175,161,163,178,179,20,180],{"skillNo":188,"name":189,"nameZh":6,"description":190,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":191,"categories":192,"keywords":193,"publishedAt":38},"01M6G8HM95Y64JNVFC2HN4E2BG","git-summary","Get a quick summary of the current Git repository including status, recent commits, branches, and contributors.","https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fzweack\u002Fgit-summary\u002FSKILL.md",[],[194,195,196,197,198,199,21,200,201,202,203,204,205],"git","summary","git summary","commits","repository","win32","linux","contributors","true","quick","get","branches",{"skillNo":207,"name":208,"nameZh":6,"description":209,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":210,"categories":211,"keywords":212,"publishedAt":38},"01M6G8HGEGF05CNEJCGVYFSC4R","agent-constitution","Interact with AgentConstitution governance contracts on Base Sepolia. Check compliance, read rules, log actions, query governance state.","https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fztsalexey\u002Fagent-constitution\u002FSKILL.md",[],[213,214,215,216,126,217,218,43,219,179,220,221,222,223,224,139,225,226,227],"agent constitution","constitution","contracts","tree","query","base","log","check","Rules","projects","compliance","actions","state","governance","github"]