Save Q&A conversations to Obsidian notes with proper formatting, metadata, and organization...
Save question-and-answer conversations to Obsidian notes with proper formatting, metadata, and organization.
Use this skill when the user explicitly requests to:
Important: Only trigger this skill when the user explicitly asks to save content to Obsidian. Do not proactively suggest saving unless the conversation clearly warrants documentation.
This skill helps capture valuable Q&A exchanges into well-structured Obsidian notes. It:
Ask the user what they want to save:
If the user says "save this conversation," determine the relevant portion based on context.
Ask the user about organization:
Default structure: {Obsidian Vault}/{Topic or Project}/{Note Title}.md
Transform the Q&A content into document format:
From dialogue format:
User: How do I implement dependency injection?
Assistant: Dependency injection is a pattern where...
To document format:
## Implementing Dependency Injection
Dependency injection is a pattern where dependencies are provided to a class rather than created internally...
### Key Concepts
- **Inversion of Control**: The framework controls object creation
- **Loose Coupling**: Classes depend on abstractions, not concrete implementations
### Example Implementation
[Include code examples from the conversation]
### Best Practices
[Extract best practices mentioned]
Formatting Guidelines:
Create YAML frontmatter with:
---
created: YYYY-MM-DD HH:MM
updated: YYYY-MM-DD HH:MM
tags:
- tag1
- tag2
- project/name
aliases: []
---
Tag Guidelines:
dependency-injection, clean-architecture)project/elios)python, fastapi, architecture)design-patterns, best-practices)Project Links: Add relevant links at the top of the document:
**Related:**
- [[Project Overview]]
- [[Architecture Documentation]]
- [[Implementation Notes]]
Use the scripts/save_to_obsidian.py script to save the note:
python .claude/skills/obsidian-qa-saver/scripts/save_to_obsidian.py \
--vault-path "/path/to/obsidian/vault" \
--folder "Topic or Project" \
--title "Note Title" \
--content "content.md" \
--tags "tag1,tag2,tag3"
The script will:
After saving, confirm:
ā Saved to: /path/to/vault/Topic or Project/Note Title.md
The note includes:
- Formatted Q&A as document-style content
- Tags: #tag1 #tag2 #tag3
- Timestamps: 2025-01-31 14:30
- Project links: [[Related Note 1]], [[Related Note 2]]
You can find it in your Obsidian vault under "Topic or Project" folder.
scripts/save_to_obsidian.pyPython script for saving formatted notes to Obsidian vault.
Usage:
python scripts/save_to_obsidian.py \
--vault-path "/path/to/vault" \
--folder "folder/name" \
--title "Note Title" \
--content "content.md" \
--tags "tag1,tag2" \
--links "[[Link 1]],[[Link 2]]"
Arguments:
--vault-path: Path to Obsidian vault (required)--folder: Folder within vault (optional, defaults to root)--title: Note title (required)--content: Path to content file or direct content string (required)--tags: Comma-separated tags (optional)--links: Comma-separated wiki links for related notes (optional)Returns: File path of created note
assets/obsidian-note-template.mdStandard template for Obsidian notes created by this skill. The template includes:
Use this template as a reference when manually formatting notes.
Do:
Don't:
Do:
Don't:
Do:
project/elios)Don't:
User: "Save our discussion about Clean Architecture to Obsidian"
Process:
#clean-architecture, #design-patterns, #project/elios[[Architecture Documentation]], [[Project Structure]]User: "Can you save that explanation about __init__.py files?"
Process:
__init__.py explanation. What project folder should this go in?"#python, #modules, #fundamentalsUser: "Export the setup steps to my notes"
Process:
#setup, #development, #project/elios[[README]], [[Configuration Guide]]If the Obsidian vault path doesn't exist:
Error: Obsidian vault not found at /path/to/vault
Please provide the correct path to your Obsidian vault.
You can find this in Obsidian: Settings ā Files & Links ā Vault folder
If the target folder doesn't exist, create it automatically and inform the user:
Created new folder: /path/to/vault/New Topic
Your note has been saved successfully.
If a note with the same title exists:
A note titled "Note Title" already exists in this folder.
Would you like to:
1. Append to existing note
2. Create with timestamp suffix (e.g., "Note Title 2025-01-31")
3. Choose a different title
This skill works well with:
When used together, these skills enable comprehensive knowledge management in Obsidian.