← 返回
未分类 中文

Openclaw Startup

First-run setup wizard for new OpenClaw agents. Interviews the user to generate a tailored SOUL.md, scaffolds memory architecture, installs recommended crons...
为新OpenClaw代理提供首次运行设置向导,采访用户生成定制SOUL.md,搭建内存架构,安装推荐定时任务。
zurbrick zurbrick 来源
未分类 clawhub v1.0.3 1 版本 100000 Key: 无需
★ 0
Stars
📥 425
下载
💾 0
安装
1
版本
#latest#onboarding#setup#wizard

概述

OpenClaw Startup

First-run setup wizard for new OpenClaw agents. Interviews the user, generates

tailored workspace files, scaffolds memory, installs operational crons, and

recommends companion skills.

Use when

  • setting up a new OpenClaw agent from scratch
  • onboarding a new user who just installed OpenClaw
  • resetting an agent workspace to a clean baseline
  • someone says "set up my agent" or "help me get started"

Do not use when

  • the agent is already configured and running (use openclaw-guide instead)
  • the user wants to change one specific config setting
  • the task is skill authoring (use skill-builder)
  • the task is security hardening of an existing agent (use agent-hardening)

Phases

Run these in order. Each phase confirms with the user before proceeding.

Phase 1 — Identity Interview

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, boundaries
  • USER.md — human's key details
  • IDENTITY.md — agent name, emoji, presentation
  • AGENTS.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.

Phase 2 — Memory Scaffolding

Run the install script to create the memory directory structure:

bash {baseDir}/scripts/install.sh

This creates:

  • memory/ directory with daily log structure
  • MEMORY.md — durable fact index
  • ACTIVE.md — current priorities tracker
  • memory/FUTURE_INTENTS.md — commitments and deferred actions
  • .learnings/ — error and learning capture (agent-memory-loop)

Phase 3 — Operational Crons

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:

  • Heartbeat (configurable frequency)
  • Workspace backup (daily)

Recommend if applicable:

  • Weekly memory consolidation
  • Session health watchdog
  • Security monitoring

Install only what the user approves. Use the OpenClaw cron tool directly.

Phase 4 — Security Baseline

Walk through the security checklist at references/security-baseline.md.

Key items:

  • Channel access controls (allowlist vs open)
  • Injection defense rules in SOUL.md
  • Escalation framework (green/yellow/red)
  • Tool restrictions for sub-agents

Phase 5 — Companion Skills

Recommend installing these skills based on the user's needs:

SkillWhen to recommendClawHub
-----------------------------------
cognitionAlways — memory architectureclawhub.com/skills/cognition
summarizeAlways — extract text/transcripts from URLs, videos, PDFsclawhub.com/skills/summarize
agent-hardeningIf the agent handles sensitive data or external channelsclawhub.com/skills/agent-hardening
openclaw-backupIf the user wants disaster recoveryclawhub.com/skills/openclaw-backup

Install via ClawHub if available:

clawhub install <skill-name>

Phase 6 — Verification

After setup, run a quick health check:

  • Verify all generated files exist and are non-empty
  • Verify crons are registered and have valid next-run times
  • Verify the agent can respond to a basic prompt
  • Show the user a summary of everything that was set up

Interview principles

  • Ask one question at a time — don't dump all 8 at once
  • Accept short answers — infer reasonable defaults from context
  • Show what you're generating before writing it
  • Never write to core files without user confirmation
  • Keep the tone conversational, not bureaucratic

References

  • references/interview-guide.md — the 8 identity questions with guidance
  • references/cron-recipes.md — recommended cron configurations
  • references/security-baseline.md — security checklist for new agents
  • references/placeholder-map.md — full mapping of interview answers → template placeholders + model recommendations

Assets (templates)

  • assets/soul-template.md — SOUL.md template with placeholders
  • assets/user-template.md — USER.md template
  • assets/identity-template.md — IDENTITY.md template
  • assets/agents-template.md — AGENTS.md starter
  • assets/heartbeat-template.md — HEARTBEAT.md starter

Scripts

  • scripts/install.sh — creates memory scaffolding and .learnings directory
  • scripts/verify.sh — post-setup health check

版本历史

共 1 个版本

  • v1.0.3 当前
    2026-03-30 23:09 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

ai-agent

Agent Browser

rez0
用于 AI 代理的浏览器自动化 CLI。当用户需要与网站交互(包括浏览页面、填写表单、点击按钮、截图等)时使用。
★ 851 📥 331,648
ai-agent

Self-Improving + Proactive Agent

ivangdavila
自我反思+自我批评+自我学习+自组织记忆。智能体评估自身工作、发现错误并持续改进。
★ 1,423 📥 326,232
it-ops-security

Openclaw Backup

zurbrick
为OpenClaw代理提供加密备份与恢复,采用两层归档:业务数据安全上传至云端,密钥使用age加密以供本地恢复。
★ 0 📥 741