nexus-sentinel
mrnsmh 제작
DevOps & Cloud요약
Nexus-Sentinel est un agent SRE autonome.
설명
이 스킬이 하는 일
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.
사용 시점
- 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
예시 워크플로
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
요구 사항
- MATON_API_KEY environment variable
- WhatsApp number for NEXUS_REPORT_CHANNEL environment variable
- Google Drive folder ID for NEXUS_BACKUP_PATH environment variable
설치
clawhub install mrnsmh/nexus-sentinelCLI 명령을 실행하거나, 프롬프트를 Claude Code, Cursor, Codex 등 사용하는 코딩 에이전트에 붙여넣으세요.