From oh-my-obsidian
Saves session context and work summaries to an Obsidian vault with structured markdown, auto-categorization, and related document discovery.
How this skill is triggered — by the user, by Claude, or both
Slash command
/oh-my-obsidian:session-saveThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Activate when the user explicitly asks to save, record, or document the current session's work.
Activate when the user explicitly asks to save, record, or document the current session's work. Also activate when the stop hook prompts and the user agrees to save.
Check Environment
Verify $OBSIDIAN_VAULT is set. If not, inform user and suggest /oh-my-obsidian:setup.
Analyze Session Review the conversation and extract:
Auto-Categorize
Determine the best category and derive the type field:
type: session-log: General work logs, coding sessionstype: decision: Architectural choices, design decisionstype: troubleshooting: Bug fixes, error resolutiontype: meeting-notes: Meeting summaries (if multiple participants mentioned)Discover Related Documents Before writing the note, search the vault for related documents using grep/glob. Add any found documents as wikilinks in the 관련 문서 section.
grep -ril "keyword1\|keyword2" "$OBSIDIAN_VAULT" --include="*.md"
Generate Document
Create at: $OBSIDIAN_VAULT/작업기록/{세션기록|의사결정|트러블슈팅}/YYYY-MM-DD_{slug}.md
Template:
---
date: YYYY-MM-DDTHH:mm
topic: {inferred topic}
category: {auto-detected category}
type: {session-log|decision|troubleshooting|meeting-notes}
services: [{affected services}]
related_docs: [{auto-discovered wikilinks}]
status: done
tags: [auto-generated tags]
---
# {topic}
## 요약
{1-2 sentence summary}
## 상세 내용
{detailed notes from session}
## 주요 결정
- {decision 1}
- {decision 2}
## 변경된 파일
- `{file path}` — {what changed}
## 다음 단계
- [ ] {action item}
## 관련 문서
- [[{discovered-doc}]] -- (auto-discovered)
Git Commit
cd "$OBSIDIAN_VAULT"
git add "{category}/YYYY-MM-DD_{slug}.md"
git commit -m "docs: {category} — {topic}"
Confirm Print: "✅ 저장 완료: {category}/{filename}" If the user said "session-save skip", exit silently without saving.
Helper command with structural relationship flags:
node scripts/vault-ops.mjs session-save \
--topic "<topic>" \
--detail "<summary>" \
--category "세션기록" \
--type "session-log" \
--service "<service>" \
--related-doc "<vault-relative-path>"
npx claudepluginhub hongdangmoo49/oh-my-obsidian --plugin oh-my-obsidianFiles conversation insights into an Obsidian wiki vault as structured notes. Detects note type, generates frontmatter, and updates index/log/hot cache.
Files the current conversation answer as a permanent, self-contained Obsidian wiki page. Supports title inference, similarity search, and index updates.