retrieval SKILL.md skillA

retrieval from sipyourdrink-ltd/bernstein is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add sipyourdrink-ltd/bernstein/retrieval@git:20260521.b455a7c

Pins git:20260521.b455a7c in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
sipyourdrink-ltd/bernstein
Path
templates/skills/retrieval/SKILL.md
Versions recorded
2
Latest version
git:20260521.b455a7c, committed May 21, 2026
First version recorded
Apr 19, 2026
Size
1,438 bytes
Repository stars
1,196
License
Apache-2.0

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

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# 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 the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add sipyourdrink-ltd/bernstein/retrieval@sha256:d05efca234d56765

The line at the top of this page pins the label git:20260521.b455a7c, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_ujh3jlzehbckchb7.svg)](https://markdownregistry.com/a/art_ujh3jlzehbckchb7)

5 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 2 versions of this file, between Apr 19, 2026 and May 21, 2026, about one every 32 days.

versioncommittedcommitsizeaudit
git:20260521.b455a7c latest2026-05-21 b455a7c 1,438 BA view · diff
git:20260419.8d1fdd12026-04-19 8d1fdd1 1,440 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (1438 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

sipyourdrink-ltd/bernstein · 1,196 stars · license Apache-2.0 · pushed 2026-11-08 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_ujh3jlzehbckchb7
GET https://markdownregistry.com/api/v1/resolve?ref=sipyourdrink-ltd/bernstein/retrieval
GET https://markdownregistry.com/api/v1/blob/d05efca234d56765485137fb49bce5c144632316afc988d180b7f36165777c50

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from sipyourdrink-ltd/bernstein

architecture Cursor rule
sipyourdrink-ltd/bernstein · .cursor/rules/architecture.mdc · Architecture (entry points)
git:20260901.719ea1e · audit A · 1,196 stars
build-test Cursor rule
sipyourdrink-ltd/bernstein · .cursor/rules/build-test.mdc · Build & test
git:20260724.4544404 · audit A · 1,196 stars
directory-context Cursor rule
sipyourdrink-ltd/bernstein · .cursor/rules/directory-context.mdc · Directory context files
git:20260803.747152b · audit A · 1,196 stars
documentation-duty Cursor rule
sipyourdrink-ltd/bernstein · .cursor/rules/documentation-duty.mdc · Documentation duty
git:20260521.b455a7c · audit A · 1,196 stars
git-workflow Cursor rule
sipyourdrink-ltd/bernstein · .cursor/rules/git-workflow.mdc · Git workflow
git:20260521.b455a7c · audit B · 1,196 stars
module-map Cursor rule
sipyourdrink-ltd/bernstein · .cursor/rules/module-map.mdc · Module map
git:20260821.e59b413 · audit A · 1,196 stars
overview Cursor rule
sipyourdrink-ltd/bernstein · .cursor/rules/overview.mdc · Overview
git:20261002.1ce47da · audit A · 1,196 stars
roles Cursor rule
sipyourdrink-ltd/bernstein · .cursor/rules/roles.mdc · Agent roles
git:20260521.b455a7c · audit A · 1,196 stars
setup Cursor rule
sipyourdrink-ltd/bernstein · .cursor/rules/setup.mdc · Setup
git:20260521.b455a7c · audit A · 1,196 stars
AGENTS.md AGENTS.md file
sipyourdrink-ltd/bernstein · AGENTS.md
git:20261002.1ce47da · audit A · 1,196 stars
CLAUDE.md CLAUDE.md file
sipyourdrink-ltd/bernstein · CLAUDE.md
git:20261002.1ce47da · audit A · 1,196 stars
DESIGN.md@docs/architecture DESIGN.md file
sipyourdrink-ltd/bernstein · docs/architecture/DESIGN.md
git:20260930.5f47161 · audit A · 1,196 stars

Every file in sipyourdrink-ltd/bernstein

Browse by kind, by grade A, or by owner.