obsidian-second-brain
하는 일
링크로 연결된 노트로 이루어진 Obsidian 보관함에서 작업하는 방법을 에이전트에게 가르칩니다. 대화에서 중요한 내용을 저장하고 관련 페이지를 최신으로 유지합니다. 지식을 Obsidian에 보관하는 사람을 위한 스킬입니다.
사용하는 경우
- ✓대화 내용의 메모를 Obsidian 보관함에 저장하고 싶을 때.
- ✓에이전트가 기존 보관함의 페이지를 검색하거나 업데이트하기를 원할 때.
- ✓보관함이 일관되도록 정기적인 정리를 원할 때.
스킬 링크
https://github.com/eugeniughelbur/obsidian-second-brain/blob/main/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“지금까지 가격 책정에 대한 대화의 핵심 내용을 Obsidian 보관함에 저장하고, 기존 가격 메모와 연결해 주세요.”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
에이전트가 보관함의 안내 파일을 읽고, 관련 페이지를 찾아 새 페이지만 추가하지 않고 기존 페이지를 업데이트합니다. 노트 사이에 모순이 생기면 새 출처가 들어올 때 조정합니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
Obsidian Second Brain
Claude operates your Obsidian vault as a self-rewriting knowledge base. An evolution of Karpathy's LLM Wiki pattern: sources rewrite existing pages instead of just appending, contradictions reconcile automatically, and scheduled agents maintain the vault while you sleep. Everything worth remembering gets saved. Every update propagates everywhere it belongs.
Quick Start
0. Choose vault access method (in order of preference)
Try these methods in order. Use the first one available:
Method 0 - SessionStart hook (if configured):
If hooks/load_vault_context.py is wired as a SessionStart hook in ~/.claude/settings.json, _CLAUDE.md is injected into context automatically at session start.
Skip step 1 only when the manual is actually in your context, not merely because the hook is configured. Claude Code caps hook context at 10,000 characters, so a larger manual cannot be injected; in that case the hook says so in as many words ("NOT loaded - read it") and you read the file yourself (#270). A vault whose .claude/CLAUDE.md holds @../_CLAUDE.md sidesteps the cap entirely - Claude Code imports that natively at any size.
To wire it: bash scripts/setup.sh "/path/to/vault".
If another Obsidian plugin also holds a SessionStart hook, the injected context opens with a precedence note naming it (#300). Claude Code runs every SessionStart hook and adds each output here, so you may be holding two folder maps and two frontmatter schemas for one vault. The vault's own _CLAUDE.md governs every write. Where the other tooling disagrees, follow the manual and say so in your reply.
Method A - Direct filesystem (default, always works): Use standard file tools (Read, Write, Edit, Glob) against the vault path. The vault is plain markdown, so every operation in this skill works this way with no setup. This is the normal path in Claude Code - the commands below use these tools directly.
Method B - MCP server (optional, mainly for non-Claude-Code clients):
This repo ships its own MCP server at integrations/obsidian-mcp-server/ that exposes the vault as tools (obsidian_search, obsidian_read_note, obsidian_save_note, obsidian_capture, plus curator tools). It exists so other MCP clients - Hermes Agent, Claude Desktop, Cursor - can use the vault as a knowledge layer; in Claude Code itself, Method A is simpler and preferred. If those obsidian_* tools happen to be available in your client, you may use them instead of raw file tools. Setup lives in integrations/obsidian-mcp-server/README.md (it is uv run --no-project --with 'mcp<2' python .../server.py with OBSIDIAN_VAULT_PATH set, not an npx package). Since the bookkeeping change, every write through the server also validates the note, adds the index entry, appends the operation-log line, and runs OBSIDIAN_POST_WRITE_CMD when set - see integrations/obsidian-mcp-server/README.md, "Bookkeeping after writes".
1. First time in a vault → read _CLAUDE.md
Before doing anything in a vault, check if _CLAUDE.md exists at the vault root and read it:
Read <vault>/_CLAUDE.md
If it exists: follow its rules exactly - they override the defaults in this skill. Where _CLAUDE.md is silent, fall back to the defaults below.
If it doesn't exist: use the defaults in this skill, then offer to create one.
Skip this step only if _CLAUDE.md is actually in your context already - the SessionStart hook injects it, but not when the manual is over Claude Code's 10,000-character hook limit, and the hook says which case you are in. If you cannot quote a rule from it, you do not have it: read the file.
2. First time with a new user → run discovery
Glob <vault>/**/*.md
Scan the structure to understand: folder names, template locations, naming conventions, frontmatter patterns. Then read 2-3 existing notes to calibrate writing style before creating anything new.
3. Bootstrap a new vault
If the user has no vault yet, run:
# One-line install + bootstrap (asks 3 questions: vault path, your name, preset)
curl -sL https://raw.githubusercontent.com/eugeniughelbur/obsidian-second-brain/main/scripts/quick-install.sh | bash
# Or manual:
python scripts/bootstrap_vault.py --path ~/path/to/vault --name "Your Name"
# With a preset:
python scripts/bootstrap_vault.py --path ~/my-vault --name "Your Name" --preset executive
python scripts/boo
자주 묻는 질문
에이전트는 제 보관함이 어떻게 정리되어 있는지 어떻게 아나요?
설정 스크립트가 보관함 폴더에 연결해 둔 안내 파일을 읽습니다.
기존 노트를 바꿀 수 있나요?
네. 출처가 기존 페이지를 다시 쓸 수 있어서, 새 정보가 들어오면 예전 노트가 업데이트될 수 있습니다.
제가 없을 때도 보관함을 관리할 수 있나요?
스킬은 백그라운드에서 보관함을 관리하는 예약된 에이전트를 설명합니다.
상세 정보
작성자의 원본 설명
Operate any Obsidian vault as a living, self-rewriting second brain (an evolution of Karpathy's LLM Wiki pattern: sources rewrite existing pages, contradictions reconcile automatically, scheduled agents maintain the vault while you sleep). Use this skill whenever the user asks Claude to read, write, update, search, or manage their Obsidian vault - including saving notes from conversation, creating daily entries, updating kanban boards, logging dev work, managing people notes, capturing decisions, tracking deals, or maintaining any vault structure. Also triggers when the user wants to bootstrap
인기도
- GitHub 스타
- 5.1k
- 순위
- #15039
- 라이선스
- MIT
- 업데이트
- 2026. 11. 1.
댓글
- …