Token导航 LogoToken导航TokenDH.com
运维只读clawhub未标认证来源可访问clear审计提醒

openclaw-team-builderOpenClaw team 构建器

Agent Skill

openclaw-team-builder 用于辅助前端页面、组件、样式和交互逻辑开发,适合在 OpenClaw 中需要维护前端项目、生成组件或检查界面实现时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

23,697

周安装

968

GitHub Stars

1

下载量

7,667
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:openclaw-team-builder(OpenClaw team 构建器)
来源仓库:https://github.com/eggyrooch-blip/openclaw-team-builder
安装命令:
openclaw skills install openclaw-team-builder
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install openclaw-team-builder

简介

openclaw-team-builder 管理 OpenClaw 代理团队组织。

  • 支持部署模板、健康检查与自动修复功能。
  • 通过 clawhub 安装,使用 openclaw skills install 命令部署。
  • 安装前需确认权限范围、维护状态及是否触发团队协作操作。
  • 适用宿主包括 OpenClaw,接入前应确认版本、权限和运行环境要求。

SKILL.md

name
openclaw-team-builder
description
>
Triggers
加个助手", "新增 Agent", "看看团队", "组织架构", "体检",
metadata
{"clawdbot":{"emoji":"🦞","os":["darwin","linux"],"requires":{"bins":["openclaw","python3"]}}}

OpenClaw Team Builder

Manage your AI agent team: add agents to any position in the org tree, deploy templates, run health checks, auto-fix issues, and rollback changes.

Setup

The script is at ~/.openclaw/skills/team-builder/scripts/team-builder.sh. It requires openclaw CLI and python3.

TB="bash ~/.openclaw/skills/team-builder/scripts/team-builder.sh"

All examples below use $TB as shorthand.

View Org Tree

# Human-readable tree
$TB --tree

# JSON output (for parsing)
$TB --tree --json

JSON output example:

{
  "main": {"name":"软软","emoji":"😘","role":"director","reports_to":null,"manages":["xingzheng"],"description":""},
  "xingzheng": {"name":"xingzheng","emoji":"🤖","role":"worker","reports_to":"main","manages":[],"description":""}
}

Add an Agent

# Full CLI mode (no prompts)
$TB --add \
  --id finance-lead \
  --name "小财-财务助手" \
  --emoji "💰" \
  --role "负责报销审核、预算管理、财务报表" \
  --parent main \
  --soul auto \
  --yes

# Use a built-in role template (auto-fills role description)
$TB --add \
  --id caiwu \
  --soul template:caiwu \
  --parent main \
  --yes

# With model override and feishu config
$TB --add \
  --id translator \
  --name "翻译官" \
  --emoji "🌐" \
  --role "负责中英文翻译" \
  --parent main \
  --model anthropic/claude-sonnet-4-6 \
  --feishu-app-id cli_xxx \
  --feishu-secret yyy \
  --yes

Parameters

ParameterRequiredDefaultDescription
--idYes-Agent ID (english, kebab-case)
--nameNosame as idDisplay name
--emojiNo🤖Agent emoji
--roleNo通用AI助手Role description for SOUL.md
--parentNomainParent agent ID in org tree
--soulNoautoauto, template:<key>, or skip
--modelNoinheritModel override
--feishu-app-idNo-Feishu bot App ID
--feishu-secretNo-Feishu bot App Secret
--yesNofalseSkip confirmation prompts

Soul modes

  • auto — Generate SOUL.md from role description + org relationships
  • template:<key> — Use built-in template (also sets name/emoji/role automatically)
  • skip — Keep OpenClaw default template

Goal-Driven Team Suggestion

Given a business goal, recommend the best team configuration from built-in templates.

# Get recommendation (human-readable)
$TB --suggest --goal "电商平台运营"

# JSON output (for AI Agent parsing)
$TB --suggest --goal "电商平台运营" --json

JSON output example:

{
  "goal": "电商平台运营",
  "matched_scenario": "ecommerce",
  "scenario_name": "电商团队",
  "recommended_agents": [
    {"id": "kefu", "template": "kefu", "reason": "处理客户咨询和售后"},
    {"id": "yunying", "template": "yunying", "reason": "运营数据分析和活动策划"}
  ],
  "deploy_commands": ["$TB --add --id kefu --soul template:kefu --parent main --yes", "..."],
  "total_agents": 4
}

Supported scenarios: ecommerce(电商), content(内容创作), devteam(研发), startup(创业), consulting(专业服务), solo(超级个体).

AI Agent Workflow: Creating a New Agent

When the user wants to add a new agent, follow these exact steps in order.

CRITICAL: Collect ALL info in ONE message. Do NOT use multi-step Q&A — session context may be lost between messages.

Step 1: Ask ONE compound question (all in a single message):

"好的!帮你创建新助手,请一次性告诉我: 1️⃣ 名字和 emoji(比如:小财 💰) 2️⃣ 核心任务(一句话,比如:负责报销和财务) 3️⃣ 自主级别:建议/执行/全自动 4️⃣ 语调:专业/亲切/简洁

比如:'小财 💰,负责报销和预算,全自动,简洁'"

If the user gives a short answer (e.g. "财务助手"), infer reasonable defaults:

  • name: 小财 emoji: 💰 role: 财务管理 level: 执行 tone: 专业

If the user gives partial info, fill in sensible defaults and proceed. Do NOT ask follow-up questions.

Step 2: Immediately construct and execute (do NOT use openclaw agents add directly):

$TB --add \
  --id <kebab-case-id> \
  --name "<name>" \
  --emoji "<emoji>" \
  --role "核心任务:<task>。自主级别:<level>。语调:<tone>" \
  --parent main \
  --soul auto \
  --yes

Then restart gateway:

openclaw gateway restart

The script automatically: creates agent, generates SOUL.md, configures agentToAgent, and binds to ALL enabled channels (Telegram, Discord, Feishu, WeChat, iMessage).

Step 3: Confirm to user (in the SAME response as execution):

"✅ <name> 已创建并加入团队!已自动绑定所有可用渠道。"

Then show the tree:

$TB --tree

Step 4: Channel configuration (in the SAME response):

After creation, check which channels the agent is missing:

$TB --channels --agent <id> --json

Then guide the user based on missing_channels:

"📡 <name> 缺少以下渠道:<missing_channels>

要配置独立的 bot 吗?

  • Telegram:请到 @BotFather 创建 bot,把 token 发给我
  • Discord:请到 Developer Portal 创建 bot,把 token 发给我
  • 飞书:请提供 App ID 和 App Secret
  • 不需要的话可以跳过。"

When user provides credentials:

# Telegram
$TB --channels --agent <id> --channel telegram --token <token> --yes

# Discord
$TB --channels --agent <id> --channel discord --token <token> --yes

# Feishu
$TB --channels --agent <id> --channel feishu --feishu-app-id <id> --feishu-secret <s> --yes

Then restart gateway:

openclaw gateway restart

IMPORTANT:

  • Always use $TB --add, never directly call openclaw agents add
  • Never split into multiple Q&A rounds — collect everything in one message
  • If user says something like "加个客服" — use the template: $TB --add --id kefu --soul template:kefu --parent main --yes
  • After --add, always show channel binding status and offer feishu config

Deploy Solo Template

Deploy the "Super Individual" team: 4 specialist agents under main (dev, design, content, data).

# Deploy with defaults
$TB --solo --yes

# Deploy with specific model
$TB --solo --model anthropic/claude-sonnet-4-6 --yes

# Skip SOUL generation
$TB --solo --soul skip --yes

Already-existing agent IDs are automatically skipped.

List Role Templates

# Human-readable
$TB --templates

# JSON
$TB --templates --json

Available templates: xingzheng(行政), caiwu(财务), hr(人力), kefu(客服), yunying(运营), falv(法务), neirong(内容), shuju(数据), jishu(技术)

Channel Management

View channel status, agent bindings, and add new bots for agents.

# List all channels and bindings
$TB --channels --json

# Filter by agent
$TB --channels --agent kefu --json

# Add a Telegram bot for an agent
$TB --channels --agent kefu --channel telegram --token <bot-token> --yes

# Add a Discord bot for an agent
$TB --channels --agent kefu --channel discord --token <bot-token> --yes

# Add a Feishu app for an agent
$TB --channels --agent kefu --channel feishu --feishu-app-id cli_xxx --feishu-secret yyy --yes

JSON output example:

{
  "channels": {
    "telegram": {"enabled": true, "type": "shared", "accounts": []},
    "feishu": {"enabled": true, "type": "per-agent", "accounts": ["main"]}
  },
  "agents": [
    {
      "id": "main", "name": "软软",
      "bindings": [{"channel": "telegram", "accountId": ""}],
      "missing_channels": ["feishu"]
    }
  ]
}

Channel Model

  • Each Agent can have its own bot (Telegram/Discord/Feishu etc.)
  • A shared bot can only bind to ONE agent
  • To have multiple agents on the same channel, each needs its own bot

How to create bots (guide the user):

  • Telegram: Talk to @BotFather on Telegram → /newbot → get token
  • Discord: Discord Developer Portal → New Application → Bot → Copy Token
  • Feishu: 飞书开放平台 → 创建应用 → 获取 App ID + App Secret

AI Agent Workflow: Channel Configuration

After creating an agent, check channel status and guide the user:

$TB --channels --agent <id> --json

If the agent has missing channels, ask the user:

"📡 <name> 目前缺少以下渠道绑定:<missing_channels>

要为 <name> 配置独立的 bot 吗?

  • Telegram:请先到 @BotFather 创建 bot,把 token 发给我
  • Discord:请到 Developer Portal 创建 bot,把 token 发给我
  • 飞书:请提供 App ID 和 App Secret

也可以跳过,之后随时用 --channels 配置。"

When the user provides credentials, execute:

# Telegram
$TB --channels --agent <id> --channel telegram --token <token> --yes

# Discord
$TB --channels --agent <id> --channel discord --token <token> --yes

# Feishu
$TB --channels --agent <id> --channel feishu --feishu-app-id <id> --feishu-secret <s> --yes

Then restart gateway and confirm:

openclaw gateway restart

Health Check

Scans for: gateway status, agentToAgent config, allow list completeness, SOUL.md presence, binding completeness, hierarchy file.

# Human-readable
$TB --checkup

# JSON
$TB --checkup --json

JSON output example:

{
  "checks": [
    {"name": "gateway", "status": "ok", "detail": null},
    {"name": "a2a_allow", "status": "warn", "detail": "缺失: xingzheng"}
  ],
  "issues": 1
}

Auto-Fix

Automatically fixes issues found by health check: restart gateway, enable agentToAgent, fill allow list, generate missing SOUL.md, add bindings, init hierarchy.

# Auto-fix (with confirmation)
$TB --fix

# Auto-fix (no prompts)
$TB --fix --yes

Team Status

Full overview: org tree, agent list, a2a config, bindings, SOUL.md line counts, backup count.

# Human-readable
$TB --status

# JSON (comprehensive)
$TB --status --json

Rollback

Every operation creates a backup. Rollback restores config, hierarchy, and SOUL.md files, and deletes agents created in that operation.

# Interactive rollback (pick from list)
$TB --rollback

# Rollback to most recent backup
$TB --rollback --index 1 --yes

Workflow Examples

"帮我加一个财务助手"

$TB --add --id caiwu --soul template:caiwu --parent main --yes

"看看团队现在什么状态"

$TB --status --json

"团队体检一下,有问题就修"

$TB --checkup --json
# If issues > 0:
$TB --fix --yes

"刚才加错了,撤回"

$TB --rollback --index 1 --yes

Notes

  • All write operations auto-backup before executing (max 5 backups kept)
  • Run openclaw gateway restart after changes to apply
  • The script preserves existing agents — never overwrites
  • TUI mode (no args) provides a full interactive menu for human use

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

93.7%
按下载量换算7,184

安全审计

VirusTotal

通过

ClawScan

可疑

Static analysis

未展示

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills