Skip to main content

bot-redeploy

Redeploy a dead ClawNet sandbox bot. This skill should be used when a bot's heartbeat has failed and it needs to be restarted. Runs clawnet bot deploy from the appropriate workspace directory.

Source facts

Repository
opldotdev/clawnet-bot
Last source activity
March 7, 2026 at 23:08
Detected SKILL.md language
English
Stars
1
Forks
0

Install options

The review-first prompt is selected by default. You can switch to a direct command or download a local copy.

Review the source files

Read SKILL.md and any companion files shown by SkillsMP before deciding whether to install.

File Explorer
2 files

Showing SKILL.md

SKILL.md
Source instructions · Read-only preview
name
bot-redeploy
description
Redeploy a dead ClawNet sandbox bot. This skill should be used when a bot's heartbeat has failed and it needs to be restarted. Runs clawnet bot deploy from the appropriate workspace directory.
version
1.0.0
# bot-redeploy Redeploys a named ClawNet bot by running `clawnet bot deploy` from its workspace directory. Use this when a fleet-check or bot-wake indicates a bot is unhealthy and needs to be restarted. ## Usage ```bash bash scripts/redeploy.sh <bot-name> ``` **Required argument:** `bot-name` -- the name of the bot to redeploy (e.g., `martha`, `jerry`). ## What It Does 1. Validates the bot name argument is provided 2. Locates the bot workspace at `.agents/<bot-name>/` relative to the clawnet-bot repo root 3. Runs `clawnet bot deploy --name <bot-name>` from that workspace 4. Waits 10 seconds for the sandbox to initialize 5. Looks up the new URL from the ClawNet peers API and checks the heartbeat ## Output ```json { "bot": "martha", "redeployed": true, "url": "https://sb-newid.vercel.run", "healthy": true } ``` - `redeployed: false` if the workspace does not exist or the deploy command fails - `healthy: false` if the heartbeat check after deploy returns non-200
View on GitHub