.agent/skills/agent-self-healing/SKILL.md
Automated error detection, restart strategies, and self-repair loops for agents. Use when designing or debugging Julia's health-checker, ADHD agent, or any component that needs to monitor and recover from failures.
npx skillsauth add abzhaw/juliaz_agents agent-self-healingInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
#!/bin/bash
# Check if a service is healthy, restart if not
check_and_heal() {
local name=$1 port=$2
if ! curl -sf "http://localhost:$port/health" > /dev/null; then
echo "[$name] UNHEALTHY — restarting..."
pm2 restart "$name"
sleep 5
curl -sf "http://localhost:$port/health" && echo "[$name] ✅ Recovered" || echo "[$name] ❌ Still down"
fi
}
check_and_heal frontend 3002
check_and_heal bridge 3001
check_and_heal cowork-mcp 3003
// ecosystem.config.js
{
restart_delay: 3000,
exp_backoff_restart_delay: 100,
max_restarts: 10 // stop trying after 10 crashes
}
kill_port() {
local port=$1
local pid=$(lsof -ti:$port 2>/dev/null)
[ -n "$pid" ] && kill "$pid" && echo "Killed PID $pid on port $port"
}
online state (not errored)openclaw healthpm2 restart <name>development
Fortschrittsverfolgung der Masterarbeit. Wortanzahl pro Kapitel, Fertigstellungsgrad, fehlende Elemente, Deadlines. Haelt den Ueberblick.
development
Kapitelarchitektur und Gliederung der Masterarbeit. Verwaltet die Struktur, schlaegt vor wo Inhalte hingehoeren, validiert den logischen Fluss zwischen Kapiteln.
tools
Konvertiert Protokolleinträge und Session-Logs in thesis-fähiges deutsches Narrativ. Transformiert Entwicklungsdokumentation in akademische Prosa.
research
Sucht und analysiert akademische Literatur. Findet relevante Papers, erstellt strukturierte Zusammenfassungen. Zitiert NIEMALS — schlaegt nur vor.