AI Agent Hub
Back to skills
OpenClaw Agent Standard Creation Flow icon

OpenClaw Agent Standard Creation Flow

AI Agent Updated 2026.08.29

Paste the following prompt into your AI chat to install this skill:

Please install @user_9a8c35a0/x-creat-agent following the instructions at https://skillhub.cn/install/skillhub.md.

About this skill

Problem

Creating an OpenClaw agent usually involves scattered steps: directory setup, workspace files, openclaw.json registration, and Feishu binding. Manual configuration can miss routes or use wrong paths. x-create-agent standardizes this workflow.

How It Works

  • Stepwise collection: asks for agent_id, name, description, Feishu AppID, and AppSecret one item at a time.
  • Path discovery: checks OPENCLAW_HOME, then searches upward from the script or binary directories, falling back to common install paths or interactive input.
  • Pre-create confirmation: shows the agent directory, workspace directory, and config directory before the user confirms with y.
  • Registration and pairing: creates agents/<agent_id>/agent/ and workspace files, adds the agent to agents.list and tools.agentToAgent.allow, and optionally writes channels.feishu.accounts[] and bindings.
  • Feishu backfill: supports pair-feishu for adding credentials and routing after initial creation.

Boundaries

It is focused on setup and configuration initialization, not business content generation. Workspace files are rendered from templates plus user-provided information. If Feishu details are skipped, they must be completed later, and duplicate binding should be avoided when the create flow already wrote them.

Use Cases

  • Set up a support agent in an OpenClaw multi-agent workspace by creating its directories and registering openclaw.json.
  • Add a Feishu app to a newly created agent by writing bot credentials and route bindings during setup.
  • Backfill Feishu pairing after creating an agent by appending credentials and bindings with pair-feishu.
  • Locate an OpenClaw config directory without OPENCLAW_HOME and generate standard workspace files after confirmation.

Best For

  • OpenClaw multi-agent engineers who need consistent agent creation and openclaw.json registration.
  • Platform engineers wiring Feishu bots who need to write AppID/AppSecret and route bindings during setup.
  • Developers initializing agent templates who need standard files such as SOUL.md, AGENTS.md, and USER.md.
  • Ops engineers deploying agents without OPENCLAW_HOME who need path discovery and manual confirmation.