done
Installation
SKILL.md
Session Summary
Capture the key outcomes of this Claude Code session into a markdown file in the Obsidian vault, and link it from today's daily note.
Steps
0. Resolve vault path
Run echo $OBSIDIAN_VAULT_PATH to get the Obsidian vault root directory. If empty, ask the user for the path before proceeding.
1. Gather metadata
- Date: Use today's date (YYYY-MM-DD format)
- Branch: Run
git branch --show-currentin the current working directory - Repo: Derive from the working directory (e.g.
olivoil/obsidianfrom/home/olivier/Code/github.com/olivoil/obsidian) - Session ID: Find the most recently modified
.jsonlfile in the project's.claude/projects/directory. Extract the UUID from the filename (the part before.jsonl) and use the first 8 characters.
2. Generate the summary
Related skills