·contextual-retrieval
</>

contextual-retrieval

yonatangross/orchestkit

Anthropic's Contextual Retrieval technique for improved RAG. Use when chunks lose context during retrieval, implementing hybrid BM25+vector search, or reducing retrieval failures.

16Installs·0Trend·@yonatangross

Installation

$npx skills add https://github.com/yonatangross/orchestkit --skill contextual-retrieval

SKILL.md

Contextual Retrieval Prepend situational context to chunks before embedding to preserve document-level meaning.

| Traditional embeddings | 5.7% | | + Contextual embeddings | 3.5% | | + Contextual + BM25 hybrid | 1.9% | | + Contextual + BM25 + reranking | 1.3% |

67% reduction in retrieval failures with full contextual retrieval pipeline.

Anthropic's Contextual Retrieval technique for improved RAG. Use when chunks lose context during retrieval, implementing hybrid BM25+vector search, or reducing retrieval failures. Source: yonatangross/orchestkit.

View raw

Facts (cite-ready)

Stable fields and commands for AI/search citations.

Install command
npx skills add https://github.com/yonatangross/orchestkit --skill contextual-retrieval
Category
</>Dev Tools
Verified
First Seen
2026-02-01
Updated
2026-02-18

Quick answers

What is contextual-retrieval?

Anthropic's Contextual Retrieval technique for improved RAG. Use when chunks lose context during retrieval, implementing hybrid BM25+vector search, or reducing retrieval failures. Source: yonatangross/orchestkit.

How do I install contextual-retrieval?

Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.) Copy and run this command: npx skills add https://github.com/yonatangross/orchestkit --skill contextual-retrieval Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code or Cursor

Where is the source repository?

https://github.com/yonatangross/orchestkit