install
source · Clone the upstream repo
git clone https://github.com/openclaw/skills
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/openclaw/skills "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/aichiafranco/windows-healing-gateway" ~/.claude/skills/clawdbot-skills-windows-healing-gateway && rm -rf "$T"
manifest:
skills/aichiafranco/windows-healing-gateway/SKILL.mdsource content
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
- Deploy the healing systemhealing.deploy
- Check system statushealing.status
- Manual trigger repairhealing.repair
- View logshealing.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