← 返回 Skills 市场
multi-agent-deploy
作者
zhou19931993
· GitHub ↗
· v1.0.0
· MIT-0
175
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install multi-agent-deploy
功能描述
快速部署新的 assistant agent。当用户需要新增 agent 时自动创建,编号递增,沿用现有 workspace 和 agentDir 结构。使用场景:「新增一个 agent」、「创建 assistant2」、「加一个日常助手」等请求。
使用说明 (SKILL.md)
Multi-Agent Deploy 技能
自动创建新的 assistant agent,编号递增,沿用现有结构。
触发条件
当用户表达以下意图时使用:
- 「新增一个 agent」
- 「创建 assistant2」
- 「加一个日常助手」
- 「我需要第 X 个 assistant」
- 「再部署一个 agent」
使用方式
快速部署(默认)
直接运行部署脚本,自动检测下一个可用编号:
python3 /home/admin/.openclaw/workspace/skills/multi-agent-deploy/scripts/deploy-agent.py
脚本会自动:
- 检测当前最大的 assistant 编号
- 创建
workspace-assistantX工作空间(复制 SOUL.md、AGENTS.md、USER.md) - 创建
agents/assistantX/agent目录 - 更新
~/.openclaw/openclaw.json添加新 agent 配置
部署后操作
-
重启 Gateway 让新配置生效:
openclaw gateway restart -
可选:配置绑定 - 如需将新 agent 绑定到特定 channel,编辑
~/.openclaw/openclaw.json的bindings字段
目录结构
/home/admin/.openclaw/
├── agents/
│ ├── assistant/ # 原始模板
│ │ └── agent/
│ └── assistantX/ # 新创建的 agent
│ └── agent/
├── workspace-assistant/ # 模板工作空间
├── workspace-assistantX/ # 新创建的工作空间
│ ├── SOUL.md
│ ├── AGENTS.md
│ └── USER.md
└── openclaw.json # 自动更新配置
配置示例
新增的 agent 配置格式:
{
"id": "assistant2",
"name": "日常助手 2",
"workspace": "/home/admin/.openclaw/workspace-assistant2",
"agentDir": "/home/admin/.openclaw/agents/assistant2/agent",
"model": "dashscope/qwen3.5-plus"
}
自定义
如需自定义新 agent 的配置(名称、模型、绑定等),在运行脚本前说明:
- 「创建一个 research agent,用 qwen3-max 模型」
- 「新增 assistant3,绑定到 telegram」
否则默认沿用现有 assistant 的配置。
故障排查
问题:编号冲突
- 脚本会自动检测最大编号,不会覆盖现有 agent
问题:配置未生效
- 运行
openclaw gateway restart重启 Gateway
问题:工作空间已存在
- 脚本会提示警告,不会覆盖现有文件
安全使用建议
Before installing or running this skill: (1) Review and back up /home/admin/.openclaw/openclaw.json and any existing agent/workspace directories. (2) Confirm the template workspace (/home/admin/.openclaw/workspace-assistant) exists and contains expected files. (3) Note the script uses hard-coded /home/admin paths — run it as the account that owns that path or edit the script to use the correct home directory. (4) Inspect the included deploy-agent.py yourself (it’s short and readable) to verify it only does file operations you expect. (5) Because the skill’s source/homepage is unknown, exercise extra caution: run in a safe environment or test instance first, and ensure file permissions and ownership are appropriate before restarting the gateway.
功能分析
Type: OpenClaw Skill
Name: multi-agent-deploy
Version: 1.0.0
The skill bundle is designed to automate the deployment of additional assistant agents within the OpenClaw environment. The core logic in `scripts/deploy-agent.py` performs standard file system operations (creating directories, copying template files) and updates the local `openclaw.json` configuration file to register new agents. All actions are consistent with the stated purpose in `SKILL.md` and `README.md`, and no indicators of data exfiltration, malicious execution, or unauthorized persistence were found.
能力评估
Purpose & Capability
The name/description claim to create new assistants; the included script creates directories, copies template files, and updates /home/admin/.openclaw/openclaw.json — exactly what the skill says it will do. No unrelated credentials, network calls, or external services are requested.
Instruction Scope
SKILL.md instructs running the bundled Python script and restarting the Gateway; the script only touches files under /home/admin/.openclaw and the openclaw.json configuration. Minor incoherence: SKILL.md and README sometimes use ~/.openclaw while the script uses absolute /home/admin/.openclaw, which may fail or act on the wrong account if the operator's home is different.
Install Mechanism
No install spec is provided (instruction-only). A single bundled Python script is included and will run in-place — nothing is downloaded or installed automatically.
Credentials
The skill requests no environment variables or credentials. It writes to and updates configuration under /home/admin/.openclaw, which is proportionate to creating agents and is expected behavior for this purpose.
Persistence & Privilege
always is false and the skill is user-invocable. It does not request persistent platform privileges or modify other skills' settings. It does update the platform configuration file (openclaw.json), which is appropriate for its declared function.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install multi-agent-deploy - 安装完成后,直接呼叫该 Skill 的名称或使用
/multi-agent-deploy触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
快速部署新的 assistant agent,编号递增,沿用现有 workspace 和 agentDir 结构
元数据
常见问题
multi-agent-deploy 是什么?
快速部署新的 assistant agent。当用户需要新增 agent 时自动创建,编号递增,沿用现有 workspace 和 agentDir 结构。使用场景:「新增一个 agent」、「创建 assistant2」、「加一个日常助手」等请求。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 175 次。
如何安装 multi-agent-deploy?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install multi-agent-deploy」即可一键安装,无需额外配置。
multi-agent-deploy 是免费的吗?
是的,multi-agent-deploy 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
multi-agent-deploy 支持哪些平台?
multi-agent-deploy 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 multi-agent-deploy?
由 zhou19931993(@zhou19931993)开发并维护,当前版本 v1.0.0。
推荐 Skills