{
  "schemaVersion": "1.0",
  "item": {
    "slug": "billy-emergency-repair",
    "name": "Billy Emergency Repair",
    "source": "tencent",
    "type": "skill",
    "category": "AI 智能",
    "sourceUrl": "https://clawhub.ai/Highlander89/billy-emergency-repair",
    "canonicalUrl": "https://clawhub.ai/Highlander89/billy-emergency-repair",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/billy-emergency-repair",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=billy-emergency-repair",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "SKILL.md"
    ],
    "primaryDoc": "SKILL.md",
    "quickSetup": [
      "Download the package from Yavira.",
      "Extract the archive and review SKILL.md first.",
      "Import or place the package into your OpenClaw setup."
    ],
    "agentAssist": {
      "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
      "steps": [
        "Download the package from Yavira.",
        "Extract it into a folder your agent can access.",
        "Paste one of the prompts below and point your agent at the extracted folder."
      ],
      "prompts": [
        {
          "label": "New install",
          "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete."
        },
        {
          "label": "Upgrade existing",
          "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run."
        }
      ]
    },
    "sourceHealth": {
      "source": "tencent",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-23T16:43:11.935Z",
      "expiresAt": "2026-04-30T16:43:11.935Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=4claw-imageboard",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=4claw-imageboard",
        "contentDisposition": "attachment; filename=\"4claw-imageboard-1.0.1.zip\"",
        "redirectLocation": null,
        "bodySnippet": null
      },
      "scope": "source",
      "summary": "Source download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this source.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/billy-emergency-repair"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    },
    "downloadPageUrl": "https://openagent3.xyz/downloads/billy-emergency-repair",
    "agentPageUrl": "https://openagent3.xyz/skills/billy-emergency-repair/agent",
    "manifestUrl": "https://openagent3.xyz/skills/billy-emergency-repair/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/billy-emergency-repair/agent.md"
  },
  "agentAssist": {
    "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
    "steps": [
      "Download the package from Yavira.",
      "Extract it into a folder your agent can access.",
      "Paste one of the prompts below and point your agent at the extracted folder."
    ],
    "prompts": [
      {
        "label": "New install",
        "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete."
      },
      {
        "label": "Upgrade existing",
        "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run."
      }
    ]
  },
  "documentation": {
    "source": "clawhub",
    "primaryDoc": "SKILL.md",
    "sections": [
      {
        "title": "Use When",
        "body": "Neill explicitly requests Billy system repair\nNeill reports Billy authentication/gateway issues\nNeill says \"fix Billy\" or \"Billy is down\"\nBilly system appears unresponsive to Neill"
      },
      {
        "title": "Don't Use When",
        "body": "Billy is working fine\nIssue is not authentication-related\nAnyone other than Neill requests the repair\nRoutine maintenance (not emergency)"
      },
      {
        "title": "AUTHORIZATION REQUIRED",
        "body": "⚠️ NEILL-ONLY COMMAND ⚠️\nOnly Neill can authorize emergency repairs to Billy. Never run without explicit Neill authorization."
      },
      {
        "title": "Standard Repair (Recommended)",
        "body": "# Switch to Opus for enhanced diagnostics\nexport OPENCLAW_MODEL_OVERRIDE=\"anthropic/claude-opus-4-6\"\n\n# Run authorized repair\nbash ~/.openclaw/workspace/scripts/emergency-repair/fix-billy-auth.sh --authorized-by Neill"
      },
      {
        "title": "Setup (Run Once)",
        "body": "# Set up SSH keys first time\nbash ~/.openclaw/workspace/scripts/emergency-repair/setup-billy-repair-keys.sh"
      },
      {
        "title": "What It Does",
        "body": "Verifies Neill's authorization (security check)\nSSH into Billy (EC2 via Tailscale)\nBacks up Billy's config (safety first)\nClears stale authentication tokens (removes .token, device*.json)\nRemoves hardcoded tokens (prevents repeat issues)\nRestarts Billy's gateway (fresh start)\nVerifies repair success (tests authentication)\nLogs everything (full audit trail)\nReports back to Neill (success/failure)"
      },
      {
        "title": "Typical Conversation Flow",
        "body": "Neill: \"SAPCONET, Billy is showing authentication errors again, please fix him\"\n\nSAPCONET Response:\n\n🚨 Emergency repair authorized by Neill\n🔧 Switching to Opus model for enhanced diagnostics\n🔗 Connecting to Billy via SSH...\n📋 Backing up Billy's configuration...\n🧹 Clearing stale authentication tokens...\n⚠️  Found hardcoded token - removing...\n🔄 Restarting Billy's gateway...\n⏳ Waiting for startup...\n🧪 Testing authentication...\n✅ SUCCESS: Billy's authentication restored!\n📊 Repair completed in 45 seconds"
      },
      {
        "title": "SSH Connection Failed",
        "body": "Check Billy is online\nVerify Tailscale connectivity\nConfirm SSH key is installed on Billy"
      },
      {
        "title": "Repair Failed",
        "body": "Manual intervention required\nProvide Neill with full error logs\nEscalate with specific diagnostic info"
      },
      {
        "title": "Uncertain Result",
        "body": "Gateway responds but status unclear\nRecommend Neill verify manually\nProvide repair log for analysis"
      },
      {
        "title": "Security Features",
        "body": "Neill-only authorization - Script rejects unauthorized use\nSSH key authentication - Secure connection to Billy\nFull audit logging - Every action is recorded\nConfig backups - Original settings preserved\nNon-destructive - Only removes auth tokens"
      },
      {
        "title": "Prerequisites",
        "body": "SSH key must be installed on Billy (one-time setup)\nTailscale connectivity between SAPCONET and Billy\nBilly must be online and accessible"
      },
      {
        "title": "Files Created",
        "body": "/home/neill/.openclaw/workspace/output/billy-repair-YYYYMMDD-HHMM.log\n~/.openclaw/openclaw.json.pre-repair-YYYYMMDD-HHMM (backup on Billy)"
      },
      {
        "title": "Testing",
        "body": "# Test SSH connection\nssh -i ~/.ssh/billy-repair-key ubuntu@100.90.73.34 'echo \"Connection works\"'\n\n# Dry run (check authorization)\nbash ~/.openclaw/workspace/scripts/emergency-repair/fix-billy-auth.sh\n# Should show: \"UNAUTHORIZED: This repair requires Neill's explicit authorization\""
      },
      {
        "title": "Troubleshooting",
        "body": "If repair consistently fails:\n\nCheck Billy's system logs\nVerify OpenClaw installation integrity\nConsider full OpenClaw reinstall\nCheck for deeper system issues (disk space, permissions, etc.)\n\nRemember: This is for authentication emergencies only. Use Opus model for complex diagnostics."
      }
    ],
    "body": "Billy Emergency Repair Skill\nUse When\nNeill explicitly requests Billy system repair\nNeill reports Billy authentication/gateway issues\nNeill says \"fix Billy\" or \"Billy is down\"\nBilly system appears unresponsive to Neill\nDon't Use When\nBilly is working fine\nIssue is not authentication-related\nAnyone other than Neill requests the repair\nRoutine maintenance (not emergency)\nAUTHORIZATION REQUIRED\n\n⚠️ NEILL-ONLY COMMAND ⚠️ Only Neill can authorize emergency repairs to Billy. Never run without explicit Neill authorization.\n\nUsage\nStandard Repair (Recommended)\n# Switch to Opus for enhanced diagnostics\nexport OPENCLAW_MODEL_OVERRIDE=\"anthropic/claude-opus-4-6\"\n\n# Run authorized repair\nbash ~/.openclaw/workspace/scripts/emergency-repair/fix-billy-auth.sh --authorized-by Neill\n\nSetup (Run Once)\n# Set up SSH keys first time\nbash ~/.openclaw/workspace/scripts/emergency-repair/setup-billy-repair-keys.sh\n\nWhat It Does\nVerifies Neill's authorization (security check)\nSSH into Billy (EC2 via Tailscale)\nBacks up Billy's config (safety first)\nClears stale authentication tokens (removes .token, device*.json)\nRemoves hardcoded tokens (prevents repeat issues)\nRestarts Billy's gateway (fresh start)\nVerifies repair success (tests authentication)\nLogs everything (full audit trail)\nReports back to Neill (success/failure)\nTypical Conversation Flow\n\nNeill: \"SAPCONET, Billy is showing authentication errors again, please fix him\"\n\nSAPCONET Response:\n\n🚨 Emergency repair authorized by Neill\n🔧 Switching to Opus model for enhanced diagnostics\n🔗 Connecting to Billy via SSH...\n📋 Backing up Billy's configuration...\n🧹 Clearing stale authentication tokens...\n⚠️  Found hardcoded token - removing...\n🔄 Restarting Billy's gateway...\n⏳ Waiting for startup...\n🧪 Testing authentication...\n✅ SUCCESS: Billy's authentication restored!\n📊 Repair completed in 45 seconds\n\nError Handling\nSSH Connection Failed\nCheck Billy is online\nVerify Tailscale connectivity\nConfirm SSH key is installed on Billy\nRepair Failed\nManual intervention required\nProvide Neill with full error logs\nEscalate with specific diagnostic info\nUncertain Result\nGateway responds but status unclear\nRecommend Neill verify manually\nProvide repair log for analysis\nSecurity Features\nNeill-only authorization - Script rejects unauthorized use\nSSH key authentication - Secure connection to Billy\nFull audit logging - Every action is recorded\nConfig backups - Original settings preserved\nNon-destructive - Only removes auth tokens\nPrerequisites\nSSH key must be installed on Billy (one-time setup)\nTailscale connectivity between SAPCONET and Billy\nBilly must be online and accessible\nFiles Created\n/home/neill/.openclaw/workspace/output/billy-repair-YYYYMMDD-HHMM.log\n~/.openclaw/openclaw.json.pre-repair-YYYYMMDD-HHMM (backup on Billy)\nTesting\n# Test SSH connection\nssh -i ~/.ssh/billy-repair-key ubuntu@100.90.73.34 'echo \"Connection works\"'\n\n# Dry run (check authorization)\nbash ~/.openclaw/workspace/scripts/emergency-repair/fix-billy-auth.sh\n# Should show: \"UNAUTHORIZED: This repair requires Neill's explicit authorization\"\n\nTroubleshooting\n\nIf repair consistently fails:\n\nCheck Billy's system logs\nVerify OpenClaw installation integrity\nConsider full OpenClaw reinstall\nCheck for deeper system issues (disk space, permissions, etc.)\n\nRemember: This is for authentication emergencies only. Use Opus model for complex diagnostics."
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/Highlander89/billy-emergency-repair",
    "publisherUrl": "https://clawhub.ai/Highlander89/billy-emergency-repair",
    "owner": "Highlander89",
    "version": "1.0.0",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/billy-emergency-repair",
    "downloadUrl": "https://openagent3.xyz/downloads/billy-emergency-repair",
    "agentUrl": "https://openagent3.xyz/skills/billy-emergency-repair/agent",
    "manifestUrl": "https://openagent3.xyz/skills/billy-emergency-repair/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/billy-emergency-repair/agent.md"
  }
}