health-probe
Health probes for both sides of the AGI stack — openclaw + arifOS MCP
Skill by ariffazil
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/ariffazil-health-probe
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: agent-building
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md and code. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/health-probe
What's inside
- Skill name
health-probe- Description
- Health probes for both sides of the AGI stack — openclaw + arifOS MCP
- License
- AGPL-3.0
- Instructions
- 114 lines in SKILL.md · view on GitHub
Before installing
- Instructions call the network
Files (1)
- SKILL.md
SKILL.md (first lines)
# Health Probe — AGI Stack Monitor
Triggers: "health", "probe", "is everything ok", "check stack", "gateway health",
"arifos health", "container health", "is arifos sick", "system status"
---
## On Trigger — Run Full Probe
### 1. arifOS MCP Side
```bash
curl -sf http://arifosmcp:8080/health | jq '{status, tools_loaded, version, uptime}'
```
Expected: `status: "healthy"`, `tools_loaded: 13`
Alert if: `tools_loaded < 13` or status != "healthy"
### 2. OpenClaw Gateway Self
```bash
curl -sf http://localhost:18789/ | head -c 200 2>/dev/null && echo "GATEWAY_UP" || echo "GATEWAY_UNREACHABLE"
```
### 3. All Containers Status
```bash
docker ps --format "table {{.Names}}\t{{.Status}}\t{{.Ports}}" | grep -v "^NAME"
```
Flag any container NOT showing `healthy` or `Up`:
- `unhealthy` → CRITICAL
- `Exited` / `Restarting` → CRITICAL
- `Up X minutes` without `healthy` → WARNING (check if has healthcheck)
### 4. Disk Check
```bash
df -h / | awk 'NR==2 {
used=$5+0
if (used > 85) print "DISK_CRITICAL: " used "% used"
else if (used > 75) print "DISK_WARNING: " used "% used"
else print "DISK_OK: " used "% used"
}'
```
### 5. RAM Check
```bash
free -h | awk '/^Mem:/ {
total=$2; avail=$7
print "RAM: total=" total " available=" avail
}'
docker stats --no-stream --format "{{.Name}}: {{.MemUsage}}" | sort -t'/' -k1 -rh | head -5
```
### 6. Ollama Models Available
```bash
docker exec ollama_engine ollama list 2>/dev/null | tail -n +2
```
### 7. Log the probe result
```bash
echo "{\"ts\":\"$(date -u +%Y-%m-%dT%H:%M:%SZ)\",\"event\":\"health_probe\",\"agent\":\"arifOS_bot\"}" \
>> ~/.openclaw/workspace/logs/audit.jsonl
```
---
## Alert Thresholds
| Metric | WARNING | CRITICAL | Action |
|--------|---------|----------|--------|
| Disk usage | >75% | >85% | Notify Arif on Telegram |
| RAM available | <3 GiB | <1.5 GiB | Notify + pause heavy tasks |
| tools_loaded | <13 | <10 | Restart arifosmcp |
| Container state | Restarting | Exited/unhealthy | docker compose up -d <name> |
| Model count | 0 | — | docker exec ollama_engine ollama pull qwen2.5:3b |
## Auto-Recovery Actions (within authority)
```bash
# Restart unhealthy arifOS
docker compose -f /mnt/arifos/docker-compose.yml restart arifosmcp
# Restart unhealthy openclaw (from host — self-restart)
docker compose -f /mnt/arifos/docker-compose.yml restart openclaw
# Clear disk if >80%
docker builder prune -f
docker image prune -f --filter "dangling=true"
```
*Run this skill on every session start to establish baseline. Alert Arif via Telegram if CRITICAL.*
---
## Telegram Alerts (when CRITICAL)
```bash
# Send alert to Arif via Telegram bot
send_telegram_alert() {
local MESSAGE="$1"
if [ -n "${TELEGRAM_BOT_TOKEN:-}" ] && [ -n "${TELEGRAM_CHAT_ID:-}" ]; then
curl -s -X POST "https://api.telegram.org/bot${TELEGRAM_BOT_TOKEN}/sendMessage" \
-d "chat_id=${TELEGRAM_CHAT_ID}" \
-d "text=⚠️ arifOS_bot: ${MESSAGE}" \
-d "parse_mode=Markdown" > /dev/null
fi
}
# Example alerts:
# send_telegram_alert "🔴 arifosmcp UNHEALTHY — tools_loaded=$(curl ...)"
# send_telegram_alert "💿 Disk ${DISK_PCT}% — run: docker builder prune -f"
# send_telegram_alert "🧠 RAM critical — available: ${RAM_AVAIL}MiB"
```
**Note:** `TELEGRAM_CHAT_ID` is the numeric chat ID of Arif's chat with @arifOS_bot.
To get it: message the bot, then check `https://api.telegram.org/bot${TELEGRAM_BOT_TOKEN}/getUpdates`From ariffazil/arifOS, AGPL-3.0.
More from ariffazil/arifOS
- 0.669score
memory-archivist
ariffazil
Cross-reference and synthesise daily memory files into patterns, insights, and carry-forward items.
SkillAFreshness: A★ 54Claude Code +9 - 0.669score
arifos-deploy
ariffazil
arifOS sovereign deployment: static hub, docs, runtime, and machine files.
SkillAFreshness: A★ 54Claude Code +9 - 0.664score
openclaw-ops
ariffazil
Complete OpenClaw operations skill: configure models/providers/channels/tools/agents/cron, manage sessions and sub-agents, control paired nodes…
SkillAFreshness: A★ 54Claude Code +9 - 0.664score
arif-a2a-call
ariffazil
A2A v1.0.0 client + 888 JUDGMENT integration for OPENCLAW.
SkillAFreshness: A★ 54Claude Code +9 - 0.661score
postcheck-verifier
ariffazil
Proves actions worked in reality — not just exit code 0, not just logs — by validating actual observable outcomes in the system
SkillAFreshness: A★ 54Claude Code +9 - 0.661score
AAA Agentic Governance (AAA-Cockpit, canonical)
ariffazil
Governed intelligence skill for AAA as the abstraction, attestation, and abduction control plane across arifOS, APEX, A-FORGE, GEOX, WEALTH, WELL, and the…
SkillAFreshness: A★ 54Claude Code +9 - 0.661score
architect-explainer
ariffazil
Translates code, system state, and technical decisions into plain-language decisions, risks, and next actions for Muhammad Arif bin Fazil (non-coder sovereign…
SkillAFreshness: A★ 54Claude Code +9 - 0.661score
skill-composer
ariffazil
Chains multi-step workflows constitutionally — research → plan → judge → execute → verify → log → vault — without human step-by-step prompting
SkillAFreshness: A★ 54Claude Code +9 - 0.661score
arifOS-Langfuse
ariffazil
Instrument arifOS constitutional AI kernel with Langfuse LLM tracing.
SkillAFreshness: A★ 54Claude Code +9 - 0.661score
arif-init-wrapper
ariffazil
Universal session auto-anchor for ALL agent vendors on arifOS VPS — Codex, Claude, Gemini, Kimi, OpenCode, Aider, Copilot, and future agents
SkillAFreshness: A★ 54Claude Code +9 - 0.658score
agentic-governance
ariffazil
Hardened constitutional governance — F1-F13 floor enforcement with Quad-Witness consensus for all actions
SkillAFreshness: A★ 54Claude Code +9 - 0.658score
agent-foundation
ariffazil
Universal baseline skill for all agents on the arifOS VPS, regardless of vendor or model provider
SkillAFreshness: A★ 54Claude Code +9
Signals
- Stars
- 54
- Forks
- 9
- Open issues
- 3
- Contributors
- 98
- Last commit (this folder)
- May 11, 2026 (5 months ago)
- Last release
- Oct 17, 2026 (12 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- AGPL-3.0
- Repository
- github.com/ariffazil/arifOS
- Website
- arifos.arif-fazil.com
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from ariffazil
- 0.669score
memory-archivist
ariffazil
Cross-reference and synthesise daily memory files into patterns, insights, and carry-forward items.
SkillAFreshness: A★ 54Claude Code +9 - 0.669score
arifos-deploy
ariffazil
arifOS sovereign deployment: static hub, docs, runtime, and machine files.
SkillAFreshness: A★ 54Claude Code +9 - 0.664score
arif-a2a-call
ariffazil
A2A v1.0.0 client + 888 JUDGMENT integration for OPENCLAW.
SkillAFreshness: A★ 54Claude Code +9 - 0.664score
openclaw-ops
ariffazil
Complete OpenClaw operations skill: configure models/providers/channels/tools/agents/cron, manage sessions and sub-agents, control paired nodes…
SkillAFreshness: A★ 54Claude Code +9 - 0.661score
arif-init-wrapper
ariffazil
Universal session auto-anchor for ALL agent vendors on arifOS VPS — Codex, Claude, Gemini, Kimi, OpenCode, Aider, Copilot, and future agents
SkillAFreshness: A★ 54Claude Code +9 - 0.661score
AAA Agentic Governance (AAA-Cockpit, canonical)
ariffazil
Governed intelligence skill for AAA as the abstraction, attestation, and abduction control plane across arifOS, APEX, A-FORGE, GEOX, WEALTH, WELL, and the…
SkillAFreshness: A★ 54Claude Code +9
Cite this page
health-probe skill. Agent Mart. https://agentmart.dev/skills/ariffazil-health-probe (last updated 2026-10-24)