원클릭으로
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.
Use BOT_PLAYBOOK.md for first-run onboarding and autonomy mode selection.
The bot should not assume one fixed behavior. It should present mode options and adapt to the host.
If an OpenClaw bot is going to run host commands (even read-only triage), run them through the ClawGuard wrapper so ClawGuard can:
~/.clawguard/openclaw-events.jsonl (powers GET /api/activity and alert correlation)~/.clawguard/policy.ini# Example: list listening ports (allowed by the default starter policy we ship)
python3 skills/clawguard/guard_exec.py --skill clawguard -- -- /usr/sbin/lsof -nP -iTCP -sTCP:LISTEN
To permit more commands, add rules to ~/.clawguard/policy.ini:
allow_cmd_prefix = /usr/bin/curl
allow_cmd_prefix = /usr/bin/git
allow_cmd_regex = ^curl https://clawguard\\.net
python3 skills/clawguard/log_event.py --skill clawguard --tool http --status ok --command "GET /api/brief"
curl -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.
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"
When the user asks:
/api/security and summarize status, openclaw, config_findings, and integrity.config_findings and prioritize critical findings first.integrity.changed / integrity.missing.CLAWGUARD_REBASELINE=1 once, then return to normal runs.On first use, the bot should:
/api/brief and /api/security).Manual, Assist, Autopilot) from BOT_PLAYBOOK.md.Containment exists but is intentionally conservative by default:
containment_enabled = falsecontainment_shadow_mode = trueOn setup, the bot should explain containment as optional/experimental and require explicit user opt-in before enforcement.