npx claudepluginhub zactax/zactax-claude-plugins --plugin notestopic-slug## 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.../savePersists session context, learnings, and discoveries to Serena MCP for cross-session continuity and progress tracking. Supports --type, --summarize, --checkpoint flags.
/saveSaves current conversation or insight to wiki vault as structured note. Supports custom titles, session summaries, concepts, and decisions.
/saveSaves <key> <value> as compressed memory entry to project or global .nemp/memories.json, adding timestamps, agent ID, project path, and inferred type.
/saveSaves the current Claude Code session to Nowledge Mem using nmem CLI. Auto-detects project from ~/.claude/projects/, imports messages, returns thread ID. Supports optional summary and all-sessions flags.
/saveSaves current work context, plan, and todos to a timestamped directory using Read, Write, and Bash tools.
/saveBranches off changes into topic branch, commits with conventional format, pushes, opens PR to original branch, returns to original, and monitors CI in background. Supports [scope] [--all] [--type <type>] args.
${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.