How this command is triggered — by the user, by Claude, or both
Slash command
/notes:save topic-slugThis command is limited to the following tools:
The summary Claude sees in its command listing — used to decide when to auto-load this command
## Setup
1. Read `${CLAUDE_PLUGIN_ROOT}/config.json` → extract `vault.path`.
2. Read `notes.yaml` from the current working directory → extract `folder`. If missing, tell the user to run `/notes:init` first and stop.
3. Resolve full notes directory: `{vault.path}/{folder}/`
4. Use Bash to expand any tilde in the path and `mkdir -p` the directory.
## Determine target file
1. Check if you already wrote a note file earlier in this conversation. If so, reuse that path.
2. Otherwise, Glob for `{notesDir}/${today's YYYY-MM-DD}-*.md`.
3. If matches exist, read them and pick the one whose topic b...${CLAUDE_PLUGIN_ROOT}/config.json → extract vault.path.notes.yaml from the current working directory → extract folder. If missing, tell the user to run /notes:init first and stop.{vault.path}/{folder}/mkdir -p the directory.{notesDir}/${today's YYYY-MM-DD}-*.md.YYYY-MM-DD-{slug}.md where {slug} is 2-4 words in kebab-case describing the subject matter (not the activity — e.g. auth-token-rotation not debugging-auth).$ARGUMENTS is provided and non-empty, use it as the slug or as a hint for generating the slug.Reflect on the full conversation. Produce a note with this structure:
---
date: YYYY-MM-DD
tags:
- session-notes
- {folder}
---
# {Descriptive Title}
## Summary
1-3 sentences.
## What was accomplished
Bulleted list of concrete outcomes.
## Decisions
**{decision}** — {rationale}. If a decision was reversed mid-session, document only the final decision with a brief note on why the earlier approach was abandoned.
## Open questions
Unresolved items.
## Next steps
Concrete actions for the next session.
## Context for future sessions
Key state a fresh session needs: file paths, patterns, constraints, partial work.
Report the file path to the user so they can find it in the vault.
npx claudepluginhub zactax/zactax-claude-plugins --plugin notes/session-saveSaves current session context and work summary as a structured Markdown note to Obsidian vault under 작업기록/세션기록, auto-discovers related docs, and commits to git if repo.
/obsidian-archiveExtracts learnings from the current Claude Code session using progressive summarization and archives them as Zettelkasten notes in Obsidian vault after user approval.
/create_noteCaptures provided content as a persistent Markdown note in ./thoughts/shared/notes/YYYY-MM-DD/description.md with YAML frontmatter, git metadata, context, and sources.
/insightCaptures an insight from conversation into an Obsidian vault session notes file via sb CLI, adding frontmatter with git context and timestamp.
/initInitializes Obsidian vault by creating ~/.claude/obsidian-vault.json config file and standard folder structure for projects, technologies, claude-code components, notes, and auto-captures. Supports --check and --vault <path> flags.
/saveSaves current conversation or insight to wiki vault as structured note. Supports custom titles, session summaries, concepts, and decisions.