๐ŸŽ Get the FREE AI Skills Starter Guide โ€” Subscribe โ†’
BytesAgainBytesAgain
๐Ÿฆ€ ClawHub

windows-healing-gateway

by @aichiafranco

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

Versionv1.0.0
Downloads655
Starsโญ 1
TERMINAL
clawhub install windows-healing-gateway

๐Ÿ“– About This Skill

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

    ๐Ÿ’ก Examples

    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