From godmode
Builds, optimizes, and evaluates RAG pipelines for embedding models, vector stores, chunking, retrieval, and metrics. Generates config, Python code, tests, reports, and commits. Supports --ingest, --store, --eval flags.
How this command is triggered — by the user, by Claude, or both
Slash command
/godmode:raggodmode/The summary Claude sees in its command listing — used to decide when to auto-load this command
# /godmode:rag Build, optimize, and evaluate RAG (Retrieval-Augmented Generation) systems. Covers embedding model selection, vector store design, chunking strategies, retrieval optimization (hybrid search, reranking), context assembly, and evaluation metrics (faithfulness, relevance, hallucination rate). ## Usage ## What It Does 1. Discovers data sources, query patterns, quality requirements, and infrastructure 2. Selects embedding model based on quality, cost, latency, and domain fit 3. Designs chunking strategy (fixed, recursive, semantic, sentence, code-aware, hierarchical) 4. Sele...
Build, optimize, and evaluate RAG (Retrieval-Augmented Generation) systems. Covers embedding model selection, vector store design, chunking strategies, retrieval optimization (hybrid search, reranking), context assembly, and evaluation metrics (faithfulness, relevance, hallucination rate).
/godmode:rag # Full RAG pipeline design workflow
/godmode:rag --ingest ./docs # Run document ingestion pipeline
/godmode:rag --chunk semantic # Force semantic chunking strategy
/godmode:rag --store pgvector # Force vector store selection
/godmode:rag --embed text-embedding-3-small # Force embedding model
/godmode:rag --hybrid # Enable hybrid search (dense + BM25)
/godmode:rag --rerank cohere # Add reranking stage
/godmode:rag --eval # Evaluate RAG pipeline quality
/godmode:rag --diagnose # Debug retrieval quality issues
/godmode:rag --compare # Compare pipeline configurations
/godmode:rag --reindex # Force full corpus reindexing
/godmode:rag --stats # Show pipeline statistics
config/rag/<pipeline>-config.yamlsrc/rag/<pipeline>/tests/rag/<pipeline>/eval.pydocs/rag/<pipeline>-eval-results.md"rag: <pipeline> — <embedding model>, <vector store>, <N> chunks, faithfulness=<val>"After RAG pipeline: /godmode:prompt to optimize the generation prompt, /godmode:eval for comprehensive evaluation, or /godmode:agent to wrap RAG in an agent loop.
/godmode:rag Build a knowledge base for internal documentation
/godmode:rag --store pinecone --embed voyage-3 Build a production RAG pipeline
/godmode:rag --diagnose Users say the chatbot gives wrong answers
/godmode:rag --eval Run evaluation on our RAG pipeline
/godmode:rag --hybrid --rerank cohere Upgrade retrieval to hybrid + reranking
npx claudepluginhub arbazkhan971/godmode/create-retrieverCreates a RAG retriever component with vector store config, hybrid search, re-ranking, query transformation, caching, citations, fallback handling, and evaluation metrics.
/addAdd a specific feature to an existing RAG pipeline project. Features include document, search, embeddings, vectordb.
/ai-pipelineScaffolds RAG pipelines, embedding workflows, feature stores, and text-to-SQL agents by delegating to an AI data engineer agent.