vault-sem-search-a
This skill should be used when the user asks to "search notes",
What this skill does
> **Action skill** — Semantic search operations: BM25, vector search, hybrid search, reindexing. # Semantic Search — qmd Search the vault by meaning using **qmd**, a local semantic search engine for markdown. BM25 + vector search + LLM re-ranking, all local. No cloud APIs. ## Setup (One-Time) If qmd is not installed: ```bash brew install oven-sh/bun/bun # Bun runtime (if not installed) bun install -g github:tobi/qmd # qmd itself ``` Register the vault as a collection: ```bash qmd collection add "<vault-path>" --name vault ``` Build initial embeddings (~2GB models downloaded on first run): ```bash qmd embed ``` Index stored at `~/.cache/qmd/index.sqlite` — outside vault, no gitignore needed. ## Commands ### Reindex When invoked with `--reindex` or after batch changes to the vault: ```bash qmd update # Re-index all collections (picks up new/changed/deleted files) qmd embed # Rebuild vector embeddings (needed after first install or model change) ``` Use `qmd update` for routine reindexing. Use `qmd embed` only for initial setup or embedding model changes. ### Quick Search (BM25) Fast keyword search. Good for finding notes that mention specific terms. ```bash qmd search "prediction market pricing" ``` ### Semantic Search (Vector) Vector similarity search. Finds conceptually related content even without keyword overlap. ```bash qmd vsearch "how do agents maintain context across sessions" ``` This is the most useful search mode for finding related notes, confirming filing destinations, and discovering connections. ### Best Quality (Hybrid + LLM Re-ranking) Combines BM25 + vector search + LLM re-ranking with 6 parallel searches. Highest quality but slower. ```bash qmd query "what patterns emerge in agentic development workflows" ``` Use for thorough exploration. Overkill for quick lookups. ### Get Document Retrieve the content of a specific document by path: ```bash qmd get "2-Areas/ai-dev-ecosystem/2025-01-21_agentic-learnings.md" ``` ### Output Formats Append format flags for programmatic use: - `--json` — JSON output (for parsing results) - `--csv` — CSV output - `--md` — Markdown formatted - `--files` — File paths only (one per line, useful for piping) Example: `qmd vsearch "agentic development" --files` returns just paths. ## When to Use Which | Need | Command | Speed | |------|---------|-------| | Find notes mentioning a term | `qmd search` | Fast | | Find conceptually similar notes | `qmd vsearch` | Medium | | Thorough exploration of a topic | `qmd query` | Slower | | Confirm filing destination | `qmd vsearch` | Medium | | Discover cross-area connections | `qmd query` | Slower | ## Integration with Other Skills - **auto-process-a**: Uses `qmd vsearch` to confirm filing destinations - **backlinks-a**: Uses `qmd vsearch` or `qmd query` to find semantically similar notes - **find-connections-a**: Uses `qmd query` for thorough connection discovery - **librarian agent**: Runs `qmd update` after batch processing ## Troubleshooting - **"No collections"**: Run `qmd collection add "<vault-path>" --name vault` - **"No embeddings"**: Run `qmd embed` (first time takes a few minutes) - **Stale results**: Run `qmd update` to re-index - **Check collections**: `qmd collection list` shows registered collections
Related in General
modeling-omnistudio-epc-catalog
IncludedSalesforce Industries CME EPC product-modeling skill for Product2-based catalog creation. Use when creating EPC products, configuring product attributes, building offer bundles with Product Child Items, or reviewing EPC DataPack JSON metadata for product catalog changes. TRIGGER when: user creates or updates Product2 EPC records, AttributeAssignment payloads, AttributeMetadata/AttributeDefaultValues, Offer bundles, or ProductChildItem relationships. DO NOT TRIGGER when: designing OmniScripts/FlexCards/Integration Procedures (use building-omnistudio-omniscript, building-omnistudio-flexcard, or building-omnistudio-integration-procedure), implementing Apex business logic (use generating-apex), or troubleshooting deployment pipelines (use deploying-metadata).
relationship-science-coach
IncludedUse this skill for direct, practical adult relationship coaching: couples conflict, repair, trust, marriage, dating, flirting, attachment patterns, emotional connection, sex, desire differences, eroticism, kink negotiation, affection, love languages, breakups, and long-term passion. Draw on Gottman, EFT and Hold Me Tight, attachment science, modern sex research, Perel, Nagoski, Kerner, Schnarch, Love and Stosny, and flexible love-language tools. Be concrete and low-hedge. Redirect only for imminent danger, abuse, coercive control, minors, non-consent, self-harm, stalking, or medical/legal/psychiatric decisions.
building-sf-integrations
IncludedSalesforce integration architecture and runtime plumbing with 120-point scoring. Use this skill to set up Named Credentials, External Credentials, External Services, REST/SOAP callout patterns, Platform Events, and Change Data Capture. TRIGGER when: user sets up Named Credentials, External Services, REST/SOAP callouts, Platform Events, CDC, or touches .namedCredential-meta.xml files. DO NOT TRIGGER when: Connected App/OAuth config (use configuring-connected-apps), Apex-only logic (use generating-apex), or data import/export (use handling-sf-data).
venue-templates
IncludedAccess comprehensive LaTeX templates, formatting requirements, and submission guidelines for major scientific publication venues (Nature, Science, PLOS, IEEE, ACM), academic conferences (NeurIPS, ICML, CVPR, CHI), research posters, and grant proposals (NSF, NIH, DOE, DARPA). This skill should be used when preparing manuscripts for journal submission, conference papers, research posters, or grant proposals and need venue-specific formatting requirements and templates.
let-fate-decide
IncludedDraws the 12 Houses of the Zodiac Tarot spread to inject entropy into planning when prompts are vague, ambiguous, or casually delegated. Interprets the spread to guide next steps. Use when the user says 'let fate decide', 'YOLO', 'whatever', 'idk', or other nonchalant phrases, makes Yu-Gi-Oh references, or when you are about to arbitrarily pick between multiple reasonable approaches. Prefer over ask-questions-if-underspecified when the user's tone is casual or playful rather than precision-seeking.
net-ops
IncludedCross-platform network troubleshooting (Windows, macOS, Linux) via local or remote shell. Use for: DNS broken, can't resolve hostnames, nslookup/dig works but apps fail, NRPT, WFP, scutil, /etc/resolver, systemd-resolved, /etc/resolv.conf, NetworkManager, VPN DNS leak residue (ProtonVPN/Mullvad/WireGuard/AnyConnect), AV/firewall blocking DNS or DoH, Tailscale DNS interaction, intermittent connectivity, remote diagnostics over SSH.