jeffreylean/dotfiles/second-brain
Claude Code and agent skill by jeffreylean/dotfiles
- community
Checking that the SKILL.md file is still in the repository.
Knowledge retrieval from the user's Obsidian vault (my-brain). Use when user asks "what do I know about X", "find my notes on Y", "what's tagged Z", "show me notes in folder X", or wants to explore/retrieve/connect knowledge from their second brain.
Install
npx vskill@latest install jeffreylean/dotfiles/second-brainSKILL.md
The same SKILL.md was published earlier as jeffreylean/dotfiles/second-brain.
Second Brain
Retrieve and synthesize knowledge from the Obsidian vault my-brain at ~/Documents/my-brain.
When to Use
- "What do I know about X?"
- "Find my notes on Y"
- "What notes are tagged #Z?"
- "Show me everything in folder X"
- "What have I written about [topic]?"
- "Are there any notes related to X?"
- "Summarize what I know about X"
Setup
Vault name: my-brain All commands must include vault=my-brain.
Verify CLI is available:
Command Reference
Workflow
1) Classify the query
| Query type | Primary command | |
|---|---|---|
| "What do I know about X" | search:context | |
| Tagged with X | tag name=X verbose | |
| In a specific folder | files folder=X | |
| Structured / database-like | bases → base:query | |
| Recent work | recents | |
| Everything related to X | search:context + graph traversal |
2) Retrieve
Run the primary command for the query type. For search:context, use format=json to get structured results.
If the query is broad or ambiguous, also run tags vault=my-brain counts sort=count to see if a matching tag exists — tag-based retrieval is often more precise than full-text search.
3) Rank and select
From the search results, identify the 3–5 most relevant notes. Prioritise:
- Notes whose title matches the query
- Notes with multiple matches in the context output
- Notes in a relevant folder
4) Read selectively
For each selected note:
- First run
outlineto get the heading structure — this tells you if the note is worth reading in full. - Then run
readto get the full content.
Do not read every result — read the top 3–5 most relevant notes only.
5) Follow the graph (when query is exploratory)
If the user wants to understand connections or related notes:
- Run
backlinkson key notes — these are notes that reference the retrieved note - Run
linkson key notes — these are notes the retrieved note points to - Read 1–2 hops only; do not traverse more than 2 levels deep
6) Synthesize and present
Present the findings as a direct answer. Structure:
Always include note names so the user can navigate directly in Obsidian.
Gotchas
- Always include
vault=my-brainin every command. - Use
search:contextoversearch— context lines make ranking much more accurate. - Run
outlinebeforereadfor large notes — avoid reading 500-line notes blindly. - Never traverse more than 2 graph hops — the graph can be very large.
- Do not dump raw note content — always synthesize into a readable answer.
- If search returns no results, try a shorter/broader query or check tags.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingagents/skills/second-brain/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/jeffreylean/dotfiles/second-brain)