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-sentinel运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。