wshobson avatar

Rag Implementation

Solid foundation for building RAG systems that actually work in production. Covers the essential stack: vector databases like Pinecone and Chroma, embedding models including Anthropic's recommended voyage-3-large, and retrieval strategies from basic semantic search to advanced patterns like HyDE and parent document retrieval. The LangGraph examples show real implementation patterns, not toy demos. Includes hybrid search with BM25 plus embeddings, multi-query retrieval for better recall, and contextual compression to reduce noise. If you're building document Q&A, chatbots with external knowledge, or trying to reduce hallucinations with grounded responses, this covers the techniques that matter.

skills.sh installs
14.4K
GitHub stars
42.4K
last updated
Aug 21, 2026

Install

$ npx -y skills add wshobson/agents --skill rag-implementation --agent claude-code

Installs into .claude/skills of the current project.

Files

RAG Implementation

Master Retrieval-Augmented Generation (RAG) to build LLM applications that provide accurate, grounded responses using external knowledge sources.

When to Use This Skill

  • Building Q&A systems over proprietary documents
  • Creating chatbots with current, factual information
  • Implementing semantic search with natural language queries
  • Reducing hallucinations with grounded responses
  • Enabling LLMs to access domain-specific knowledge
  • Building documentation assistants
  • Creating research tools with source citation

Core Components

1. Vector Databases

Purpose: Store and retrieve document embeddings efficiently

Options:

  • Pinecone: Managed, scalable, serverless
  • Weaviate: Open-source, hybrid search, GraphQL
  • Milvus: Local persistence with Lite, or self-hosted server deployments
  • Chroma: Lightweight, easy to use, local development
  • Qdrant: Fast, filtered search, Rust-based
  • pgvector: PostgreSQL extension, SQL integration

2. Embeddings

Purpose: Convert text to numerical vectors for similarity search

Sponsors

Details

Repository
github.com/wshobson/agents
Categories
DevOps & CI/CD, AI & Agent Building

More from wshobson/agents

All 174
1resend avatarresend-cliresend/resend-skillsOperate the Resend platform from the terminal — send emails (including React Email .tsx templates via --react-email), manage domains, contacts, broadcasts, temp14Kskills.sh installs
2kylezantos avatardesign-motion-principleskylezantos/design-motion-principlesMotion and interaction design expert based on Emil Kowalski, Jakub Krehel, and Jhey Tompkins' techniques. Two modes — build interactive components with purposef13.8Kskills.sh installs
3tw93 avatarkamitw93/kamiTypeset professional documents and product landing pages: resumes, one-pagers, white papers, letters, portfolios, slide decks, landing pages. Warm parchment, in13.8Kskills.sh installs
4github avatargame-enginegithub/awesome-copilotExpert skill for building web-based game engines and games using HTML5, Canvas, WebGL, and JavaScript. Use when asked to create games, build game engines, imple13.4Kskills.sh installs
5antfu avatarturborepoantfu/skillsTurborepo monorepo build system guidance. Triggers on: turbo.json, task pipelines, dependsOn, caching, remote cache, the "turbo" CLI, --filter, --affected, CI o13.3Kskills.sh installs
6wshobson avatarstartup-financial-modelingwshobson/agentsBuild comprehensive 3-5 year financial models with revenue projections, cost structures, cash flow analysis, and scenario planning for early-stage startups. Use13.1Kskills.sh installs