Files
nexus/wiki/concepts/Workspace.md

67 lines
1.2 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: "Workspace"
type: concept
tags: [openclaw, workspace, configuration]
last_updated: 2026-04-14
---
# Workspace
OpenClaw中Agent的工作台目录决定Agent如何工作。
## 核心文件
### AGENTS.md
定义Agent的
- 岗位职责
- 行为边界
- 多Agent协调规则
### SOUL.md
定义Agent的
- 性格叙事
- 沟通风格
- 价值观和边界
### USER.md
固化用户的:
- 偏好设定
- 背景知识假设
- 常见任务
### TOOLS.md
声明工具的:
- 可用工具
- 使用原则
- 受限工具
### IDENTITY.md
结构化身份档案:
- 名字
- 角色类型
- Emoji
- 头像
### BOOTSTRAP.md
一次性启动引导,完成后应删除。
### memory/
长期记忆目录:
- 按日期滚动的记忆笔记
- 实现跨会话上下文保留
## 配置要点
1. **边界比能力更重要**:明确"不要做什么"
2. **场景触发优于通用指令**:具体场景下的具体规则
3. **简洁有效**300-500字的AGENTS.md比2000字的更有效
## 与openclaw.json的关系
- Workspace文件管"Agent平时怎么干活"
- openclaw.json管"系统怎么跑Agent"
## 相关概念
- [[OpenClaw]]
- [[AGENTS.md]]
- [[SOUL.md]]