semantic-search
Search vault notes by meaning using local embeddings
Instalar com Codex ou Claude Copie este prompt, cole no Codex, Claude ou outro assistente e deixe que ele revise a página da skill e instale para você.
Menu
Search vault notes by meaning using local embeddings
Instalar com Codex ou Claude Copie este prompt, cole no Codex, Claude ou outro assistente e deixe que ele revise a página da skill e instale para você.
Baseado na classificação ocupacional SOC
The capsule verb, invoked explicitly — reconcile from the live memory, write a resume-ready capsule, then stop. Mid-session checkpoint or completion capsule; a rolling best-effort version of the same write also runs automatically on every Stop event via daemons/stop-capsule-writer.mjs.
The resume verb, invoked explicitly — load the newest valid capsule by created_at, re-ground against live memory, then ACT on waiting_on. Mid-session or on explicit ask; the post-clear boot fires the same procedure automatically via daemons/resume-verb.mjs.
Canonical seven-leg nightly close-parity protocol. Eleven independently evidenced checkpoints cover synthesis, reconciliation, context hygiene, sweeps, heat, digest, runtime health, cognitive state, ledger capture/review, and vault sync.
Commit the session to durable vault memory and prepare a clean resume point
Conservative close-parity updates to GOAL_STACK, BELIEF_STATE, SELF_MODEL, and PROCEDURES. Writes only explicit or mechanically evidenced deltas; ambiguity means no write.
Nightly context trim for ACTIVE_PRIORITIES and the dated SESSION_LOG schema. Archives before removal, uses content-hash compare-and-swap, and refuses unknown shapes.
| name | semantic-search |
| description | Search vault notes by meaning using local embeddings |
| trigger | /search |
Search the Obsidian vault by meaning, not just keywords. Uses local all-MiniLM-L6-v2 model — no API calls, no data leaves your machine.
# Search by meaning
node daemons/semantic-search/search-vault.js "your query here"
# Re-index (run after significant vault changes)
node daemons/semantic-search/embed-vault.js
# Re-index only changed files
node daemons/semantic-search/embed-vault.js --changed-only
cd daemons/semantic-search && npm install
node embed-vault.js # Initial index (~30 seconds)
If your vault also holds client work, deal notes, or anything under NDA, keep it out of the index:
cd daemons/semantic-search
cp index-deny.example.json index-deny.json
# then edit index-deny.json and list your own folders
Each entry in deny_prefixes is a vault-relative path prefix, matched case-insensitively and with either slash style. embed-vault.js drops matching files before they are embedded, so their text never reaches embeddings.json (which stores note excerpts in plaintext). search-vault.js re-checks the same list at query time, so an index built before you added a prefix still can't return one.
Only index-deny.example.json is tracked by git. Your index-deny.json is gitignored, because the names of your confidential folders are themselves confidential. With no index-deny.json at all, both scripts index and search everything and print a notice on stderr saying so. If the file exists but can't be read or parsed, they exit non-zero instead of falling back to an unfiltered index. Add a prefix the same session confidential material enters your vault, then re-run embed-vault.js: it also purges anything already indexed under a newly added prefix.