🧪 Skills

windows-healing-gateway

Automates monitoring and self-repair of OpenClaw Gateway on Windows using Task Scheduler, with AI diagnosis and Telegram alert notifications.

v1.0.0
❤️ 1
⬇️ 18
👁 1
Share

Description

windows-healing-gateway

OpenClaw Gateway Self-Healing System for Windows

Windows 环境下的 OpenClaw 网关自愈系统,使用 Task Scheduler 实现自动监控、故障修复和告警通知。

Description

This skill provides a complete self-healing solution for OpenClaw Gateway on Windows:

  • Auto-Monitor: Continuously monitors Gateway health every 30 seconds
  • Auto-Repair: Automatically fixes crashes (JSON errors, port conflicts, plugin issues)
  • AI Diagnosis: Analyzes logs and applies intelligent fixes
  • Alert Notification: Sends alerts via Telegram when manual intervention needed
  • Secure: All sensitive credentials isolated in environment files

Tools

  • healing.deploy - Deploy the healing system
  • healing.status - Check system status
  • healing.repair - Manual trigger repair
  • healing.logs - View logs

Installation

# Via ClawHub
clawhub install windows-healing-gateway

# Manual
clawhub install https://github.com/yourusername/windows-healing-gateway

Usage

Deploy

# Run deployment script
python skills/windows-healing-gateway/scripts/deploy-windows-healing.ps1

Check Status

# View Task Scheduler status
schtasks /Query /TN "OpenClaw\*" /FO LIST

# View logs
Get-Content ~/.openclaw/logs/monitor.log -Tail 20

Manual Repair

# Trigger manual repair
~/.openclaw/scripts/openclaw-fix.ps1

# Test mode (diagnose only)
~/.openclaw/scripts/openclaw-fix.ps1 -TestMode

Configuration

Edit ~/.config/openclaw/gateway.env:

MOONSHOT_API_KEY=your_key
CODING_PLAN_KEY=your_key
TELEGRAM_BOT_TOKEN=your_token
TELEGRAM_CHAT_ID=your_chat_id

Features

  • ✅ Task Scheduler integration
  • ✅ Process monitoring
  • ✅ JSON repair
  • ✅ Port conflict resolution
  • ✅ Plugin error handling
  • ✅ Telegram alerts
  • ✅ Windows Event Log
  • ✅ Secure credential storage

Requirements

  • Windows 10/11
  • PowerShell 5.1+
  • OpenClaw CLI
  • Task Scheduler access

Author

Franco

License

MIT-0

Reviews (0)

Sign in to write a review.

No reviews yet. Be the first to review!

Comments (0)

Sign in to join the discussion.

No comments yet. Be the first to share your thoughts!

Compatible Platforms

Pricing

Free

Related Configs