← 返回 Skills 市场
Agent Deployment
作者
mirowangl-ops
· GitHub ↗
· v1.0.0
· MIT-0
107
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install xiaozhua-agent-deployment
功能描述
AI Agent 部署与管理。在 WSL2/Linux 上安装 OpenClaw,配置 GitHub Copilot 认证,启动 Gateway,初始化 workspace(SOUL.md/USER.md/TASKS.md)。支持多 Agent 部署、端口配置、认证排错。使用场景:部署新 Agent、重启 Age...
使用说明 (SKILL.md)
Agent 部署
部署新 Agent(WSL2 + OpenClaw)
前置条件
- WSL2 已安装(需管理员权限:
wsl --install) - Ubuntu 发行版
安装步骤
# 1. 安装 nvm + Node.js(绕过 sudo)
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.3/install.sh | bash
source ~/.nvm/nvm.sh
nvm install 24
# 2. 安装 OpenClaw
npm install -g openclaw
# 3. 初始化
openclaw setup
# 4. GitHub Copilot 认证
openclaw login-github-copilot
# 注意:device code 每次超时就失效,可能需要多试几次
# 5. 配置模型和端口
# 编辑 ~/.openclaw/openclaw.json
# gateway.port: \x3CYOUR_PORT>(避免和主 Agent 冲突)
# model: github-copilot/claude-sonnet-4-20250514
# 6. 启动
openclaw gateway
启动已有 Agent
wsl -d Ubuntu
source ~/.nvm/nvm.sh
openclaw gateway
- 端口:\x3CYOUR_PORT>
- Token:
\x3CYOUR_TOKEN> - 浏览器打开 http://127.0.0.1:\x3CYOUR_PORT>
Workspace 初始化
新 Agent 上线后写入:
- SOUL.md — 身份、职责、性格
- USER.md — Lei 的信息和偏好
- TASKS.md — 任务清单
- COLLABORATION.md — 协作协议
常见问题
- device code 超时 — 每次生成新 code,快速在浏览器完成认证
- 端口冲突 — 改 openclaw.json 的 gateway.port
- config overwrite — Gateway 启动时可能重写配置,启动后检查端口是否正确
- 关机后重启 — 需要手动启动 WSL + Gateway,AI 没有管理员权限自动启动
安全使用建议
This skill appears to do what it says: install and run OpenClaw on WSL2 and guide you through Copilot authentication. Before running the commands: (1) inspect the remote install script instead of blindly piping to bash; view https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.3/install.sh first. (2) Verify the npm package 'openclaw' is the legitimate project you expect (check the package page or project repo). (3) Note that Copilot device-code authentication will produce tokens—confirm where tokens are stored and revoke them if needed. (4) The model string shown ("github-copilot/claude-sonnet-4-20250514") looks unusual (mix of vendor names); verify that this model identifier is correct for your OpenClaw configuration. If any of these checks fail or sources are unknown, avoid running the installer commands.
功能分析
Type: OpenClaw Skill
Name: xiaozhua-agent-deployment
Version: 1.0.0
The skill bundle provides standard, transparent instructions for deploying and configuring the OpenClaw agent on WSL2/Linux. It includes steps for installing Node.js via NVM, installing the OpenClaw CLI, and performing GitHub Copilot authentication. While it utilizes the 'curl | bash' pattern for NVM installation in SKILL.md, this is the official installation method for that tool and does not indicate malicious intent. No evidence of data exfiltration, unauthorized persistence, or prompt injection was found.
能力评估
Purpose & Capability
The name/description (Agent deployment and management on WSL2/Linux) matches the SKILL.md steps: install nvm/Node.js, install openclaw, run setup, perform GitHub Copilot auth, edit openclaw.json and start the gateway. All requested actions are coherent for deploying an agent.
Instruction Scope
Instructions limit actions to installing runtime (nvm/Node), installing/starting OpenClaw, editing ~/.openclaw/openclaw.json and creating workspace files (SOUL.md/USER.md/TASKS.md). There are no instructions to read or exfiltrate unrelated system files or environment variables.
Install Mechanism
This is an instruction-only skill (no install spec). The commands include piping a script from raw.githubusercontent.com into bash (nvm installer) and a global 'npm install -g openclaw'. raw.githubusercontent.com is a common host, but piping remote scripts and installing global npm packages have inherent risks—users should inspect scripts and confirm the npm package's provenance before running.
Credentials
The skill does not declare or require environment variables or external credentials in metadata. The SKILL.md legitimately requires interactive GitHub Copilot device-code authentication (expected for Copilot integration). There are no unrelated credential requests.
Persistence & Privilege
The skill does not request 'always' presence or any elevated persistent privileges. It documents that the user must manually start WSL and the gateway after reboot; no unexpected permanent modifications are instructed.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install xiaozhua-agent-deployment - 安装完成后,直接呼叫该 Skill 的名称或使用
/xiaozhua-agent-deployment触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release of agent-deployment.
- 提供详细的 AI Agent 部署与管理流程,适用于 WSL2/Linux 环境。
- 支持 OpenClaw 安装、GitHub Copilot 认证与多 Agent 配置,含端口与模型自定义。
- 包含部署新 Agent 和已有 Agent 的启动指引。
- 详述 workspace 初始化文档要求(SOUL.md、USER.md、TASKS.md、COLLABORATION.md)。
- 收录常见部署/认证/配置问题与解决方案。
元数据
常见问题
Agent Deployment 是什么?
AI Agent 部署与管理。在 WSL2/Linux 上安装 OpenClaw,配置 GitHub Copilot 认证,启动 Gateway,初始化 workspace(SOUL.md/USER.md/TASKS.md)。支持多 Agent 部署、端口配置、认证排错。使用场景:部署新 Agent、重启 Age... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 107 次。
如何安装 Agent Deployment?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install xiaozhua-agent-deployment」即可一键安装,无需额外配置。
Agent Deployment 是免费的吗?
是的,Agent Deployment 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Agent Deployment 支持哪些平台?
Agent Deployment 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Agent Deployment?
由 mirowangl-ops(@mirowangl-ops)开发并维护,当前版本 v1.0.0。
推荐 Skills