一键导入
clawguard
Real-time system health monitoring with proactive alerts. Monitors CPU, memory, disk, network, and processes with trend analysis.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Real-time system health monitoring with proactive alerts. Monitors CPU, memory, disk, network, and processes with trend analysis.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | clawguard |
| description | Real-time system health monitoring with proactive alerts. Monitors CPU, memory, disk, network, and processes with trend analysis. |
| version | 1.0.0 |
| author | ClawGuard |
| tags | ["monitoring","system","health","performance","alerts","devops"] |
| metadata | {"openclaw":{"emoji":"🛡️","requires":{"bins":["curl","python3"]}}} |
ClawGuard is a high-performance C++ daemon that continuously monitors your system and provides real-time health data, trend analysis, and proactive alerts.
For bot-first behavior, follow:
skill/clawguard/BOT_PLAYBOOK.mdcurl -s http://localhost:7677/api/current | python3 -m json.tool
curl -s http://localhost:7677/api/system | python3 -m json.tool
curl -s http://localhost:7677/api/alerts | python3 -m json.tool
curl -s http://localhost:7677/api/brief | python3 -m json.tool
curl -s http://localhost:7677/api/activity | python3 -m json.tool
curl -s http://localhost:7677/api/recommendations | python3 -m json.tool
curl -s http://localhost:7677/api/security | python3 -m json.tool
curl -s http://localhost:7677/api/containment | python3 -m json.tool
cat ~/.clawguard/alerts.txt
curl -s http://localhost:7677/api/trends | python3 -m json.tool
curl -s http://localhost:7677/api/ports | python3 -m json.tool
curl -s "http://localhost:7677/api/history?minutes=60" | python3 -m json.tool
Open http://localhost:7677 in a browser.
Default thresholds (configurable in ~/.clawguard/config.ini):
When the user asks:
On first install, do not force one behavior model. Offer autonomy mode options from BOT_PLAYBOOK.md and let the user choose.
ClawGuard writes alerts to ~/.clawguard/alerts.txt. During heartbeat or cron checks, read this file. If it contains WARNING or CRITICAL alerts, proactively notify the user.
Example cron integration:
# Check every 15 minutes
*/15 * * * * cat ~/.clawguard/alerts.txt | grep -E "WARNING|CRITICAL" && echo "System alert detected"
# Clone and build
git clone https://github.com/YOUR_USERNAME/clawguard.git
cd clawguard
make
sudo make install
# Or run directly
./clawguard
# Run as background service
nohup clawguard &
# With custom port
clawguard --port 8080
# With custom poll interval
clawguard --interval 10
| Endpoint | Description |
|---|---|
GET / | Web dashboard |
GET /api/current | Current metrics snapshot |
GET /api/system | System information |
GET /api/alerts | Active alerts |
GET /api/security | OpenClaw security posture |
GET /api/containment | Experimental containment status and history |
GET /api/trends | 30-min trend analysis |
GET /api/history?minutes=N | Historical data points |