记忆宫殿

loci

by codesstar

Memory Palace for AI — persistent structured memory, identity, and task management across every conversation.

4.5k效率与工作流未扫描2026年3月23日

安装

claude skill add --url github.com/openclaw/skills/tree/main/skills/codesstar/loci-brain

文档

Loci — Memory Palace for AI

⚠️ FIRST: Check if brain exists

Run this check before doing anything else:

  1. Check if ~/.loci/brain-path exists → read the path inside → verify plan.md exists there
  2. If not, check if ~/loci/plan.md exists
  3. If neither exists → run Bootstrap below
  4. If found → read plan.md. If status: template → run First-Time Setup. If status: 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:

bash
# 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:

  1. Detect the user's language from their messages. Ask in that language.
  2. 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)
  3. Generate initial files from answers:
    • me/identity.md — name, role, current season
    • plan.md — mission + focus as first goal (set status: active)
    • tasks/active.md — first task from their focus
  4. 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 direction
  • tasks/active.md — current tasks
  • tasks/daily/YYYY-MM-DD.md — today's plan (if exists)
  • inbox.md — recent items only

Distillation — what to save where

SignalDestination
New tasktasks/active.md
Decisiondecisions/YYYY-MM-DD-slug.md
Personal factme/identity.md
Insight / lessonme/learned.md
Goal changeplan.md
Vague thoughtinbox.md

Factual → save silently in background, DO NOT make it the focus of your reply Subjective (values, strategy) → ask user first

Behavior

  1. Be a normal AI first, memory system second. When the user says something, RESPOND to it naturally (react, comment, ask follow-up, help). Saving to brain happens silently in background — never reply with just "记住了" or "已记录". The user should feel like talking to a smart friend who happens to have perfect memory, not a filing cabinet.
  2. Read brain files before answering questions about the user
  3. Distill conclusions, not raw conversations
  4. Archive, never delete
  5. Don't guess — ask if unsure
  6. Speak human — say "待办" not "inbox", never expose file paths
  7. MEMORY.md and brain/ coexist — don't move content between them unless asked

Context Layers

LayerLoad whenContents
L1Every conversationplan.md, active.md, today's daily, inbox (7 items)
L2On demandme/ files, decisions, people
L3Never autoOld journals, archive, evolution.md

For detailed behavior rules, read docs/behavior.md in the brain directory.

相关 Skills

技能工坊

by anthropics

Universal
热门

覆盖 Skill 从创建到迭代优化全流程:起草能力、补测试提示、跑评测与基准方差分析,并持续改写内容和描述,提升效果与触发准确率。

技能工坊把技能从创建、迭代到评测串成闭环,方差分析加描述优化,特别适合把触发准确率打磨得更稳。

效率与工作流
未扫描163.0k

PPT处理

by anthropics

Universal
热门

处理 .pptx 全流程:创建演示文稿、提取和解析幻灯片内容、批量修改现有文件,支持模板套用、合并拆分、备注评论与版式调整。

涉及PPTX的创建、解析、修改到合并拆分都能一站搞定,连备注、模板和评论也能处理,做演示文稿特别省心。

效率与工作流
未扫描163.0k

PDF处理

by anthropics

Universal
热门

遇到 PDF 读写、文本表格提取、合并拆分、旋转加水印、表单填写或加解密时直接用它,也能提取图片、生成新 PDF,并把扫描件通过 OCR 变成可搜索文档。

PDF杂活别再来回切工具了,文本表格提取、合并拆分到OCR识别一次搞定,连扫描件也能变可搜索。

效率与工作流
未扫描163.0k

相关 MCP 服务

文件系统

编辑精选

by Anthropic

热门

Filesystem 是 MCP 官方参考服务器,让 LLM 安全读写本地文件系统。

这个服务器解决了让 Claude 直接操作本地文件的痛点,比如自动整理文档或生成代码文件。适合需要自动化文件处理的开发者,但注意它只是参考实现,生产环境需自行加固安全。

效率与工作流
88.7k

by wonderwhy-er

热门

Desktop Commander 是让 AI 直接执行终端命令、管理文件和进程的 MCP 服务器。

这工具解决了 AI 无法直接操作本地环境的痛点,适合需要自动化脚本调试或文件批量处理的开发者。它能让你用自然语言指挥终端,但权限控制需谨慎,毕竟让 AI 执行 rm -rf 可不是闹着玩的。

效率与工作流
6.3k

by stickerdaniel

热门

LinkedIn Profile and Job Scraper 是让 Claude 直接抓取 LinkedIn 个人资料、公司信息和职位详情的工具。

这个服务器解决了招聘和商业调研中手动复制粘贴 LinkedIn 数据的痛点,适合猎头或市场分析师快速获取候选人背景和公司动态。不过,LinkedIn 反爬机制频繁更新,数据稳定性需要持续维护,使用时建议搭配人工验证。

效率与工作流
2.7k

评论