Skip to content
Back to skills

Openclaw Deploy

ASecurity

"name: openclaw-deploy description: Build and deploy OpenClaw as

  • 14 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 7, 2026
devopsbashnodedocker

Security analysis

A100/100

Pro scans all 13 files and shows the line behind each finding

Scanned September 7, 2026

npx -y skills add modbender/skill-library-mcp --skill openclaw-deploy --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Openclaw Deploy?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Openclaw Deploy
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/modbender-openclaw-deploy/badge)](https://www.skillsdirectory.com/skills/modbender-openclaw-deploy)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: SKILL.md 元数据格式示例
description: "name: openclaw-deploy description: Build and deploy OpenClaw as
  Docker images or portable packages author: zfanmy-梦月儿 version: 1.0.1 homepage:
  license: MIT keywords:"
---

# SKILL.md 元数据格式示例

---
name: openclaw-deploy
description: Build and deploy OpenClaw as Docker images or portable packages
author: zfanmy-梦月儿
version: 1.0.1
homepage: 
license: MIT
keywords:
  - openclaw
  - deploy
  - docker
  - portable
  - backup
  - migration
requires:
  bins:
    - node
    - npm
    - tar
---

# OpenClaw Deploy

Build and deploy OpenClaw as Docker images or portable packages.

## Features

- 🐳 Build Docker images (clean/full versions)
- 📦 Create portable packages for deployment
- 🚀 Deploy to remote servers with one command
- 💾 Backup and restore configurations

## Quick Start

### Build Portable Packages

```bash
# Build both clean and full versions
./scripts/build-portable.sh

# Export for deployment
./scripts/export-portable.sh
```

### Deploy to Remote Server

```bash
# Deploy clean version
./export/deploy.sh user@remote-server clean /opt/openclaw

# Deploy full version
./export/deploy.sh user@remote-server full /opt/openclaw
```

## Directory Structure

```
openclaw-deploy/
├── portable/clean/          # Clean version (no personal data)
├── portable/full/           # Full version (with config)
├── export/                  # Deployment packages
│   ├── openclaw-clean-portable.tar.gz
│   ├── openclaw-full-portable.tar.gz
│   └── deploy.sh
└── scripts/
    ├── build-portable.sh
    ├── export-portable.sh
    └── deploy.sh
```

## Usage on Target Server

```bash
# Install Node.js
./install-node.sh

# Start OpenClaw
cd clean && ./start.sh   # or cd full && ./start.sh

# Access WebUI
open http://localhost:18789
```

## Requirements

- Node.js 22.x
- Docker (optional, for Docker builds)
- curl, rsync (for deployment)

## Configuration

### Environment Variables

You can customize paths using environment variables:

```bash
# OpenClaw installation directory (default: auto-detect)
export OPENCLAW_INSTALL_DIR=/path/to/openclaw

# OpenClaw config directory (default: ~/.openclaw)
export OPENCLAW_CONFIG_DIR=/path/to/.openclaw

# Output directory (default: ./openclaw-portable-output)
export OUTPUT_DIR=/path/to/output
```

### Example with Custom Paths

```bash
export OPENCLAW_INSTALL_DIR=/opt/openclaw
export OPENCLAW_CONFIG_DIR=/opt/config/.openclaw
export OUTPUT_DIR=/tmp/openclaw-packages

./scripts/build-portable.sh
```

## Changelog

### v1.0.1
- Fixed hardcoded paths
- Added environment variable support
- Improved error handling and dependency checks
- Added path validation

### v1.0.0
- Initial release

## Author

zfanmy-梦月儿

Files in this skill

  • README.md2.8 KB
  • SKILL.md2.9 KB
  • docker-compose.yml670 B
  • scripts/build-portable.sh3.9 KB
  • scripts/export-portable.sh2.6 KB
  • scripts/import.sh936 B
  • scripts/start.sh1.9 KB
  • scripts/stop.sh991 B
  • templates/README.md1 KB
  • templates/check-env.sh670 B
  • templates/install-node.sh744 B
  • templates/start-clean.sh949 B
  • templates/start-full.sh908 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…