Skip to content
Back to skills

Langchain Retriever

ASecurity

LangChain retriever implementation with various retrieval strategies for RAG applications

  • 1,760 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 2, 2026
ai-agentsbashbackend

Works with

  • cli

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned September 2, 2026

npx -y skills add a5c-ai/babysitter --skill langchain-retriever --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Langchain Retriever?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Langchain Retriever
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/a5c-ai-langchain-retriever-babysitter/badge)](https://www.skillsdirectory.com/skills/a5c-ai-langchain-retriever-babysitter)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
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

Files in this skill

  • README.md662 B
  • SKILL.md1.6 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…