Back to Registry
View Author Profile
Official Verified
loci
Memory Palace for AI — persistent structured memory, identity, and task management across every conversation.
skill-install — Terminal
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/codesstar/loci-brainOr
Loci — Memory Palace for AI
⚠️ FIRST: Check if brain exists
Run this check before doing anything else:
- Check if
~/.loci/brain-pathexists → read the path inside → verifyplan.mdexists there - If not, check if
~/loci/plan.mdexists - If neither exists → run Bootstrap below
- If found → read
plan.md. Ifstatus: template→ run First-Time Setup. Ifstatus: active→ brain is ready, skip to Daily Use
Bootstrap (auto-install for new users)
The 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:
- "我在帮你设置记忆系统,只需要回答几个问题。"
First-Time Setup
When plan.md has status: template:
- Detect the user's language from their messages. Ask in that language.
- Ask these questions (can ask all at once):
- What's your name?
- What do you do? (Developer / Designer / Creator / Student / Other)
- What's your most important focus right now?
- What hours do you usually work? (Morning / Daytime / Evening / Night owl / Irregular)
- Preferred language? (English / 中文 / Mix)
- Generate initial files from answers:
me/identity.md— name, role, current seasonplan.md— mission + focus as first goal (setstatus: active)tasks/active.md— first task from their focus
- Done. Say: "Your brain is ready. From now on, I'll remember the important things."
Daily Use
Brain 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
Distillation — what to save where
| 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
Behavior
Metadata
AI Skill Finder
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skill Add to Configuration
Paste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-codesstar-loci-brain": {
"enabled": true,
"auto_update": true
}
}
}Safety NoteClawKit audits metadata but not runtime behavior. Use with caution.