OpenClaw人人养虾:BOOTSTRAP.md 模板

张开发
2026/4/7 15:37:16 15 分钟阅读

分享文章

OpenClaw人人养虾:BOOTSTRAP.md 模板
BOOTSTRAP.md定义了 Agent首次创建或重置时执行的一次性引导流程。它用于收集必要信息、建立初始状态只在 Agent 初始化阶段执行。模板# BOOTSTRAP.md ## First-Time Setup ### Welcome Welcome the user and introduce yourself. Explain what you can help with. ### Collect Preferences Ask the user for their preferences: 1. Preferred language (Chinese / English / Auto-detect) 2. Communication style (formal / casual) 3. Notification preferences (immediate / batched) ### Initialize Profile Based on collected preferences: - Save language preference to USER.md - Configure response style - Set up notification schedule ### Confirm Setup Summarize the configuration and ask for confirmation. If confirmed, mark bootstrap as complete.工作机制Bootstrap引导流程仅在以下情况触发触发条件说明首次创建 Agent新 Agent 尚无配置手动重置执行openclaw agent reset标记未完成Bootstrap 状态未标记为完成Agent 首次启动 │ ├─ 检查 Bootstrap 状态 │ │ │ ├─ 未完成 → 执行 BOOTSTRAP.md │ │ │ │ │ ├─ 引导对话 │ │ ├─ 收集信息 │ │ ├─ 初始化配置 │ │ └─ 标记完成 │ │ │ └─ 已完成 → 跳过执行 BOOT.md │ └─ 开始正常对话一次性执行BOOTSTRAP.md 只执行一次除非手动重置。后续启动由 BOOT.md 处理。实际示例企业助手引导# BOOTSTRAP.md ## Welcome 你好我是你的企业智能助手。在开始之前我需要了解一些信息来更好地为你服务。 ## Setup Steps ### Step 1: 角色确认 请告诉我你的部门和角色 - 销售部 - 技术部 - 人事部 - 管理层 ### Step 2: 权限配置 根据你的角色我会配置相应的数据访问权限和工具。 ### Step 3: 常用功能 你最常需要哪些功能 - 数据查询和报表 - 客户管理 - 日程安排 - 文档处理 ### Step 4: 确认 我将根据以上信息配置你的专属助手。确认后即可开始使用。个人助手引导# BOOTSTRAP.md ## Welcome Hi! Im your personal AI assistant. Let me set things up for you. ## Quick Setup ### Language What language do you prefer for our conversations? ### Interests What topics are you most interested in? This helps me provide more relevant suggestions. ### Schedule Would you like me to send you daily summaries? If so, what time? ### Done Great! Everything is set up. You can change these settings anytime by saying 重新设置 or reconfigure.与 BOOT.md 的协作!-- BOOTSTRAP.md 收集信息 -- # BOOTSTRAP.md ## Setup Ask user for timezone preference and save to USER.md. !-- BOOT.md 每次使用信息 -- # BOOT.md ## Startup Read timezone from USER.md and adjust time-related responses.状态管理# 查看 Bootstrap 状态 openclaw agent bootstrap-status # 重置 Bootstrap会重新触发引导流程 openclaw agent reset-bootstrap # 跳过 Bootstrap openclaw agent skip-bootstrap重置影响重置 Bootstrap 会清除通过引导收集的配置信息。用户需要重新完成引导流程。最佳实践简洁友好— 引导步骤不超过 5 个避免用户疲劳提供默认值— 每个选项都有合理的默认选择允许跳过— 用户可以跳过引导后续再配置保存持久化— 收集的信息写入USER.md持久保存可重新触发— 用户随时可以通过命令重新引导《DeepSeek高效数据分析从数据清洗到行业案例》聚焦DeepSeek在数据分析领域的高效应用是系统讲解其从数据处理到可视化全流程的实用指南。作者结合多年职场实战经验不仅深入拆解DeepSeek数据分析的核心功能——涵盖数据采集、清洗、预处理、探索分析、建模回归、聚类、时间序列等及模型评估更通过金融量化数据分析、电商平台数据分析等真实行业案例搭配报告撰写技巧提供独到见解与落地建议。助力职场人在激烈竞争中凭借先进技能突破瓶颈实现职业进阶开启发展新篇。

更多文章