Create new OpenClaw agents for Arch's multi-agent system. Use this skill when asked to create, add, or set up a new OpenClaw agent, or when adding an agent to the system defined in ~/.openclaw/. Covers the full lifecycle: directory creation, workspace files (SOUL.md, IDENTITY.md, etc.), openclaw.json config, Telegram routing (bindings + groups + mention patterns), cron job creation with proper prompt engineering, and gateway restart. Includes hard-won lessons from building the Wire (News) agent — the first non-default agent in the system. Also use when modifying existing agent configs, adding cron jobs to agents, or debugging agent routing issues.
数据来源:ClawHub。 在 ClawSkills 查看
选择你使用的 Agent
方法一:命令行安装(推荐)
推荐(无需提前安装 clawhub)
npx clawhub@latest --dir ~/.claude/skills install claw-agent-creator-archit或使用 clawhub CLI(需提前安装)
clawhub --dir ~/.claude/skills install claw-agent-creator-archit⚠️ 需要 Node.js 18+,没有 Node?请使用下方方法二直接下载 ZIP。 安装 Node.js →
方法二:手动下载安装(无需 Node)
下载 ZIP,解压后将文件夹放到以下路径,重启 Agent 即可:
安装路径
~/.claude/skills/claw-agent-creator-archit/💡解压后将文件夹放到上方路径,重启 Agent 即可生效
--- name: claw-agent-creator-archit description: > Create new OpenClaw agents for Arch's multi-agent system. Use this skill when asked to create, add, or set up a new OpenClaw agent, or when adding an agent to the system defined in ~/.openclaw/. Covers the full lifecycle: directory creation, workspace files (SOUL.md, IDENTITY.md, etc.), openclaw.json config, Telegram routing (bindings + groups + mention patterns), cron job creation with proper prompt engineering, and gateway restart. Includes hard-won lessons from building the Wire (News) agent — the first non-default agent in the system. Also use when modifying existing agent configs, adding cron jobs to agents, or debugging agent routing issues. ---
Create and configure agents for Arch's OpenClaw multi-agent system at ~/.openclaw/.
archit, timezone America/Denver~/.openclaw/openclaw.json → agents.list[] for current roster~/.openclaw/implementation-docs/ for the Wire agent reference implementationBefore creating anything, clarify with Arch:
openclaw gateway stop
MANDATORY before editing openclaw.json or cron/jobs.json. The gateway actively writes to jobs.json (updating job state after each cron run). Editing while the gateway runs causes race conditions and data loss.
cp ~/.openclaw/openclaw.json ~/.openclaw/openclaw.json.backup.$(date +%Y%m%d%H%M%S)
mkdir -p ~/.openclaw/workspace-<agent_id>/memory
mkdir -p ~/.openclaw/agents/<agent_id>/agent
NEVER reuse agentDir across agents — causes auth/session collisions.
Use templates from assets/templates/ as starting points. Every agent needs:
| File | Purpose | Required | |------|---------|----------| | SOUL.md | Personality, role, responsibilities, behavioral modes | Yes | | IDENTITY.md | Quick-reference card (name, role, emoji) | Yes | | USER.md | About Arch (copy from any existing agent workspace) | Yes | | AGENTS.md | Workspace rules (boot sequence, memory, safety) | Yes | | HEARTBEAT.md | Periodic task checklist (or comment if disabled) | Yes |
SOUL.md is the most important file. Be specific about responsibilities. Include behavioral modes if the agent operates differently in different contexts (e.g., briefing mode vs chat mode).
Add to agents.list[]. See references/config-schema.md for all valid fields.
Minimal entry:
{
"id": "<agent_id>",
"name": "<Display Name>",
"workspace": "/home/archit/.openclaw/workspace-<agent_id>",
"agentDir": "/home/archit/.openclaw/agents/<agent_id>/agent",
"identity": { "name": "<Display Name>" }
}
Common additions:
"model" — Override the default model cascade. Exclude expensive models for worker agents."heartbeat": { "every": "0" } — Disable heartbeat for cron-only agents."groupChat": { "mentionPatterns": ["@", "@"] } — Enable @mentions in groups.Only ONE agent should have "default": true (currently Fossil). The default agent receives all unrouted messages.
THREE separate config changes are required. Missing any one causes silent failures. See references/telegram-routing.md for the full explanation.
channels.telegram.groups:```json "-100XXXXXXXXXX": { "requireMention": false } ```
bindings[]: ```json { "agentId": "
groupChat was added).Edit cron/jobs.json. Every cron job prompt MUST include:
``` FIRST: Resolve your Telegram group ID by running: jq -r '.bindings[] | select(.agentId == "
$(date '+%A, %B %d, %Y') after the preambletarget='' placeholder (resolved by the preamble)This self-healing pattern ensures cron jobs survive Telegram group ID migrations. See references/prompt-patterns.md for full patterns and references/telegram-routing.md for why this matters.
Critical: If copying files or prompts from another agent's workspace, grep for hardcoded paths and update them.
openclaw gateway start
Verify in logs:
agent registered: lane enqueue: lane=session:agent::... If messages to a Telegram group show skip: no-mention, the channels.telegram.groups config is missing (see references/bugs-and-pitfalls.md).
| File | When to Read | |------|-------------| | references/config-schema.md | When writing agent config or cron jobs | | references/telegram-routing.md | When setting up Telegram group routing | | references/prompt-patterns.md | When writing cron job prompts | | references/bugs-and-pitfalls.md | When debugging issues or before any config edit |
Starter templates for workspace files are in assets/templates/. Copy and customize per agent.
安装 OpenClaw Agent Creator 后,可以对 AI 说这些话来触发它
Help me get started with OpenClaw Agent Creator
Explains what OpenClaw Agent Creator does, walks through the setup, and runs a quick demo based on your current project
Use OpenClaw Agent Creator to create new OpenClaw agents for Arch's multi-agent system
Invokes OpenClaw Agent Creator with the right parameters and returns the result directly in the conversation
What can I do with OpenClaw Agent Creator in my developer & devops workflow?
Lists the top use cases for OpenClaw Agent Creator, with example commands for each scenario
将技能文件夹放到 ~/.claude/skills/claw-agent-creator-archit/ 目录(个人级,所有项目可用),或 .claude/skills/claw-agent-creator-archit/(项目级)。重启 AI 客户端后,用 /claw-agent-creator-archit 主动调用,或让 AI 根据上下文自动发现并使用。
OpenClaw Agent Creator 支持 Claude、Cursor、OpenClaw,可与这些 AI 平台无缝集成,扩展其能力。
OpenClaw Agent Creator 可免费安装使用。请查阅仓库了解许可证信息。
Create new OpenClaw agents for Arch's multi-agent system. Use this skill when asked to create, add, or set up a new OpenClaw agent, or when adding an agent to the system defined in ~/.openclaw/. Covers the full lifecycle: directory creation, workspace files (SOUL.md, IDENTITY.md, etc.), openclaw.json config, Telegram routing (bindings + groups + mention patterns), cron job creation with proper prompt engineering, and gateway restart. Includes hard-won lessons from building the Wire (News) agent — the first non-default agent in the system. Also use when modifying existing agent configs, adding cron jobs to agents, or debugging agent routing issues.
Automate my developer & devops tasks using OpenClaw Agent Creator
Identifies repetitive steps in your workflow and sets up OpenClaw Agent Creator to handle them automatically
OpenClaw Agent Creator 属于「Developer & DevOps」分类,该分类的技能帮助 AI 智能体在此领域执行专业任务。