📦 Openclaw

v1.0.2

5-7 分钟内一键将 OpenClaw 部署到 VPS、Docker 或本地:自动检测环境、安装依赖、生成配置并启动服务

0· 0·0 当前·0 累计
0
安全扫描
VirusTotal
可疑
查看报告
OpenClaw
可疑
medium confidence
该技能的说明大致符合部署助手的功能,但存在执行和连贯性问题(远程 curl|bash、拼写错误/操作系统处理不一致、docker 镜像名称模糊),运行前需人工审查。
评估建议
该技能看似合法的部署助手,但包含需验证的风险与疏漏。切勿盲目执行 curl | bash;应拉取脚本(curl -fsSL URL -o deploy.sh)并检查异常行为(后门、数据外泄、多余网络请求)。确认 Docker 镜像名称(SKILL.md 中有个空格,应为 'skylv/openclaw'),并在 Docker Hub 验证镜像/作者。deploy.sh 虽有 OS 检测,却无条件使用 apt-get,在 CentOS 上可能失败或误操作;先在测试 VM 或容器试运行。安装命令需合适权限(用 sudo 或故意以 root 运行),并验证 npm 包 'openclaw' 为官方项目后再全局安装。若主机含敏感数据,优先手动检查或在受控沙箱环境操作,而非一行远程安装。...
详细分析 ▾
用途与能力
名称/描述符合说明:包含将 OpenClaw 部署到 VPS/Docker/本地的步骤,并使用了预期工具(git、npm、docker)。存在轻微不一致:SKILL.md 中的元数据(slug/version/author)与注册表元数据不同;Docker 镜像名称中可能有拼写错误('sky lv/openclaw' 含空格),部分链接指向第三方仓库(SKY-lv)。这些差异并非恶意证据,但与整洁打包不完全一致。
指令范围
说明包括通过 curl | bash 运行远程脚本(raw.githubusercontent.com)以及读取/修改系统路径的命令(如 /etc/*、~/.openclaw、/root/.openclaw)。部署脚本的 OS 检测与后续命令不一致:检测到 /etc/redhat-release 判断为 CentOS,却无条件使用 apt-get;脚本假定拥有权限(直接运行 apt-get 和全局 npm install)却未使用 sudo。尽管这些操作属于部署助手的常规范畴,但执行远程脚本及权限假设存在风险,应予以审查。
安装机制
这是一个仅含指令的技能(无安装规范),限制了技能包对磁盘的直接写入。然而,推荐的“一键”安装采用 curl https://raw.githubusercontent.com/... | bash 模式——从远程原始 URL 获取并运行代码风险极高,因为它会在主机上执行未经校验的代码。预期会拉取 Docker 镜像,但文档中的镜像名称似乎有误;请确认正确的镜像(可能是 skylv/openclaw)。
凭证需求
该 skill 未声明任何必需的环境变量或凭据,这对部署助手而言是合理的。运行时指令确实需要网络访问,并可能需要 root 权限以安装软件包和启用服务;这些在部署流程中属正常要求,但用户应知晓脚本将修改系统软件包、安装全局 npm 软件包,并在 home/root 目录下写入配置。
持久化与权限
The 技能 does not 请求 'always' presence, does not modify other 技能s, and only suggests enabling the OpenClaw gateway 服务 (系统 auto启动) which is expected behavior for a 部署ment. Autonomous invocation is allowed by 平台 default but not in itself a concern here.
安全有层次,运行前请审查代码。

运行时依赖

无特殊依赖

安装命令

点击复制
官方npx clawhub@latest install openclaw-quick-deploy
镜像加速npx clawhub@latest install openclaw-quick-deploy --registry https://cn.longxiaskill.com

技能文档

# OpenClaw Quick Deploy — 一键部署助手 ## 功能说明 5 分钟快速部署 OpenClaw 到 VPS、Docker 或本地环境。自动检测系统环境、安装依赖、生成配置文件,让 OpenClaw 开箱即用。 ## 支持平台 | 平台 | 支持状态 | 部署时间 | |------|---------|---------| | Ubuntu 20.04/22.04 | ✅ 原生支持 | 5 分钟 | | Debian 11/12 | ✅ 原生支持 | 5 分钟 | | CentOS 7/8 | ✅ 原生支持 | 7 分钟 | Docker | ✅ 容器化部署 | 3 分钟 | macOS | ✅ Homebrew 安装 | 5 分钟 | Windows (WSL2) | ✅ WSL2 部署 | 7 分钟 | ## 快速开始 ### 方式一:VPS 一键部署(推荐) ``bash # Ubuntu/Debian/CentOS curl -fsSL https://raw.githubusercontent.com/SKY-lv/awesome-openclaw-skills/main/scripts/deploy.sh | bash # 部署完成后 openclaw gateway status ` ### 方式二:Docker 部署 `bash # 拉取镜像 docker pull skylv/openclaw:latest # 运行容器 docker run -d \ --name openclaw \ -p 8080:8080 \ -v ~/.openclaw:/root/.openclaw \ -e OPENCLAW_CONFIG=/root/.openclaw/config.json \ skylv/openclaw:latest # 查看日志 docker logs -f openclaw ` ### 方式三:本地开发环境 `bash # Node.js 环境(v18+ required) git clone https://github.com/openclaw/openclaw.git cd openclaw npm install npx openclaw gateway start # 验证安装 openclaw gateway status ` ## 部署流程 ### 1. 环境检测 `yaml checks: - nodejs: ">=18.0.0" - npm: ">=9.0.0" - git: installed - disk_space: ">=1GB free" - memory: ">=512MB free" - ports: "8080 available" ` ### 2. 依赖安装 `yaml dependencies: - openclaw (core) - openclaw-gateway (daemon) - openclaw-cli (command line) - optional: playwright (browser automation) - optional: puppeteer (headless Chrome) ` ### 3. 配置生成 `yaml config: - gateway.port: 8080 - gateway.host: 0.0.0.0 - session.timeout: 3600s - log.level: info - plugins: [] ` ### 4. 服务启动 `bash # 启动 Gateway openclaw gateway start # 设置开机自启 openclaw gateway enable # 验证状态 openclaw gateway status ` ## 环境要求 ### 最低配置 - CPU: 1 核 - 内存:512MB - 磁盘:1GB - 系统:Ubuntu 20.04+ / Debian 11+ / CentOS 7+ ### 推荐配置 - CPU: 2 核 - 内存:2GB - 磁盘:10GB SSD - 系统:Ubuntu 22.04 LTS ### 网络要求 - 开放端口:8080(HTTP)、443(HTTPS,可选) - 出站访问:GitHub、npm、技能市场 ## 故障排查 ### 常见问题 1. 端口被占用 `bash # 查看端口占用 lsof -i :8080 # 修改端口 openclaw config set gateway.port 8081 openclaw gateway restart ` 2. 内存不足 `bash # 查看内存使用 free -h # 优化配置 openclaw config set session.max_concurrent 5 ` 3. 依赖安装失败 `bash # 清理缓存 npm cache clean --force # 重新安装 npm install --legacy-peer-deps ` 4. Gateway 无法启动 `bash # 查看日志 openclaw gateway logs --tail 100 # 重置配置 rm ~/.openclaw/config.json openclaw gateway init ` ## 部署脚本 ### deploy.sh(Linux/macOS) `bash #!/bin/bash set -e echo "🦞 OpenClaw Quick Deploy" echo "========================" # 检测系统 if [ -f /etc/debian_version ]; then OS="debian" elif [ -f /etc/redhat-release ]; then OS="centos" else echo "❌ Unsupported OS" exit 1 fi # 安装 Node.js if ! command -v node &> /dev/null; then echo "📦 Installing Node.js..." curl -fsSL https://deb.nodesource.com/setup_20.x | bash - apt-get install -y nodejs fi # 安装 OpenClaw echo "📦 Installing OpenClaw..." npm install -g openclaw # 初始化配置 echo "⚙️ Initializing configuration..." openclaw gateway init # 启动服务 echo "🚀 Starting Gateway..." openclaw gateway start echo "✅ OpenClaw deployed successfully!" echo "📍 Access: http://localhost:8080" `` ## 相关文件 - OpenClaw 官方文档 - OpenClaw GitHub - awesome-openclaw-skills ## 触发词 - 自动:检测 deploy、install、setup、openclaw 相关关键词 - 手动:/openclaw-deploy, /quick-start, /install-openclaw - 短语:部署 OpenClaw、安装 OpenClaw、快速开始 ## Usage 1. Install the skill 2. Configure as needed 3. Run with OpenClaw Comments Sign in to comment. No comments yet.

数据来源ClawHub ↗ · 中文优化:龙虾技能库