@GitHub_Daily: 平时收藏了一堆文章和论文,全堆在笔记软件里吃灰,从来没整理过。 second-brain 的思路是让 AI 来当图书管理员,我们只管把素材扔进 raw 文件夹。 AI 读完会自动把内容写成一篇篇结构化的 Wiki,页面之间带双链,索引也替…
摘要
Second Brain 是一个基于LLM的个人知识库工具,自动将原始素材整理成结构化的Wiki,支持Obsidian浏览和Agent集成。
查看缓存全文
缓存时间: 2026/07/03 06:31
平时收藏了一堆文章和论文,全堆在笔记软件里吃灰,从来没整理过。
second-brain 的思路是让 AI 来当图书管理员,我们只管把素材扔进 raw 文件夹。
AI 读完会自动把内容写成一篇篇结构化的 Wiki,页面之间带双链,索引也替我们维护好。
GitHub:http://github.com/NicholasSpisak/second-brain…
整理好的库直接用 Obsidian 打开,双链跳转、关系图谱都正常用,还能对着整个库提问。
配套有个健康检查命令,索引乱了、双链断了都能查出来顺手修掉。
提供封装好的 Skill,可安装到 Claude Code、Codex、Cursor 等 Agent 工具使用。
NicholasSpisak/second-brain
Source: https://github.com/NicholasSpisak/second-brain
Second Brain
An LLM-maintained personal knowledge base built on the LLM Wiki pattern. Drop raw sources into a folder, let the LLM compile them into a structured wiki, and browse it all in Obsidian.

How It Works
You feed raw material (articles, papers, notes, transcripts) into a raw/ folder. The LLM reads everything, writes structured wiki pages, creates cross-references, and maintains an index. You browse the results in Obsidian — following links, exploring the graph view, and asking questions.
The LLM is the librarian. You’re the curator.
Prerequisites
- Obsidian — the markdown editor you’ll browse your wiki in
- An AI coding agent — Claude Code, Codex, Cursor, Gemini CLI, or any agent that supports Agent Skills
- Node.js — required for installing the skills via npm
Install
npx skills add NicholasSpisak/second-brain
This installs four skills into your AI agent (Claude Code, Codex, Cursor, Gemini CLI, and 40+ others):
| Skill | What it does |
|---|---|
/second-brain | Set up a new vault (guided wizard) |
/second-brain-ingest | Process raw sources into wiki pages |
/second-brain-query | Ask questions against your wiki |
/second-brain-lint | Health-check the wiki |
Quick Start
- Install the skills (see above)
- Run the wizard: type
/second-brainin your AI agent — it walks you through naming, location, domain, and tooling - Install Web Clipper: Obsidian Web Clipper — configure it to save to your vault’s
raw/folder - Open in Obsidian — launch Obsidian, choose “Open folder as vault”, select your vault folder
- Clip your first article to
raw/, then run/second-brain-ingest— the LLM will discuss key takeaways and build wiki pages - Browse your wiki in Obsidian — follow
[[wikilinks]], explore the graph view, checkwiki/index.md - Keep going —
/second-brain-queryto ask questions,/second-brain-lintto health-check
What You Get
your-vault/
├── raw/ # Your inbox — drop sources here
│ └── assets/ # Images and attachments
├── wiki/ # LLM-maintained wiki
│ ├── sources/ # One summary per ingested source
│ ├── entities/ # People, orgs, products, tools
│ ├── concepts/ # Ideas, frameworks, theories
│ ├── synthesis/ # Comparisons, analyses, themes
│ ├── index.md # Master catalog of all pages
│ └── log.md # Chronological operation record
├── output/ # Reports and generated artifacts
└── CLAUDE.md # Agent config (varies by agent)
Optional Tools
The wizard offers to install these. All optional but recommended:
- summarize — summarize links, files, and media from the CLI
- qmd — local search engine for markdown files (useful as wiki grows)
- agent-browser — browser automation for web research
FAQ
The wizard failed or I need to re-run setup.
Run /second-brain again — the onboarding script is idempotent. It won’t overwrite existing files, so your data is safe. If you need a fresh start, delete the vault folder and re-run.
I accidentally modified a file in raw/.
That’s OK. The wiki was built from the original content. If you need the original back, check your git history (if the vault is a git repo) or re-clip the source. The wiki pages are unaffected.
wiki/index.md is out of sync with actual pages.
Run /second-brain-lint — it checks index consistency and offers to fix mismatches.
Wikilinks are broken after renaming a page.
Run /second-brain-lint — it scans for broken [[wikilinks]] and reports which files need updating.
The wiki is getting large and queries are slow.
Install qmd (npm i -g @tobilu/qmd). The query skill uses it automatically when available. It provides fast hybrid search across your wiki files.
Can I use this with multiple AI agents? Yes. The wizard generates config files for each agent you select. They all follow the same wiki schema, so multiple agents can work on the same vault.
How do I handle images in clipped articles?
In Obsidian, set Settings → Files and links → Attachment folder path to raw/assets/. After clipping an article, use “Download attachments for current file” to save images locally.
How often should I lint? After every 10 ingests or monthly — whichever comes first. Also run it before any major query or synthesis work.
Based On
- Andrej Karpathy’s LLM Wiki pattern
- Agent Skills open standard
- Blueprint & origin story — the founding document for this project
Want to learn how to build projects like this with AI? Join the Build With AI community.
相似文章
@DanKornas: 你收藏的文章不会因为放在文件夹里就变成第二大脑。第二大脑是一个由LLM维护的个人知识…
第二大脑是一个由LLM维护的Obsidian个人知识库,通过AI编码代理将原始笔记、文章和记录转化为结构化的Markdown。
@CycleDecoded: 兄弟们,别再往文件助手和收藏夹里疯狂囤垃圾了。GitHub 上刚出的这个离谱开源项目,直接把“稍后再看”做成了全自动的 AI 助理,白嫖党和信息囤积狂直接狂喜! 这玩意叫 SuperBrain,是开发者 sidinsearch 搞出的一个…
GitHub 上刚出的开源项目 SuperBrain,是一个完全自托管的 AI '第二大脑',支持安卓端一键保存和 AI 自动分析视频、帖子等内容,使用本地 SQLite 数据库,零订阅费。
@rwayne: https://x.com/rwayne/status/2054523563248611675
本文详细介绍如何用Hermes Agent、Obsidian和LLM Wiki搭建一个完全自动化的本地知识库系统,实现笔记自动整理、双向链接和持久化积累。
@Huanusa: 个人知识库的天花板来了! GitHub这个 LLM Wiki 项目已经2800+ Star,彻底把普通RAG甩在身后! 它不是每次都“重新检索”的废物模式, 而是让AI直接帮你增量构建一个真正的结构化Wiki —— 知识编译一次,就持续进…
LLM Wiki 是一个开源的桌面应用,利用 LLM 增量构建结构化知识库,支持知识图谱、社区检测、Obsidian 集成和 Chrome 剪藏,旨在替代传统 RAG 方式。
@mylifcc: 最近在搞 Agent 记忆和个人知识系统的时候,发现了这个项目 obsidian-wiki,太对味了! 把 Andrej Karpathy 的 LLM Wiki 模式落地到 Obsidian 上: 让 AI Agent 能自主 inges…
该推文介绍了 obsidian-wiki 项目,它将 Andrej Karpathy 的 LLM Wiki 模式落地到 Obsidian 上,使 AI Agent 能自主 ingest 多源知识并组织成 wikilink 互联的 markdown 知识库,支持 Delta 增量更新和来源归因,内置查询、审计、图表导出等功能,目前已有 2k stars。