How this skill is triggered — by the user, by Claude, or both
Slash command
/vault-sync:vault-noteThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
You are helping the developer capture a discovery, decision, or insight into the shared knowledge vault. Follow these steps.
You are helping the developer capture a discovery, decision, or insight into the shared knowledge vault. Follow these steps.
If the user provided text after the /vault-note command, use that as the starting insight. Otherwise ask:
"What did you discover or decide? Describe it in one or two sentences."
Draft a title that states the insight as a concrete, falsifiable claim. The title should be a complete sentence or noun phrase that conveys the finding — not a category label.
Good titles:
findMany does not paginate by default — always pass take in list queries"Bad titles (reject these patterns):
Present the proposed title to the user and ask: "Does this title work, or would you like to adjust it?"
Accept their edit or confirm the proposed title.
Run these commands silently to gather context:
git branch --show-current
git remote get-url origin
Derive the project name from the remote URL: take the repository name portion (e.g., my-app from [email protected]:org/my-app.git or https://github.com/org/my-app). If git is not available or the directory is not a repo, ask the user for the project name.
If the branch detection fails, use unknown as the branch.
Present the standard tag options and ask the user to pick one or more (or provide custom tags):
architecture — structural decisions about how the system is organizedconvention — team or language conventions that are easy to forgetpattern — recurring implementation patterns or idiomsresearch — findings from investigation or spike workdebugging — how a specific bug was diagnosed or fixedbug — a known bug, workaround, or gotchaAccept a comma-separated list. Example: architecture, convention
Call the vault-create-note MCP tool with:
title: the confirmed claim-style titlestatus: "exploratory"branch: the detected branch nameproject: the derived project nameauthor: (use the author configured during vault setup, or ask if unknown)tags: array of selected tagscontent: the user's insight text, expanded if needed into a clear paragraphWhen vault-create-note succeeds, print:
Note created: <returned note path>
Title: <title>
Branch: <branch> | Project: <project> | Tags: <tags>
This note is marked exploratory. Run /promote-to-vault after your branch merges to review it.
If vault-create-note returns an error, show the error and suggest the user check that vault-init was run and the MCP server is connected.
npx claudepluginhub mahuebel/lore --plugin vault-syncCreates and edits notes in PKM vault using templates for ADR, research, tasks, meetings; duplicate checks via semantic search, link discovery, annotations, index updates.
Manages Obsidian vault as developer knowledge base: create/search/update notes with standard frontmatter, organize by projects/technologies/Claude Code, auto-capture commits/tasks/components.
Creates dated Markdown notes with YAML frontmatter, tags, summaries, and references in .claude/data/notes/ for secondbrain. Activates on 'create note', 'capture thought', 'save this', etc.