bot-redeploy

Redeploy a dead ClawNet bot and verify its heartbeat via the peers API.

1|Updated Feb 2, 2026
One-click install
npx skills add https://github.com/b-open-io/clawnet-bot --skill bot-redeploy
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: bot-redeploy
Source: https://github.com/b-open-io/clawnet-bot/tree/main/.agents/johnny/skills/bot-redeploy
Command: npx skills add https://github.com/b-open-io/clawnet-bot --skill bot-redeploy

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires clawnet, curl, jq, and includes scripts (resource) components.

What problem does it solve?

Redeploys a dead ClawNet sandbox bot when its heartbeat has failed, restarting it from the bot's workspace directory.

Core Features & Use Cases

  • Locate the bot workspace at .agents/<bot-name>/ relative to the repository root.
  • Execute clawnet bot deploy --name <bot-name> from that workspace.
  • Wait 10 seconds for the sandbox to initialize.
  • Retrieve the new URL from the peers API and verify its heartbeat to confirm health.

Quick Start

Run the redeploy script with the target bot name to perform the redeployment.

Frequently Asked Questions about bot-redeploy

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I redeploy a dead ClawNet bot when its heartbeat fails?

To redeploy a dead ClawNet bot, the script executes `clawnet bot deploy` from the bot's workspace directory at `.agents/<bot-name>/` and verifies the restored heartbeat via the peers API.

What steps are needed to restart a bot in the .agents workspace directory?

Restarting a bot in the `.agents` workspace requires executing the deploy command, waiting 10 seconds for sandbox initialization, and retrieving the new URL from the peers API to confirm health.

How does the peers API verify a bot heartbeat after a sandbox restart?

The peers API verifies a bot heartbeat after a restart by providing the new sandbox URL, which the script checks to confirm the redeployed bot is healthy and responding.

Do I need curl and jq installed to automate a ClawNet bot redeploy?

Yes, you need `curl` and `jq` installed because the redeploy script uses `curl` to retrieve the new URL from the peers API and `jq` to parse the response for heartbeat verification.

Why does my bot redeploy script wait 10 seconds before checking the heartbeat?

The redeploy script waits 10 seconds to allow the ClawNet sandbox adequate time to initialize before retrieving the new URL from the peers API and verifying the bot's heartbeat.