Install
openclaw skills install loci-brainMemory Palace for AI — persistent structured memory, identity, and task management across every conversation.
openclaw skills install loci-brainRun this check before doing anything else:
~/.loci/brain-path exists → read the path inside → verify plan.md exists there~/loci/plan.md existsplan.md. If status: template → run First-Time Setup. If status: active → brain is ready, skip to Daily UseThe user doesn't need to do anything. You handle it:
# Clone Loci brain template
git clone --depth 1 https://github.com/codesstar/loci.git ~/loci
# Remove git remote (user's data stays private)
cd ~/loci && git remote remove origin
# Register brain location
mkdir -p ~/.loci
echo "$HOME/loci" > ~/.loci/brain-path
After cloning, run First-Time Setup below. Tell the user:
When plan.md has status: template:
me/identity.md — name, role, current seasonplan.md — mission + focus as first goal (set status: active)tasks/active.md — first task from their focusBrain path: read from ~/.loci/brain-path, or default ~/loci/
At conversation start, read L1 files before responding:
plan.md — life directiontasks/active.md — current taskstasks/daily/YYYY-MM-DD.md — today's plan (if exists)inbox.md — recent items only| Signal | Destination |
|---|---|
| New task | tasks/active.md |
| Decision | decisions/YYYY-MM-DD-slug.md |
| Personal fact | me/identity.md |
| Insight / lesson | me/learned.md |
| Goal change | plan.md |
| Vague thought | inbox.md |
Factual → save silently in background, DO NOT make it the focus of your reply Subjective (values, strategy) → ask user first
| Layer | Load when | Contents |
|---|---|---|
| L1 | Every conversation | plan.md, active.md, today's daily, inbox (7 items) |
| L2 | On demand | me/ files, decisions, people |
| L3 | Never auto | Old journals, archive, evolution.md |
For detailed behavior rules, read docs/behavior.md in the brain directory.