Token导航 LogoToken导航TokenDH.com
效率需要联网clawhub未标认证来源可访问clear审计提醒

sub-agent-creator子 Agent 创建者

Agent Skill

sub-agent-creator 用于补充效率相关能力,适合在 OpenClaw 中需要让 Agent 承接效率相关任务时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

10,254

周安装

423

GitHub Stars

1

下载量

3,350
OpenClaw

安装说明

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

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

ClawHubOpenClaw
openclaw skills install sub-agent-creator

简介

该技能提供 OpenClaw 子代理的完整创建流程指导,包括配置与部署步骤。

  • 当用户要求新建 AI 助手或设置自动化代理时调用,输出标准化工作流说明。
  • 涵盖代理类型选择、权限分配与生命周期管理,适合开发者快速上手。
  • 安装前需确认是否有管理员权限以执行创建工作区与实体注册。
  • 输出为文本指引,不包含自动部署功能,需人工逐步执行。

SKILL.md

name
agent-creator
description
Full workflow for creating an OpenClaw Agent. Use when the user says 'create an agent', 'make a new agent', 'add a bot', or needs to set up a new AI assistant. Covers the complete setup process including (1) adding agent config and peer bindings to openclaw.json, (2) creating workspace directory with SOUL.md persona, (3) scaffolding required folders and files, (4) copying agent runtime configs from main, (5) restarting gateway to apply changes.

Agent Creator - OpenClaw Agent Setup Tool

Automates the full end-to-end flow for creating an OpenClaw Agent.

Trigger Phrases

Activate when user says things like:

  • "Create an agent"
  • "Make a new bot"
  • "Set up a new agent"
  • "Add an AI assistant"

Full Workflow

Step 1: Gather Information

Ask the user:

  1. Agent ID (lowercase, hyphens only): e.g. qisi, code-review, brainstorm
  2. Agent Display Name: e.g. "Brainstorm Buddy", "Code Reviewer"
  3. Purpose / Personality: What does this agent do? What's its style?
  4. Group Chat Binding (optional): peer.id of a group chat, e.g. oc_xxx (kind = group)
  5. Direct Chat Binding (optional): peer.id of a user, e.g. ou_xxx (kind = direct)

Step 2: Create Workspace Directory

OPENCLAW_DIR=~/.openclaw
mkdir -p $OPENCLAW_DIR/workspace-{agent_id}
mkdir -p $OPENCLAW_DIR/workspace-{agent_id}/memory
mkdir -p $OPENCLAW_DIR/workspace-{agent_id}/skills

Step 3: Write Workspace Files

Create the following files in the workspace directory:

  • SOUL.md — Agent persona (see template below)
  • USER.md — User info template
  • AGENTS.md — Session bootstrap instructions
  • HEARTBEAT.md — Heartbeat config
  • TOOLS.md — Tool notes
  • memory/ — Daily memory folder
  • IDENTITY.md — Agent identity definition (optional)
  • BOOTSTRAP.md — First-run bootstrap (optional)

AGENTS.md content (copied from ~/.openclaw/workspace/AGENTS.md):

# AGENTS.md - Your Workspace

If `BOOTSTRAP.md` exists, that's your birth certificate. Follow it, figure out who you are, then delete it.

## Every Session

Before doing anything else:

1. Read `SOUL.md` — this is who you are
2. Read `USER.md` — this is who you're helping
3. Read `memory/YYYY-MM-DD.md` (today + yesterday) for recent context
4. **If in MAIN SESSION** (direct chat with your human): Also read `MEMORY.md`

## Memory

You wake up fresh each session. These files are your continuity:

- **Daily notes:** `memory/YYYY-MM-DD.md` — raw logs of what happened
- **Long-term:** `MEMORY.md` — your curated memories

## Safety

- Don't exfiltrate private data
- When in doubt, ask.

HEARTBEAT.md content:

# HEARTBEAT.md

# Keep this file empty to skip heartbeat API calls.

TOOLS.md content:

# TOOLS.md - Local Notes

Notes specific to this agent's setup.

Step 4: Create Agent Runtime Directory

OPENCLAW_DIR=~/.openclaw
mkdir -p $OPENCLAW_DIR/agents/{agent_id}/agent
mkdir -p $OPENCLAW_DIR/agents/{agent_id}/sessions

Step 5: Copy Agent Config from Main

OPENCLAW_DIR=~/.openclaw
cp $OPENCLAW_DIR/agents/main/agent/models.json $OPENCLAW_DIR/agents/{agent_id}/agent/
cp $OPENCLAW_DIR/agents/main/agent/auth-profiles.json $OPENCLAW_DIR/agents/{agent_id}/agent/

If the main agent config files don't exist, warn the user and ask them to provide models.json and auth-profiles.json manually.

Step 6: Update openclaw.json

Back up first:

cp ~/.openclaw/openclaw.json ~/.openclaw/openclaw.json.bak

Read the current config and add the new agent to agents.list:

{
  "id": "{agent_id}",
  "name": "{agent_name}",
  "workspace": "~/.openclaw/workspace-{agent_id}",
  "agentDir": "~/.openclaw/agents/{agent_id}/agent"
}

Add bindings if provided. For group chat:

{
  "agentId": "{agent_id}",
  "match": {
    "channel": "feishu",
    "peer": {
      "kind": "group",
      "id": "{group_chat_id}"
    }
  }
}

For direct chat:

{
  "agentId": "{agent_id}",
  "match": {
    "channel": "feishu",
    "peer": {
      "kind": "direct",
      "id": "{user_id}"
    }
  }
}

Step 7: Install Skills (optional)

If the agent needs specific skills:

cp -r ~/.openclaw/skills/{skill-name} ~/.openclaw/workspace-{agent_id}/skills/

Step 8: Restart Gateway

openclaw gateway restart

Step 9: Verify & Report

Tell the user:

  • Agent has been created successfully
  • How to interact with it (@ in group chat, or DM)
  • How to customize it further (edit SOUL.md, add skills, etc.)

SOUL.md Template

# SOUL.md - {Agent Name}

_{One-line purpose}_

## Core Identity

**You are "{Agent Name}"** — {detailed description}

## Principles

- {principle 1}
- {principle 2}
- {principle 3}

## Style

- {style description}

---

_{Mission statement}_

Final Directory Structure

After creation, the layout should be:

~/.openclaw/
├── agents/
│   └── {agent_id}/
│       ├── agent/
│       │   ├── auth-profiles.json
│       │   └── models.json
│       └── sessions/
└── workspace-{agent_id}/
    ├── AGENTS.md
    ├── BOOTSTRAP.md (optional)
    ├── HEARTBEAT.md
    ├── IDENTITY.md (optional)
    ├── SOUL.md
    ├── TOOLS.md
    ├── USER.md
    ├── memory/
    └── skills/ (optional)

Important Notes

  • Workspace directory name should use the agent_id (English lowercase + hyphens), e.g. workspace-brainstorm
  • Agent ID must be lowercase alphanumeric with hyphens only
  • Group chat binding requires the bot to be manually added to the group (auto-join needs extra permissions)
  • Always back up openclaw.json before modifying
  • Always copy models.json and auth-profiles.json to the agents directory
  • Use the helper script scripts/agent_creator.py to automate the config and directory creation

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

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

04

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

能力 5

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

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

平台分布

OpenClaw

79.71%
按下载量换算2,670

安全审计

VirusTotal

可疑

ClawScan

通过

Static analysis

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

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

来源信息

继续浏览同类 Skills