Universal Brain Skill — AI skill for Claude Code
通用 AI 大脑:私有同步中枢,让所有主流大模型共用记忆与项目知识 Universal Brain: a vendor-neutral personal memory interface — one private repo as the source of truth, shared by all major AI models.
How to install Universal Brain Skill
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open W3967/universal-brain-skill and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Universal Brain Skill does
通用 AI 大脑:私有同步中枢,让所有主流大模型共用记忆与项目知识 Universal Brain: a vendor-neutral personal memory interface — one private repo as the source of truth, shared by all major AI models.
Alternatives in AI
- Cursor Tools — by eastlondoner - Creates a versatile AI command interface supporting multiple providers and models with flexi 4.7k ★
- Obsidian + Claude Code: Rebuild Your Second Brain With AI — Build an AI-powered personal knowledge management system from scratch 540 ★
- EasyCode — Easy Code (formerly DeepV Code) — A highly customizable AI coding assistant compatible with all major AI model 421 ★
README
Universal Brain
[](https://github.com/W3967/universal-brain-skill/actions/workflows/check.yml)
一套供应商中立的个人记忆接口标准。私有仓库是唯一事实源,各家 AI 按同一套规矩来读。
[English](#english)
多模型并用的人都有同一个问题:每换一个模型、每开一个新会话,就得重新交代一遍自己是谁、在做什么、有什么偏好。
主流做法是给每家单独做对接 —— 越做越乱,每加一个模型就要改一次结构。
**这个项目反过来做:只把大脑这一侧定成稳定的标准。** 谁想接就照着接,规则不为任何一方单独改。
它在哪儿跑得最好
这个 skill 里真正需要持续算力的活儿只有三件:每日同步、快照生成、L1 准入检查。它们都要一个能定时醒来、有 Python、能碰 GitHub 的地方。
**有云端算力的应用(推荐)**:主写者 / 直连只读档。同步、检查、快照全自动走,手机只管读结果。
**纯本地应用(比如手机 App)**:本地副本 / 文件导入档。手机系统会杀后台、没有常驻定时任务,同步只能手动,跑 `sync.py` 也得找台电脑。能接,但新鲜度差一截。
**纯聊天窗口**:粘贴导入档。连文件系统都不需要,复制粘贴就能接,只是全手动。
一句话:**云端跑全套,本地走低档,聊天窗口也能接。** 五档就是为了这个——环境越弱,档位越低,但不断线。
它包含什么
| 产物 | 解决什么问题 |
|---|---|
| 分级矩阵 | 每个文件是什么级别、能不能外发、谁能写 |
| 验收判据 | 什么样才算"真的接通了",而不是"读过一遍" |
| 口径表 | 文档里每个数字从哪来 |
这三个都是接口的一部分,不需要口头补充。
核心设计
1. 分级写在进入的时候
三级分档,判定只有一句话:**这条内容能不能发给任意一个接入方?**
- L1 —— 能。全量可外发,进了就出。
- L2 —— 要挑人挑段。进仓,但进快照受白名单约束。
- L3 —— 不能。只存本地,永不进仓。
关键在于:**防护放在内容进入的时候,不放在离开的时候。** L1 文件的准入标准等于外发标准,写入前先分类,不指望导出时脱敏来补救。
关键词表拦得住密钥和证件号,拦不住"城市 + 学校 + 届别 + 年龄"这种组合起来才成立的可识别信息。
2. 按能力分档,不按名字分档
五个档位:主写者 / 直连只读 / 本地副本 / 文件导入 / 粘贴导入。
档位描述"这个接入方能做到什么",不描述"它是哪家产品"。明天出一家新模型,先测能力、再入档。
降低档位不是失败:数据不迁移、格式不改,只是新鲜度、操作次数和覆盖范围不同。**但覆盖范围必须让接入方自己知道** —— 否则它会自信地谈论自己没收到的文件。
3. 判据与答案分离
验收题库只写判据结构,真实答案存在**答案键**里(L2,不进快照、不随文档分发)。
判据进接口,答案进仓库。两者混在一起,题库半年就会腐烂 —— 因为项目版本号、状态这类事实一直在变。
五类题:身份称呼 / 项目现状 / 个人偏好 / 边界规矩 / **边界感知**。
最后一类是重点:接入方是否主动声明自己读的是哪一版、第几档、覆盖到哪、边界外不作臆断。
4. 每个数字都要有出处
文件数、字数、索引条数一律由工具生成,不手写。
同一份文档里两个手写数字对不上,读者会开始怀疑所有数字。
快速开始
git clone https://github.com/W3967/universal-brain-skill.git
cp -r universal-brain-skill/templates/brain/* /
cd
# 去掉模板后缀,让它们成为真正的文件
find . -name '*.md.template' -exec sh -c 'mv "$1" "${1%.template}"' _ {}
Related Skills
LLM Adapter Kit
A universal TypeScript library for interacting with multiple LLM providers through a unified interface. Suppor
AI Ad Prompt Guide
Universal prompting framework for AI video and image generation — works across all major models. ---
Devo
Model-neutral agent desktop/runtime for private, enterprise, and OpenAI-compatible / Anthropic-compatible mode
Enfold
Enfold. Every memory enfolds the whole. Local, private long-term memory for AI agents: one SQLite brain shared
Tedd
🧠 Persistent local memory for AI coding agents: a private knowledge graph, MCP server, and Obsidian view for
Feizaolibrary
适配 Obsidian 的 AI native 脑库 · 私人书库 / 个人信息库 / AI 日记 / 个人画像 / 心理测评。An AI-native second brain skill for Obsidian:
Related Agents
Wp Knowledge Curator
The team's teacher. Turns every reported mistake, QA finding and newly verified Elementor key into lasting kno
Brainstem Copilot.Agent
One native Copilot chat with both Brainstem and Brain Surgeon. Address either by name to use capabilities or t
Personal Ingest
Ingests personal/private material — meeting notes (Granola, pasted, hand-summarized), voice memos (.opus / .m4