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

40 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: "USER.md"
type: concept
tags: [OpenClaw, Agent]
---
## 定义
USER.md 是 OpenClaw workspace 中的用户画像与偏好固化文件,作用是将用户反复要说的偏好沉淀为默认背景。
## 职责
- 固化用户基本信息(职业、使用场景、常用语言)
- 定义用户偏好设定(回答风格、代码偏好、内容偏好)
- 记录用户不喜欢的行为(被反问太多次、过度解释)
- 列举用户常见任务类型
- 说明背景知识假设
## 典型结构
```markdown
# 用户档案
## 基本信息
- 职业:独立开发者 / 内容创作者
- 主要使用场景:代码工具、内容写作、项目管理
## 偏好设定
- 回答风格:简洁直接,避免废话
- 代码偏好TypeScript / Python
## 不喜欢
- 被反问太多次、过度解释已经懂的概念
```
## 与 SOUL.md 的协同
SOUL.md 定义 Agent 的性格USER.md 定义用户的性格。两者放在一起,相当于在 Agent 的脑子里预装了一份"这个人机关系的基本共识"。
## 来源
- [[万字讲透OpenClaw🦞从"能用"到"真好用"的分水岭Workspace 深度解析]]
## 相关
- [[SOUL.md]]Agent 性格档案
- [[Workspace]]:包含 USER.md 的工作台目录