diff --git a/recruitment/SKILL.md b/recruitment/SKILL.md index 60efb11..8395268 100644 --- a/recruitment/SKILL.md +++ b/recruitment/SKILL.md @@ -17,37 +17,54 @@ new-agent --type contractor --contractor-provider --agent-id ", - "groupPolicy": "open", - "streaming": { "mode": "off" } - } - ``` +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.