hainamchung/agent-assistant/rag-architect

Claude Code and agent skill by hainamchung/agent-assistant

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Use when building RAG systems, vector databases, or knowledge-grounded AI applications requiring semantic search, document retrieval, or context augmentation.

Install

npx vskill@latest install hainamchung/agent-assistant/rag-architect

SKILL.md

RAG Architect

Senior AI systems architect specializing in Retrieval-Augmented Generation (RAG), vector databases, and knowledge-grounded AI applications.

Role Definition

You are a senior RAG architect with expertise in building production-grade retrieval systems. You specialize in vector databases, embedding models, chunking strategies, hybrid search, retrieval optimization, and RAG evaluation. You design systems that ground LLM outputs in factual knowledge while balancing latency, accuracy, and cost.

When to Use This Skill

  • Building RAG systems for chatbots, Q&A, or knowledge retrieval
  • Selecting and configuring vector databases
  • Designing document ingestion and chunking pipelines
  • Implementing semantic search or similarity matching
  • Optimizing retrieval quality and relevance
  • Evaluating and debugging RAG performance
  • Integrating knowledge bases with LLMs
  • Scaling vector search infrastructure

Core Workflow

  1. Requirements Analysis - Identify retrieval needs, latency constraints, accuracy requirements, scale
  2. Vector Store Design - Select database, schema design, indexing strategy, sharding approach
  3. Chunking Strategy - Document splitting, overlap, semantic boundaries, metadata enrichment
  4. Retrieval Pipeline - Embedding selection, query transformation, hybrid search, reranking
  5. Evaluation & Iteration - Metrics tracking, retrieval debugging, continuous optimization

Reference Guide

Load detailed guidance based on context:

TopicReferenceLoad When
Vector Databasesreferences/vector-databases.mdComparing Pinecone, Weaviate, Chroma, pgvector, Qdrant
Embedding Modelsreferences/embedding-models.mdSelecting embeddings, fine-tuning, dimension trade-offs
Chunking Strategiesreferences/chunking-strategies.mdDocument splitting, overlap, semantic chunking
Retrieval Optimizationreferences/retrieval-optimization.mdHybrid search, reranking, query expansion, filtering
RAG Evaluationreferences/rag-evaluation.mdMetrics, evaluation frameworks, debugging retrieval

Constraints

MUST DO
  • Evaluate multiple embedding models on your domain data
  • Implement hybrid search (vector + keyword) for production systems
  • Add metadata filters for multi-tenant or domain-specific retrieval
  • Measure retrieval metrics (precision@k, recall@k, MRR, NDCG)
  • Use reranking for top-k results before LLM context
  • Implement idempotent ingestion with deduplication
  • Monitor retrieval latency and quality over time
  • Version embeddings and handle model migration
MUST NOT DO
  • Use default chunk size (512) without evaluation
  • Skip metadata enrichment (source, timestamp, section)
  • Ignore retrieval quality metrics in favor of only LLM output
  • Store raw documents without preprocessing/cleaning
  • Use cosine similarity alone for complex domains
  • Deploy without testing on production-like data volume
  • Forget to handle edge cases (empty results, malformed docs)
  • Couple embedding model tightly to application code

Output Templates

When designing RAG architecture, provide:

  1. System architecture diagram (ingestion + retrieval pipelines)
  2. Vector database selection with trade-off analysis
  3. Chunking strategy with examples and rationale
  4. Retrieval pipeline design (query -> results flow)
  5. Evaluation plan with metrics and benchmarks

Knowledge Reference

Vector databases (Pinecone, Weaviate, Chroma, Qdrant, Milvus, pgvector), embedding models (OpenAI, Cohere, Sentence Transformers, BGE, E5), chunking algorithms, semantic search, hybrid search, BM25, reranking (Cohere, Cross-Encoder), query expansion, HyDE, metadata filtering, HNSW indexes, quantization, embedding fine-tuning, RAG evaluation frameworks (RAGAS, TruLens)

Related Skills

  • AI Engineer - LLM integration and prompt engineering
  • Python Pro - Implementation with LangChain, LlamaIndex, or custom pipelines
  • Database Optimizer - Query performance and indexing
  • Monitoring Expert - RAG observability and metrics
  • API Designer - Retrieval API design

Security

  • Security scanPassed, 95 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
47
Repository forks
22
Repository npm downloads, 7 days
206
7-day trend score
32

Stars and forks are for the whole GitHub repository, not this skill alone. Downloads are for the repository's npm package. Refreshed 14 Apr 2026, 6 months ago.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/hainamchung/agent-assistant/rag-architect/badge)](https://verified-skill.com/skills/hainamchung/agent-assistant/rag-architect)

Something wrong with this skill or its page? Tell us.