Files
nexus/wiki/concepts/USER.md.md
2026-04-22 16:03:25 +08:00

31 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-Profile]
sources: [万字讲透openclaw-workspace深度解析-2026-03-21]
last_updated: 2026-03-21
---
## Definition
**USER.md** 是 OpenClaw workspace 中用于固化**用户画像与偏好**的文档。它的核心作用是把反复要交代的信息(职业、使用场景、偏好设定)沉淀成默认背景,避免每次对话都重新说明。
## 应包含的内容
- **基本信息**:职业、主要使用场景、常用语言
- **偏好设定**:回答风格、代码偏好、内容偏好、不喜欢的行为
- **常见任务**:使用频率最高的任务类型
- **背景知识假设**:用户已掌握的技术栈和工具
## 与 SOUL.md 的协同效应
SOUL.md 定义 Agent 的性格USER.md 定义用户的性格。两者放在一起,相当于在 Agent 脑子里预装了一份"人机关系的基本共识"。
类比SOUL.md 是新来助理的个人简历USER.md 是 HR 给助理写的"关于你的上司,你需要提前知道的事"。两者都读完了,第一天上班才不会尴尬。
## Related Concepts
- [[SOUL.md]] — Agent 性格档案,共同定义人机关系
- [[OpenClaw]] — USER.md 所属的框架