LaunchKit · 2026
Back to Skills

nexus-brain

Intelligent SRE Bridge for AI-driven system diagnosis and recovery.

0
0 downloads
by @mrnsmh

Setup & Installation

openclaw skills install @mrnsmh/nexus-brain

Or with the ClawHub CLI, for registry-managed skill folders outside a full OpenClaw workspace:

npx clawhub install nexus-brain

What This Skill Does

SRE orchestrator that diagnoses service failures using an AI reasoning engine before taking any recovery action. Redacts passwords, tokens, and emails from logs before sending them for analysis. Routes infrastructure failures to automatic restart and code bugs to user alerts.

Forces log analysis before any restart, preventing blind recoveries that hide bugs rather than fix them.

When to use it

  • Diagnosing why a Docker container keeps restarting
  • Auto-recovering a crashed pm2 process after log review
  • Distinguishing a code bug from an infra failure during an outage
  • Reviewing redacted logs before they reach an external AI service
  • Gating recovery actions behind a manual approval step

Example Workflow

Here's how your AI assistant might use this skill in practice.

INPUT

User asks: My API service is down, figure out what happened and recover if it's safe

AGENT
  1. 1Fetches recent logs for the affected service
  2. 2Redacts sensitive fields (passwords, tokens, emails) from log content
  3. 3Sends redacted logs to the configured AI reasoning service via bridge.py
  4. 4Classifies the failure as infrastructure-related rather than a code bug
  5. 5Restarts the service via docker or pm2, requesting /approve if configured
OUTPUT

Service restarted after AI confirms infrastructure failure; a code bug would have triggered a user alert instead of a restart

Requirements

Accounts, API keys, or tools you or your AI assistant may need to set up while using this skill.

opencode installed and accessible in system PATH or local user directoryDockerpm2