USER.md is the optional user-model artifact in an agent workspace. It stores stable preferences, communication style, relationships, and active-project context as directives that can guide future sessions.
OpenClaw loads USER.md beside MEMORY.md at session start. It has a separate small bootstrap budget, and edits are picked up on later turns in a long-lived session. If the file is absent, startup continues without it.
Write directives, not observations
Each entry has a metadata line followed by one imperative directive:- Begin with an imperative such as
Always,Never, orPrefer. - Record the date the preference was observed.
- Use only
activeorsupersededfor status. - Keep one behavioral instruction per directive.
- Store only details that improve assistance. Do not turn the file into a dossier.
Supersede in place
When a preference changes, update its existing section. Do not append a second active directive elsewhere in the file. Before:Choose the right file
Keep it compact
USER.md has a deliberately smaller bootstrap budget than general workspace files. When it becomes crowded, remove stale superseded entries and move project detail that does not alter behavior into daily memory or MEMORY.md.