Skip to content
Automation
Skill

/langchain-retriever

LangChain retriever implementation with various retrieval strategies for RAG applications

From plugin
babysitter
1.8k200 skills3 agents21 commands1 MCP
Install
$ npx -y skills add a5c-ai/babysitter --skill langchain-retriever --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/langchain-retriever

Context preview

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

LangChain retriever implementation with various retrieval strategies for RAG applications

SKILL.md

langchain-retriever.SKILL.md
name: langchain-retriever
description: LangChain retriever implementation with various retrieval strategies for RAG applications
allowed-tools:
  - Read
  - Write
  - Edit
  - Bash
  - Glob
  - Grep
graph:
  domains: [domain:software-engineering]
  specializations: [specialization:ai-agents-conversational]
  skillAreas: [skill-area:retrieval-augmented-generation, skill-area:search-indexing]
  roles: [role:ml-engineer, role:backend-engineer]
  workflows: [workflow:ml-model-lifecycle, workflow:feature-development]

LangChain Retriever Skill

Capabilities

  • Implement various LangChain retriever types
  • Configure vector store retrievers
  • Set up multi-query retrievers for improved recall
  • Implement contextual compression retrievers
  • Design ensemble retrievers combining multiple strategies
  • Configure self-query retrievers for structured filtering

Target Processes

  • rag-pipeline-implementation
  • advanced-rag-patterns

Implementation Details

Retriever Types

1. **VectorStoreRetriever**: Basic similarity search 2. **MultiQueryRetriever**: Generates query variations 3. **ContextualCompressionRetriever**: Filters and compresses results 4. **EnsembleRetriever**: Combines multiple retrievers 5. **SelfQueryRetriever**: Structured metadata filtering 6. **ParentDocumentRetriever**: Returns parent chunks

Configuration Options

  • Search type (similarity, mmr, similarity_score_threshold)
  • Number of documents to retrieve (k)
  • Score thresholds
  • Metadata filtering
  • Compression settings

Dependencies

  • langchain
  • langchain-community
  • Vector store client
Read more
Ships withbabysitter

Enforce obedience on agentic workforces. Manage extremely complex workflows through deterministic, hallucination-free self-orchestration.

Get the whole plugin

Other skills on babysitter.