--- name: recruitment description: Onboard new agents into OpenClaw. Use when creating a new agent, adding an agent to the system, or setting up a new agent workspace. Triggers on requests like "new agent", "add agent", "create agent", "recruit agent", "onboard agent". --- # Recruitment Skill Onboard new agents into OpenClaw with binding configuration. ## Usage ```bash new-agent --type openclaw --agent-id [--model ] new-agent --type contractor --contractor-provider --agent-id ``` ## Workflow When a request to create a new agent is received, follow this workflow: ### Step 1 — Gather Requirements Communicate with the requester to collect the following: - New agent's `agent-id` - New agent's primary model (`--model`) - New agent's role and position - Whether the agent is a contractor agent (default: not a contractor) ### Step 2 — Create Agent Execute `{baseDir}/scripts/new-agent` with the gathered parameters: ```bash # openclaw type new-agent --type openclaw --agent-id --model # contractor type new-agent --type contractor --contractor-provider --agent-id ``` ### Step 3 — Interview Use the `create-discussion-channel` tool to start an interview with the new agent: - Participant: `interviewee` - Discussion guide: "`<@{ego-mgr get discord-id}>`请参考{baseDir}/workflow/interview.md" After receiving the discussion callback, review the discussion summary: - If it contains the agent's **name** and **gender** → proceed to Step 4 - If either field is missing → attempt to gather the missing information via another `create-discussion-channel` call - If still unavailable → notify the requester and proceed without it ### Step 4 — Onboard Use `proxy-pcexec` to call `{baseDir}/scripts/onboard`: - `proxy-for`: new agent's `agent-id` - Parameters: `--name`, `--role`, `--position`, `--gender`, `--bot-token` ### Step 5 — Report Notify the requester that onboarding is complete. ## Scripts ### new-agent Creates and registers the agent, then configures the `interviewee` Discord account binding. ### onboard Sets up ego-mgr identity fields and configures the agent's Discord account using the name/gender collected during interview.