Instructions
Update one of the assistant's persistent memory markdown files.
Parameters
- •
target(string, required): Which file to update — one of:soul,identity,user,memory - •
content(string, required): The text to write - •
mode(string, optional):append(default) adds content to the end;replaceoverwrites the entire file
Target files
| target | File | Purpose |
|---|---|---|
soul | ~/.assistant/SOUL.md | Core personality, values, and behavioral truths |
identity | ~/.assistant/IDENTITY.md | Name, role, goals — the agent's structured identity |
user | ~/.assistant/USER.md | User profile: name, timezone, preferences |
memory | ~/.assistant/MEMORY.md | Curated long-term memory — important facts |
Behavior
- •
appendmode: adds\n<content>to the end of the file (creates if not exists) - •
replacemode: completely replaces the file withcontent - •Confirms the update with the path that was written
When to use
- •When the user updates their profile (name, timezone, preferences) → update
user - •When you learn something important to remember permanently → update
memory - •When the user adjusts your personality or behavior → update
soul - •After a significant project completes and context should persist → update
memory
Example interactions
- •"My name is Alice and I'm in Berlin timezone" → target: "user", mode: "append", content: "## User\n- Name: Alice\n- Timezone: Europe/Berlin"
- •"Always use metric units" → target: "soul", mode: "append", content: "\n- Use metric units in all responses"