second-brain

NicholasSpisak更新放缓

用 LLM 自动维护 Obsidian 个人知识库,按 Karpathy 的 LLM Wiki 模式把零散笔记整理成持续更新的个人维基。

LLM-maintained personal knowledge base for Obsidian. Based on Andrej Karpathy's LLM Wiki pattern.

暂无版本771star116fork同步于 2026-11-07 07:33 UTC

怎么上手

由 README 提炼,执行前请确认
npx skills add NicholasSpisak/second-brain
硬件要求按 README 说明

README 未说明,无本地显存或 GPU 要求,计算在所选 AI coding agent 侧完成

下载:源码 zip·GitHub Releases(安装包)本站不镜像安装包

项目说明

由 README 自动翻译提炼

把原始资料交给 LLM 编译成结构化 wiki,在 Obsidian 里浏览的个人知识库

用 LLM 自动维护 Obsidian 个人知识库,按 Karpathy 的 LLM Wiki 模式把零散笔记整理成持续更新的个人维基。

核心能力

  • 把 raw/ 里的文章论文笔记编译成结构化 wiki 页面
  • 自动生成交叉引用与 wiki/index.md 总目录
  • 提供 ingest、query、lint 四个 Agent Skill 分工处理
  • 按 sources/entities/concepts/synthesis 分类组织页面
  • lint 检查索引一致性并修复断链的 wikilink

容易踩的坑

需先自备 Obsidian 和支持 Agent Skills 的 AI coding agent,并安装 Node.js 才能用 npm 装技能;装完还要在 agent 里运行 /second-brain 向导生成 vault,不会自动建库;图片需在 Obsidian 里把附件目录设为 raw/assets/ 并手动下载,否则外链图片不落地

内容由模型根据 README 生成,可能不完整或不准确,以官方文档为准。看原文 README

最近发版

0 个版本

暂无 release 数据(可能没有发版,或尚未同步)。

用户点评

登录用户的真实使用记录,可按版本和硬件筛选
共 0 条

    还没有人点评。第一个说出真实体验的人最有价值。

    README 原文

    未翻译

    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.

    Second Brain Overview

    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

    Install

    npx skills add NicholasSpisak/second-brain
    

    This installs four skills into your AI agent (Claude Code, Codex, Cursor, Gemini CLI, and 40+ others):

    SkillWhat it does
    /second-brainSet up a new vault (guided wizard)
    /second-brain-ingestProcess raw sources into wiki pages
    /second-brain-queryAsk questions against your wiki
    /second-brain-lintHealth-check the wiki

    Quick Start

    1. Install the skills (see above)
    2. Run the wizard: type /second-brain in your AI agent — it walks you through naming, location, domain, and tooling
    3. Install Web Clipper: Obsidian Web Clipper — configure it to save to your vault's raw/ folder
    4. Open in Obsidian — launch Obsidian, choose "Open folder as vault", select your vault folder
    5. Clip your first article to raw/, then run /second-brain-ingest — the LLM will discuss key takeaways and build wiki pages
    6. Browse your wiki in Obsidian — follow [[wikilinks]], explore the graph view, check wiki/index.md
    7. Keep going — /second-brain-query to ask questions, /second-brain-lint to 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