Files
nexus/wiki/concepts/BOOTSTRAP.md
2026-04-17 09:34:39 +08:00

29 lines
1.1 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
---
title: "BOOTSTRAP.md"
type: concept
tags: [OpenClaw, Agent]
---
## 定义
BOOTSTRAP.md 是 OpenClaw workspace 中的首次启动引导文件,是一次性使用组件,使命是将全新 workspace 引导到"可正常使用"的状态。
## 职责
BOOTSTRAP.md 引导 Agent 完成以下初始化步骤:
1. 和用户聊几句,搞清楚 Agent 应该叫什么名字、是什么性格、用什么 emoji
2. 把结果写进 IDENTITY.md
3. 记录用户的基本信息到 USER.md
4. 一起打开 SOUL.md把真正的性格和边界写进去
5. 可选引导用户接入渠道WhatsApp、Telegram 等)
## 关键特性
- **一次性**:官方模板会要求 Agent 在完成初始化后把它删除
- 官方模板最后一句话:"Delete this file. You don't need a bootstrap script anymore — you're you now."
## 来源
- [[万字讲透OpenClaw🦞从"能用"到"真好用"的分水岭Workspace 深度解析]]
## 相关
- [[IDENTITY.md]]:初始化时创建的身份元数据
- [[USER.md]]:初始化时创建的用户画像
- [[SOUL.md]]:初始化时创建的的性格文档
- [[Workspace]]:包含 BOOTSTRAP.md 的工作台目录