First-run setup wizard for new OpenClaw agents. Interviews the user, generates tailored workspace files, scaffolds memory, installs operational crons, and recommends companion skills.
openclaw-guide instead)skill-builder)agent-hardening)Run these in order. Each phase confirms with the user before proceeding.
Resuming a partial setup: Before starting the interview, check if any of
SOUL.md, USER.md, or IDENTITY.md already exist. If they do, show the user
what's already configured and ask: "Want to pick up where we left off, start fresh,
or keep these and skip to memory setup?" Respect their choice.
Ask the user 8 questions to understand who they are and what the agent should do.
Use the interview guide at references/interview-guide.md.
From the answers, generate:
SOUL.md — agent identity, personality, tone, boundariesUSER.md — human's key detailsIDENTITY.md — agent name, emoji, presentationAGENTS.md — customized from assets/agents-template.md with principles
tailored to the user's main job (Q4) and communication style (Q5)Show the user the generated files and ask for approval before writing.
Run the install script to create the memory directory structure:
bash
bash {baseDir}/scripts/install.sh
This creates:
memory/ directory with daily log structureMEMORY.md — durable fact indexACTIVE.md — current priorities trackermemory/FUTURE_INTENTS.md — commitments and deferred actions.learnings/ — error and learning capture (agent-memory-loop)Review recommended crons with the user. See references/cron-recipes.md.
If openclaw CLI is not available: Skip cron installation. Instead, show the user
the recommended cron configs from references/cron-recipes.md and explain they can
install them later once OpenClaw is set up. Proceed to Phase 4.
If openclaw CLI is available:
Always recommend:
Recommend if applicable:
Install only what the user approves. Use the OpenClaw cron tool directly.
Walk through the security checklist at references/security-baseline.md.
Key items:
Recommend installing these skills based on the user's needs:
SkillWhen to recommendClawHubcognitionAlways — memory architectureclawhub.com/skills/cognitionsummarizeAlways — extract text/transcripts from URLs, videos, PDFsclawhub.com/skills/summarizeagent-hardeningIf the agent handles sensitive data or external channelsclawhub.com/skills/agent-hardeningopenclaw-backupIf the user wants disaster recoveryclawhub.com/skills/openclaw-backup
Install via ClawHub if available:
bash
clawhub install <skill-name>
After setup, run a quick health check:
references/interview-guide.md — the 8 identity questions with guidancereferences/cron-recipes.md — recommended cron configurationsreferences/security-baseline.md — security checklist for new agentsreferences/placeholder-map.md — full mapping of interview answers → template placeholders + model recommendationsassets/soul-template.md — SOUL.md template with placeholdersassets/user-template.md — USER.md templateassets/identity-template.md — IDENTITY.md templateassets/agents-template.md — AGENTS.md starterassets/heartbeat-template.md — HEARTBEAT.md starterscripts/install.sh — creates memory scaffolding and .learnings directoryscripts/verify.sh — post-setup health check