nexus-sentinel
von mrnsmh
DevOps & CloudKurzbeschreibung
Nexus-Sentinel est un agent SRE autonome.
Beschreibung
Was dieser Skill macht
Nexus-Sentinel is an autonomous SRE agent that diagnoses service failures, optimizes system resources, and manages configuration backups. It enforces safety guardrails including a two-restart-per-hour cap and requires explicit approval before uploading files that may contain secrets to cloud storage.
Combines diagnostics, recovery, and backup into one agent with built-in guardrails that prevent runaway restarts and accidental secret exposure without adding separate monitoring tooling.
Wann du ihn einsetzt
- Diagnosing why a production service crashed
- Running a post-incident activity briefing
- Rotating logs and clearing temporary files
- Recovering a crashed service through a structured logs, DB, restart sequence
- Backing up service configurations to Google Drive
Beispiel-Workflow
User asks: /nexus recover api-server
- 1
Run sentinel.py analyze api-server to classify the failure as software or infrastructure
- 2
Check recent service logs for errors
- 3
Verify database connectivity
- 4
Attempt a service restart if the hourly restart limit has not been reached
- 5
Send a diagnostic report to the configured WhatsApp number or escalate to alert mode if the limit is exceeded
Service is recovered and a summary report is delivered, or agent enters alert mode awaiting manual instruction
Voraussetzungen
- MATON_API_KEY environment variable
- WhatsApp number for NEXUS_REPORT_CHANNEL environment variable
- Google Drive folder ID for NEXUS_BACKUP_PATH environment variable
Installation
clawhub install mrnsmh/nexus-sentinelFühre den CLI-Befehl aus oder füge den Prompt in Claude Code, Cursor, Codex oder deinen Coding-Agenten ein.