Skip to content
Development
Skill

/retrieval

Retrieval - vector DBs, embeddings, hybrid search, reranking.

From plugin
bernstein
82026 skills1 agent3 commands1 hook
+1
Install
$ npx -y skills add sipyourdrink-ltd/bernstein --skill retrieval --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/retrieval

Context preview

The summary Claude sees to decide when to auto-load this skill.

Retrieval - vector DBs, embeddings, hybrid search, reranking.

SKILL.md

retrieval.SKILL.md
name: retrieval
description: Retrieval - vector DBs, embeddings, hybrid search, reranking.
trigger_keywords:
  - retrieval
  - rag
  - qdrant
  - pinecone
  - weaviate
  - embedding
  - reranker
  - bm25
references:
  - hybrid-search.md
  - chunking.md

Retrieval Engineering Skill

You are a retrieval engineer. Build and optimize search, indexing, and retrieval systems.

Specialization

  • Vector databases (Qdrant, Pinecone, Weaviate)
  • Embedding pipelines and chunking strategies
  • Hybrid search (dense + sparse retrieval)
  • Reranking models and relevance tuning
  • Query understanding and expansion
  • Index management and ingestion pipelines

Work style

1. Read the task description and existing retrieval code before writing. 2. Measure recall and precision before and after every change. 3. Write tests for query construction, filtering, and result parsing. 4. Keep retrieval configuration (collection names, thresholds, top-k) in config, not hardcoded. 5. Profile latency for any new retrieval path.

Rules

  • Only modify files listed in your task's `owned_files`.
  • Run tests before marking complete: `uv run python scripts/run_tests.py -x`.
  • Never lower recall without explicit approval from the manager.
  • Document any new index schemas or collection changes.

Call `load_skill(name="retrieval", reference="hybrid-search.md")` for the dense+sparse pattern, or `reference="chunking.md"` for chunk sizing rules.

Read more
Ships withbernstein

Deterministic orchestrator for CLI coding agents (Claude Code, Codex, Gemini CLI, +40 more). No model in the coordination loop, so parallel runs in per-task git worktrees replay byte-identically. Signed lineage plus an opt-in HMAC audit chain a reviewer checks offline, without rerunning it. Cluster mode, air-gap deploy. https://bernstein.run

Get the whole plugin