--- name: obsidian description: Integration with Obsidian vault for managing notes, tasks, and knowledge when working with Claude. Supports adding notes, creating tasks, and organizing project documentation. version: 1.0.0 --- # Obsidian Integration Expert guidance for integrating Claude workflows with Obsidian vault, including note creation, task management, and knowledge organization using Obsidian's markdown-based system. ## When to Use This Skill - Creating notes during development sessions with Claude - Tracking tasks and TODOs in Obsidian - Documenting decisions and solutions discovered with Claude - Building a knowledge base of project insights - Organizing research findings from Claude sessions - Creating meeting notes or session summaries ## Core Principles 1. **Vault Location** - Use `$OBSIDIAN_CLAUDE` environment variable for vault path 2. **Atomic Notes** - Each note focuses on a single concept or topic 3. **Linking** - Use wikilinks `[[note-name]]` to connect related ideas 4. **Tags** - Organize with hierarchical tags like `#project/feature` 5. **Tasks** - Use checkbox syntax for actionable items 6. **Timestamps** - Include dates for temporal context ## Vault Configuration ### Environment Setup The Obsidian vault location is stored in the `$OBSIDIAN_CLAUDE` environment variable: ```bash # Check vault location echo $OBSIDIAN_CLAUDE # Should return something like: # /Users/username/Documents/ObsidianVault ``` If not set, you'll need to configure it in your shell profile: ```bash # Add to ~/.zshrc or ~/.bashrc export OBSIDIAN_CLAUDE="/path/to/your/vault" ``` ## Obsidian Markdown Syntax ### Wikilinks (Internal Links) ```markdown # Link to another note [[Note Name]] # Link with custom display text [[Note Name|Display Text]] # Link to heading in another note [[Note Name#Heading]] # Link to block [[Note Name#^block-id]] ``` ### Tags ```markdown # Simple tags #tag # Hierarchical tags #project/feature #status/in-progress #type/note #type/task # Tags in YAML frontmatter --- tags: - project/feature - status/active --- ``` ### Tasks ```markdown # Basic task - [ ] Task to do # Completed task - [x] Completed task # Task with priority - [ ] High priority task ⚠️ - [ ] Medium priority task 🔸 - [ ] Low priority task 🔹 # Task with date (if using Obsidian Tasks plugin) - [ ] Task 📅 2026-01-23 - [ ] Task ⏳ 2026-01-30 - [ ] Task ✅ 2026-01-20 # Task with metadata - [ ] Implement feature #coding #high-priority @claude-session ``` ### Callouts (Obsidian-specific) ```markdown > [!note] > This is a note callout > [!tip] > Helpful tip here > [!warning] > Important warning > [!todo] > Task to complete > [!example] > Example code or content > [!quote] > Quote or citation ``` ## Note Templates ### Session Note Template ```markdown --- date: {{date}} type: session-note tags: - claude-session - project/{{project-name}} --- # Session: {{topic}} - {{date}} ## Context What we're working on and why ## Summary Key points and outcomes from this session ## Decisions - Decision 1 - Decision 2 ## Action Items - [ ] Task 1 - [ ] Task 2 ## Links - [[Related Note 1]] - [[Related Note 2]] ## Code References - `file.py:123` - Description of code location --- **Session with**: Claude **Duration**: {{duration}} ``` ### Technical Note Template ```markdown --- date: {{date}} type: technical-note tags: - technical - {{topic}} --- # {{Title}} ## Problem Description of the issue or topic ## Solution How it was resolved or implemented ## Implementation Details ```language code example ``` ## Related Concepts - [[Concept 1]] - [[Concept 2]] ## References - External links or documentation ## Notes Additional thoughts or considerations ``` ### Task Note Template ```markdown --- date: {{date}} type: task tags: - task - status/pending project: {{project-name}} --- # Task: {{task-name}} ## Description What needs to be done ## Requirements - Requirement 1 - Requirement 2 ## Checklist - [ ] Step 1 - [ ] Step 2 - [ ] Step 3 ## Dependencies - [[Related Task 1]] - [[Related Task 2]] ## Notes Additional context or considerations ## Completion **Status**: Pending **Priority**: Medium **Due**: {{date}} ``` ## Working with Claude: Common Patterns ### Pattern 1: Creating a Session Note When starting a work session with Claude: ```bash # Create new session note in Obsidian vault cat > "$OBSIDIAN_CLAUDE/Sessions/$(date +%Y-%m-%d)-session.md" <> "$OBSIDIAN_CLAUDE/Daily/$(date +%Y-%m-%d).md" ``` ### Pattern 3: Creating Task from Claude Session ```bash # Create task file TASK_NAME="implement-feature-x" cat > "$OBSIDIAN_CLAUDE/Tasks/$TASK_NAME.md" < "$OBSIDIAN_CLAUDE/Solutions/$SOLUTION_NAME.md" < "$file" < "$file" < "$daily_note" <> "$daily_note" <> ~/.zshrc source ~/.zshrc ``` ### Issue 2: Note not appearing in Obsidian **Problem**: File created but not visible **Solution**: - Ensure file has `.md` extension - Check file permissions - Verify path is within vault - Refresh Obsidian file list ### Issue 3: Links not working **Problem**: Wikilinks don't navigate correctly **Solution**: - Ensure exact note name match (case-sensitive) - Check for file extension in link (shouldn't include `.md`) - Verify linked note exists - Use Obsidian's link autocomplete ### Issue 4: Frontmatter rendering in preview **Problem**: YAML frontmatter shows as text **Solution**: - Ensure frontmatter is first thing in file - Use proper YAML syntax (three dashes before and after) - Check for trailing spaces ## Quick Reference ### Creating Notes with Claude ```bash # Session note cat > "$OBSIDIAN_CLAUDE/Sessions/$(date +%Y-%m-%d)-topic.md" <<'EOF' --- date: 2026-01-23 type: session-note tags: [claude-session] --- # Content here EOF # Task note cat > "$OBSIDIAN_CLAUDE/Tasks/task-name.md" <<'EOF' --- date: 2026-01-23 type: task tags: [task, status/pending] --- # Task: task-name - [ ] Step 1 EOF # Quick append to daily echo "## Note Content" >> "$OBSIDIAN_CLAUDE/Daily/$(date +%Y-%m-%d).md" ``` ### Essential Obsidian Syntax ```markdown # Wikilinks [[Note Name]] [[Note#Heading]] [[Note|Display Text]] # Tags #tag #hierarchical/tag # Tasks - [ ] Pending - [x] Done # Callouts > [!note] > Content # Block references ^block-id [[Note#^block-id]] ``` ## Integration with Other Skills This skill works well with: - **folder-organization** - Vault structure standards - **managing-environments** - Development workflow - **claude-collaboration** - Team knowledge sharing ## References and Resources - [Obsidian Documentation](https://help.obsidian.md/) - [Obsidian Community Plugins](https://obsidian.md/plugins) - [Zettelkasten Method](https://zettelkasten.de/introduction/) - [PARA Method](https://fortelabs.com/blog/para/) - Projects, Areas, Resources, Archives --- **Remember**: The goal is to build a searchable, linked knowledge base that grows with each Claude session. Start simple, add structure as needed.