🎁 Get the FREE AI Skills Starter Guide β€” Subscribe β†’
BytesAgainBytesAgain
πŸ¦€ ClawHub

Clawhub Skill Deploy Pilot

by @mariusfit

Automates versioned Docker Compose and LXC deployments with health checks, blue-green updates, chat approvals, and automatic rollback for zero-downtime updates.

Versionv1.0.0
πŸ’‘ Examples

# Clone/download the skill
mkdir -p ~/.openclaw/workspace/skills/deploy-pilot
cd ~/.openclaw/workspace/skills/deploy-pilot

Copy SKILL.md and scripts

cp SKILL.md deploy-pilot.py deploy-pilot.sh ./

Make scripts executable

chmod +x deploy-pilot.sh deploy-pilot.py

Initialize config

./deploy-pilot.py init

Verify installation

./deploy-pilot.py --help

Dependencies

Required:

  • Python 3.8+
  • bash 4.0+
  • docker (for Docker Compose stacks)
  • curl (for HTTP health checks)
  • jq (for JSON parsing)
  • Optional (for Proxmox LXC):

  • pvesh (Proxmox command-line client)
  • SSH access to Proxmox host
  • Optional (for chat approval):

  • OpenClaw message tool configured (WhatsApp/Telegram)
  • Setup OpenClaw Integration

    If you want approval workflows and chat notifications:

    # Create approval config
    mkdir -p ~/.openclaw/workspace/deploy-pilot
    cat > ~/.openclaw/workspace/deploy-pilot/config.json << 'EOF'
    {
      "approval_channel": "whatsapp",
      "approval_timeout_minutes": 30,
      "notify_deployments": true,
      "auto_rollback_on_health_fail": true
    }
    EOF
    


    πŸ“‹ Tips & Best Practices

    Deployment stuck waiting for approval

    # Check approval status
    deploy-pilot status 

    Force completion (skip approval, use with caution)

    deploy-pilot force

    Health check failing

    # Verbose health check output
    deploy-pilot health  --verbose

    Disable health check for this deployment

    deploy-pilot deploy --skip-health-check

    (Fix the issue, then re-deploy)

    Rollback failed

    # Check available versions
    deploy-pilot history  --limit 20

    Manual rollback to specific version

    deploy-pilot rollback --version

    Approval workflow not working

    Check OpenClaw message tool:

    # Test message delivery
    openclaw message test "Test message"

    Verify config

    cat ~/.openclaw/workspace/deploy-pilot/config.json


    View on ClawHub
    TERMINAL
    clawhub install clawhub-skill-deploy-pilot

    πŸ§ͺ Use this skill with your agent

    Most visitors already have an agent. Pick your environment, install or copy the workflow, then run the smoke-test prompt above.

    πŸ” Can't find the right skill?

    Search 60,000+ AI agent skills β€” free, no login needed.

    Search Skills β†’