rag-skills

Audit and optimize RAG pipelines with LlamaIndex, ChromaDB, and Celery best practices.

835|58|Updated Jul 9, 2025
One-click install
npx skills add https://github.com/llama-farm/llamafarm --skill rag-skills
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: rag-skills
Source: https://github.com/llama-farm/llamafarm/tree/main/.claude/skills/rag-skills
Command: npx skills add https://github.com/llama-farm/llamafarm --skill rag-skills

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill provides a curated set of RAG-focused best practices covering LlamaIndex usage, ChromaDB vector stores, and Celery workers. It targets reliability, performance, and maintainability of on-prem RAG pipelines.

Core Features & Use Cases

  • Guidelines for ingestion, retrieval, embeddings, and task orchestration across Python stacks.
  • Code-review checklists and architecture patterns to ensure consistency across components.
  • Use Case: Audit and optimize a production RAG workflow by enforcing deterministic IDs, thread-safe access, and proper Celery routing.

Quick Start

Apply the rag-skills guidelines to your project by auditing your RAG components and implementing the recommended patterns.

Frequently Asked Questions about rag-skills

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
What are the best practices for RAG pipelines using LlamaIndex and ChromaDB?

Best practices for RAG pipelines using LlamaIndex and ChromaDB include enforcing deterministic IDs, ensuring thread-safe client access, and implementing proper batch processing. These patterns improve ingestion, retrieval, and embedding reliability in production.

How do I audit a production RAG workflow for reliability and performance?

To audit a production RAG workflow, apply curated code-review checklists targeting ingestion, retrieval, embeddings, and task orchestration. This enforces configuration guidance and safety considerations across Python stacks to optimize overall pipeline performance.

How do I ensure thread-safe ChromaDB client access in Celery workers?

Ensuring thread-safe ChromaDB client access in Celery workers requires following specific configuration guidance and safety considerations. Implementing proper task naming and routing patterns guarantees consistent, reliable task orchestration across concurrent operations.

Can I use Celery for task orchestration in a LlamaIndex RAG pipeline?

Yes, you can use Celery for task orchestration in a LlamaIndex RAG pipeline. Best practices include implementing proper Celery routing, deterministic task naming, and batch processing to maintain reliability and performance across Python stacks.

Why does my RAG ingestion pipeline have inconsistent retrieval results?

Inconsistent retrieval results in a RAG ingestion pipeline often stem from lacking deterministic IDs or improper batch processing. Enforcing code-review patterns and configuration guidance for embeddings and ingestion ensures deterministic, reliable pipeline outputs.

What is the best way to configure Celery routing for RAG task orchestration?

The best way to configure Celery routing for RAG task orchestration involves applying specific code-review patterns and safety considerations. Proper task naming and thread-safe client use ensure reliable task execution and consistent pipeline performance.