second-brain by sean-esk/second-brain-gtd
npx skills add https://github.com/sean-esk/second-brain-gtd --skill second-brain一个用于 Obsidian 的个人知识管理与生产力系统,融合了:
关键第一步: 在任何操作之前,检查 Claude 记忆中的配置。
配置存储在 Claude 的记忆功能 中,并自动在所有会话中持久保存。
为何使用记忆? Claude Desktop 中的技能在沙盒环境中运行,无法访问文件系统。记忆是跨会话持久保存配置的唯一方式。
设置完成后,Claude 会记住:
在开始 任何 第二大脑操作时,检查是否记得知识库路径:
Do I have the user's Second Brain vault path in my memory?
- If YES: Use that path for all operations
- If NO: Ask the user and save to memory
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
向用户询问其知识库路径:
欢迎使用第二大脑!
我需要知道你的 Obsidian 知识库位于何处,以便保存和组织你的笔记。
请提供你的 Obsidian 知识库文件夹的完整路径。
示例:
- macOS: /Users/你的用户名/Documents/MyVault
- Windows: C:\Users\你的用户名\Documents\MyVault
- Linux: /home/你的用户名/Documents/MyVault
你的知识库路径是什么?
一旦获得路径:
Claude 记忆会自动在所有会话中持久保存。
设置完成后,Claude 应记住:
对所有文件操作使用记住的 vault path。
仅适用于 Claude Code 用户: 如果记忆为空,你也可以检查位于 ~/.second-brain/config.json 的旧版配置文件。如果找到,请将该配置迁移到记忆中以供将来使用。
环境变量 SECOND_BRAIN_VAULT_PATH 可以覆盖记忆(对测试有用)。
触发短语: "capture this", "save this thought", "remember this", "note this down", "add to my inbox"
功能: 即时捕获想法、任务或灵感到当天的收件箱,无需分类。
GTD 原则: "先捕获,后澄清。"
参见:捕获工作流
触发短语: "plan my day", "what should I work on", "daily planning", "morning planning"
功能:
参见:每日计划工作流
触发短语: "process my inbox", "organize my captures", "clarify my tasks", "GTD processing"
功能:
参见:处理收件箱工作流
触发短语: "daily closeout", "review my day", "end of day review", "evening reflection"
功能:
参见:每日收尾工作流
触发短语: "set up my second brain", "configure my vault", "second brain setup", "reconfigure"
功能:
参见:设置工作流
触发短语: "create a diagram", "draw a flowchart", "make an excalidraw", "visualize this", "sketch this out", "diagram showing"
功能:
.excalidraw.md 文件输出位置: {{vaultPath}}/(用户指定位置或默认为相应文件夹)
重要提示: 当你注意到用户:
主动提议捕获:
关于 [主题] 的这个见解很有趣。你想让我把它捕获到你的第二大脑吗?
如果他们同意:
该系统使用 PARA + Zettelkasten 组织方式:
{{vaultPath}}/
├── 00-Inbox/
│ ├── Daily/ # 捕获内容存放于此 (YYYY-MM-DD.md)
│ └── Fleeting-Notes/ # 处理过程中的知识项目
├── 01-Projects/ # 具有截止日期的多步骤成果
├── 02-Areas/ # 持续的责任领域
│ ├── Career-Development.md
│ ├── Health-Fitness.md
│ ├── Personal-Development.md
│ ├── Errands.md
│ ├── Personal-Todos.md
│ └── Relationships/ # 每个人的独立笔记
├── 03-Resources/
│ └── Reference-Notes/ # 外部来源摘要
├── 04-Archives/ # 已完成/非活跃项目
├── Daily Plans/ # 生成的每日计划
├── Meeting Notes/ # 会议记录
├── Permanent Notes/ # Zettelkasten - 综合见解
│ └── Assisting-User-Context.md # 用户目标与上下文
└── Templates/ # 可复用模板
所有项目、领域和关系笔记使用相同的优先级部分:
## 高优先级 / 关键
- 紧急/重要事项(每日规划时首先扫描)
## 下一步行动 / 当前任务
- 常规优先级事项(每日规划时其次扫描)
## 将来/也许
- 较低优先级/探索性事项(每日规划时跳过)
## 等待中
- 受外部依赖项阻塞
## 已完成
- 已完成的任务及日期
创建新笔记时使用以下模板:
| 模板 | 使用场景 |
|---|---|
| project.md | 创建新项目(多步骤成果) |
| area.md | 创建新责任领域 |
| permanent-note.md | 创建 Zettelkasten 永久笔记 |
| fleeting-note.md | 快速知识捕获供后续处理 |
| relationship.md | 跟踪重要人物 |
| meeting-note.md | 会议记录 |
| daily-plan.md | 每日执行计划 |
| daily-inbox.md | 每日捕获文件 |
| user-context.md | 用户目标与偏好 |
| excalidraw-diagram.md | 可视化图表和流程图 |
该系统专为可能患有 ADHD 的用户设计:
错误做法: 在"今日计划"下方添加"修订版计划" 正确做法: 用更新后的任务替换"今日计划"的内容
完整循环:
总时间: 约 20-25 分钟/天 + 45 分钟/周处理 = 可持续!
用户: "捕获:需要打电话给牙医,并且研究新的项目管理工具"
你:
{{vaultPath}}/00-Inbox/Daily/YYYY-MM-DD.md 找到/创建当天的收件箱文件用户: "我今天应该做什么?"
你:
01-Projects/ 中的所有项目以获取下一步行动Daily Plans/YYYY-MM-DD.md在关于某个主题的对话中:
你: "关于 [主题] 的这个见解似乎很有价值。你想让我把它捕获到你的第二大脑吗?我可以把它添加到你的收件箱供后续处理,或者如果它已经成型,也可以创建一个永久笔记。"
始终使用 Claude 记忆中的知识库路径进行所有操作。
Claude Desktop 需要 文件系统桌面扩展 来读写文件。安装后,可使用以下工具:
| 技能操作 | 文件系统扩展工具 |
|---|---|
| 读取文件 | read_file |
| 写入新文件 | write_file |
| 编辑现有文件 | edit_file |
| 按模式查找文件 | list_directory + search_files |
| 创建目录 | create_directory |
Claude Desktop 先决条件:
Claude Code 具有内置的文件系统访问权限。可使用以下工具:
| 能力 | Claude Desktop | Claude Code |
|---|---|---|
| 知识库中的文件操作 | ✅ 是(带扩展) | ✅ 是(内置) |
| Claude 记忆 | ✅ 是 | ✅ 是 |
| 配置文件备用方案 | ❌ 否 | ✅ 是 |
| Bash 命令 | ❌ 否 | ✅ 是 |
重要提示: 该技能设计为在 两种 环境中工作:
版本 4.1 (2025-12-11)
版本 4.0 (2025-10-15)
每周安装量
118
仓库
GitHub 星标数
20
首次出现
2026年1月21日
安全审计
安装于
opencode106
gemini-cli103
codex103
cursor101
github-copilot94
cline90
A personal knowledge management and productivity system for Obsidian, combining:
CRITICAL FIRST STEP: Before any operation, check for configuration in Claude's Memory.
Configuration is stored in Claude's Memory feature and persists across all sessions automatically.
Why Memory? Skills in Claude Desktop run in a sandboxed environment with no file system access. Memory is the only way to persist configuration across sessions.
Once set up, Claude remembers:
At the start of ANY Second Brain operation, check if you remember the vault path:
Do I have the user's Second Brain vault path in my memory?
- If YES: Use that path for all operations
- If NO: Ask the user and save to memory
Ask the user for their vault path:
Welcome to Second Brain!
I need to know where your Obsidian vault is located so I can save and organize your notes.
Please provide the full path to your Obsidian vault folder.
Examples:
- macOS: /Users/yourname/Documents/MyVault
- Windows: C:\Users\yourname\Documents\MyVault
- Linux: /home/yourname/Documents/MyVault
What's the path to your vault?
Once you have the path:
Claude Memory persists across ALL sessions automatically.
After setup, Claude should remember:
Use the remembered vault path for ALL file operations.
For Claude Code users only: If Memory is empty, you may also check for a legacy config file at ~/.second-brain/config.json. If found, migrate that configuration to Memory for future use.
Environment variable SECOND_BRAIN_VAULT_PATH can override Memory (useful for testing).
Trigger phrases: "capture this", "save this thought", "remember this", "note this down", "add to my inbox"
What it does: Instantly captures thoughts, tasks, or ideas to today's inbox without categorization.
GTD Principle: "Capture first, clarify later."
See: Capture Workflow
Trigger phrases: "plan my day", "what should I work on", "daily planning", "morning planning"
What it does:
See: Daily Plan Workflow
Trigger phrases: "process my inbox", "organize my captures", "clarify my tasks", "GTD processing"
What it does:
Trigger phrases: "daily closeout", "review my day", "end of day review", "evening reflection"
What it does:
Trigger phrases: "set up my second brain", "configure my vault", "second brain setup", "reconfigure"
What it does:
See: Setup Workflow
Trigger phrases: "create a diagram", "draw a flowchart", "make an excalidraw", "visualize this", "sketch this out", "diagram showing"
What it does:
.excalidraw.md files compatible with Obsidian Excalidraw pluginOutput location: {{vaultPath}}/ (user specifies location or defaults to appropriate folder)
See: Excalidraw Reference
IMPORTANT: When you notice the user:
Offer to capture:
That's an interesting insight about [topic]. Would you like me to capture this to your Second Brain?
If they agree:
The system uses PARA + Zettelkasten organization:
{{vaultPath}}/
├── 00-Inbox/
│ ├── Daily/ # Captures go here (YYYY-MM-DD.md)
│ └── Fleeting-Notes/ # Knowledge items during processing
├── 01-Projects/ # Multi-step outcomes with deadlines
├── 02-Areas/ # Ongoing responsibilities
│ ├── Career-Development.md
│ ├── Health-Fitness.md
│ ├── Personal-Development.md
│ ├── Errands.md
│ ├── Personal-Todos.md
│ └── Relationships/ # Individual notes per person
├── 03-Resources/
│ └── Reference-Notes/ # Summaries of external sources
├── 04-Archives/ # Completed/inactive projects
├── Daily Plans/ # Generated daily plans
├── Meeting Notes/ # Meeting documentation
├── Permanent Notes/ # Zettelkasten - synthesized insights
│ └── Assisting-User-Context.md # User's goals & context
└── Templates/ # Reusable templates
See: PARA + Zettelkasten Guide
ALL Projects, Areas, and Relationship notes use identical priority sections:
## High Priority / Critical
- Urgent/important items (scanned FIRST by daily planning)
## Next Actions / Current Tasks
- Regular priority items (scanned SECOND)
## Someday/Maybe
- Lower priority/exploratory (SKIPPED by daily planning)
## Waiting On
- Blocked by external dependencies
## Completed
- Finished tasks with dates
Use these templates when creating new notes:
| Template | Use When |
|---|---|
| project.md | Creating a new project (multi-step outcome) |
| area.md | Creating a new area of responsibility |
| permanent-note.md | Creating a Zettelkasten permanent note |
| fleeting-note.md | Quick knowledge capture for later processing |
| relationship.md | Tracking an important person |
| meeting-note.md | Meeting documentation |
| daily-plan.md |
The system is designed for users who may have ADHD:
Bad: Adding "REVISED PLAN" below "TODAY'S PLAN" Good: Replacing "TODAY'S PLAN" content with updated tasks
The Complete Loop:
Total time: ~20-25 min/day + 45 min/week processing = Sustainable!
User: "Capture: Need to call the dentist and also research new project management tools"
You:
{{vaultPath}}/00-Inbox/Daily/YYYY-MM-DD.mdUser: "What should I work on today?"
You:
01-Projects/ for next actionsDaily Plans/YYYY-MM-DD.mdDuring conversation about a topic:
You: "That insight about [topic] seems valuable. Would you like me to capture it to your Second Brain? I can add it to your inbox for later processing, or create a permanent note if it's already well-formed."
Always use the vault path from Claude Memory for all operations.
Claude Desktop requires the Filesystem Desktop Extension to read/write files. Once installed, these tools are available:
| Skill Operation | Filesystem Extension Tool |
|---|---|
| Read files | read_file |
| Write new files | write_file |
| Edit existing files | edit_file |
| Find files by pattern | list_directory + search_files |
| Create directories | create_directory |
Prerequisites for Claude Desktop:
Claude Code has built-in file system access. These tools are available:
| Capability | Claude Desktop | Claude Code |
|---|---|---|
| File operations in vault | ✅ Yes (with extension) | ✅ Yes (built-in) |
| Claude Memory | ✅ Yes | ✅ Yes |
| Config file fallback | ❌ No | ✅ Yes |
| Bash commands | ❌ No | ✅ Yes |
Important: The skill is designed to work in BOTH environments:
Version 4.1 (2025-12-11)
Version 4.0 (2025-10-15)
Weekly Installs
118
Repository
GitHub Stars
20
First Seen
Jan 21, 2026
Security Audits
Gen Agent Trust HubFailSocketPassSnykPass
Installed on
opencode106
gemini-cli103
codex103
cursor101
github-copilot94
cline90
Azure RBAC 权限管理工具:查找最小角色、创建自定义角色与自动化分配
129,699 周安装
| Daily execution plan |
| daily-inbox.md | Daily capture file |
| user-context.md | User goals and preferences |
| excalidraw-diagram.md | Visual diagrams and flowcharts |