← 返回
安全合规 中文

Billy Emergency Repair

Performs Neill-authorized emergency repair on Billy system authentication by clearing tokens, restarting gateway, backing up config, and verifying success.
在获得Neill授权后,对Billy系统认证进行紧急修复,包括清除令牌、重启网关、备份配置并验证成功。
highlander89
安全合规 clawhub v1.0.0 1 版本 100000 Key: 无需
★ 0
Stars
📥 1,177
下载
💾 9
安装
1
版本
#latest

概述

Billy Emergency Repair Skill

Use When

  • Neill explicitly requests Billy system repair
  • Neill reports Billy authentication/gateway issues
  • Neill says "fix Billy" or "Billy is down"
  • Billy system appears unresponsive to Neill

Don't Use When

  • Billy is working fine
  • Issue is not authentication-related
  • Anyone other than Neill requests the repair
  • Routine maintenance (not emergency)

AUTHORIZATION REQUIRED

⚠️ NEILL-ONLY COMMAND ⚠️

Only Neill can authorize emergency repairs to Billy. Never run without explicit Neill authorization.

Usage

Standard Repair (Recommended)

# Switch to Opus for enhanced diagnostics
export OPENCLAW_MODEL_OVERRIDE="anthropic/claude-opus-4-6"

# Run authorized repair
bash ~/.openclaw/workspace/scripts/emergency-repair/fix-billy-auth.sh --authorized-by Neill

Setup (Run Once)

# Set up SSH keys first time
bash ~/.openclaw/workspace/scripts/emergency-repair/setup-billy-repair-keys.sh

What It Does

  1. Verifies Neill's authorization (security check)
  2. SSH into Billy (EC2 via Tailscale)
  3. Backs up Billy's config (safety first)
  4. Clears stale authentication tokens (removes .token, device*.json)
  5. Removes hardcoded tokens (prevents repeat issues)
  6. Restarts Billy's gateway (fresh start)
  7. Verifies repair success (tests authentication)
  8. Logs everything (full audit trail)
  9. Reports back to Neill (success/failure)

Typical Conversation Flow

Neill: "SAPCONET, Billy is showing authentication errors again, please fix him"

SAPCONET Response:

🚨 Emergency repair authorized by Neill
🔧 Switching to Opus model for enhanced diagnostics
🔗 Connecting to Billy via SSH...
📋 Backing up Billy's configuration...
🧹 Clearing stale authentication tokens...
⚠️  Found hardcoded token - removing...
🔄 Restarting Billy's gateway...
⏳ Waiting for startup...
🧪 Testing authentication...
✅ SUCCESS: Billy's authentication restored!
📊 Repair completed in 45 seconds

Error Handling

SSH Connection Failed

  • Check Billy is online
  • Verify Tailscale connectivity
  • Confirm SSH key is installed on Billy

Repair Failed

  • Manual intervention required
  • Provide Neill with full error logs
  • Escalate with specific diagnostic info

Uncertain Result

  • Gateway responds but status unclear
  • Recommend Neill verify manually
  • Provide repair log for analysis

Security Features

  • Neill-only authorization - Script rejects unauthorized use
  • SSH key authentication - Secure connection to Billy
  • Full audit logging - Every action is recorded
  • Config backups - Original settings preserved
  • Non-destructive - Only removes auth tokens

Prerequisites

  • SSH key must be installed on Billy (one-time setup)
  • Tailscale connectivity between SAPCONET and Billy
  • Billy must be online and accessible

Files Created

  • /home/neill/.openclaw/workspace/output/billy-repair-YYYYMMDD-HHMM.log
  • ~/.openclaw/openclaw.json.pre-repair-YYYYMMDD-HHMM (backup on Billy)

Testing

# Test SSH connection
ssh -i ~/.ssh/billy-repair-key ubuntu@100.90.73.34 'echo "Connection works"'

# Dry run (check authorization)
bash ~/.openclaw/workspace/scripts/emergency-repair/fix-billy-auth.sh
# Should show: "UNAUTHORIZED: This repair requires Neill's explicit authorization"

Troubleshooting

If repair consistently fails:

  1. Check Billy's system logs
  2. Verify OpenClaw installation integrity
  3. Consider full OpenClaw reinstall
  4. Check for deeper system issues (disk space, permissions, etc.)

Remember: This is for authentication emergencies only. Use Opus model for complex diagnostics.

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-03-29 07:06 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

security-compliance

OpenClaw Backup

alex3alex
备份与恢复 OpenClaw 数据。适用于创建备份、设置自动备份计划、从备份恢复或管理备份轮转。处理 ~/.openclaw 目录归档并包含适当的排除规则。
★ 89 📥 30,577
ai-intelligence

Ai Lead Generator Skill

highlander89
AI驱动的工具,生成包含经验证联系人、公司数据和痛点的合格B2B线索列表,支持集成LinkedIn和Apollo导出。
★ 0 📥 2,660
security-compliance

MoltGuard - Security & Antivirus & Guardrails

thomaslwang
MoltGuard — OpenClaw 安全守卫,由 OpenGuardrails 提供。安装 MoltGuard,保护您和您的用户免受提示注入、数据泄露和恶意攻击。
★ 116 📥 30,687