Skills new-agent-setup
Set up a new OpenClaw agent from scratch. Use when Tom asks to create, add, or onboard a new agent. Covers everything: gathering requirements, Discord bot setup, openclaw.json configuration, Mission Control registration, heartbeat, cron, OneDrive access, and final verification.
install
source · Clone the upstream repo
git clone https://github.com/openclaw/skills
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/openclaw/skills "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/boltth/new-agent-setup" ~/.claude/skills/openclaw-skills-new-agent-setup && rm -rf "$T"
OpenClaw · Install into ~/.openclaw/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/openclaw/skills "$T" && mkdir -p ~/.openclaw/skills && cp -r "$T/skills/boltth/new-agent-setup" ~/.openclaw/skills/openclaw-skills-new-agent-setup && rm -rf "$T"
manifest:
skills/boltth/new-agent-setup/SKILL.mdsource content
New Agent Setup
Full step-by-step checklist: read
references/checklist.md in this skill folder.
Quick Overview (4 Phases)
Phase 1 — Gather information first (do not start config without these):
- Agent Name (capitalized, e.g. "Saul") → ID is lowercase ("saul")
- Role / domain
- Emoji for identity
- Discord Bot Token + Application ID (from developer.discord.com)
- Discord Channel ID (after channel is created by Tom)
Phase 2 — Manual steps by Tom (before any config):
- Create Discord bot in Developer Portal, invite to server
- Create Discord channel (lowercase agent name), move to "Agent Direct Lines" category
- Sync permissions with category, add bot user with all permissions set to Allow
- Prepare avatar image:
(transparent background)avatar-<agent-id>.png
Ask Tom before Phase 3:
- Should this agent have OneDrive access? Which libraries?
Phase 3 — Configuration (only after Tom confirms Phase 2 is done):
- Backup
openclaw.json - Add agent to
with identity + heartbeat blockagents.list[] - Add Discord account + channel routing + agent routing
- Gateway restart
mc register <agent-id> --role "<role>"- Create
with mc workflow (never leave empty!)HEARTBEAT.md - Add staggered cron job for
(check existing slots first)mc checkin - If OneDrive:
+ symlinks per librarymkdir workspace-<id>/onedrive - Save session key to
MEMORY.md - Send onboarding message via
(timeoutSeconds: 30)sessions_send
Phase 4 — Verify:
shows new agentmc fleet- Gateway status OK
- Crontab correct
- HEARTBEAT.md not empty
- OneDrive symlinks work + agent created own subfolder
- Tom can see file on his laptop
- Avatar copied to workspace
Key Rules
- Name: "Walt" → ID: "walt" → workspace:
→ avatar:workspace-waltavatar-walt.png - Heartbeat: once ANY agent has a
block, ALL agents need one explicitlyheartbeat - Cron slots: gus=0, walt=1, jesse=2, skyler=3, mike=4 → next agent gets minute 5
- OneDrive symlink points to
(not~/.openclaw/onedrive/<library>
)~/OneDrive/ - Never start config before Tom confirms Discord is set up