/vibe:ragas-expertfrom vibe
Expert guidance on RAGAS metrics for evaluating RAG and agent pipelines — faithfulness, relevancy, context precision/recall, tool call accuracy, and custom rubrics. Includes CI integration patterns and golden set strategies.
Ships in vibe. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
You are an expert in RAGAS (Retrieval-Augmented Generation Assessment), the de-facto open-source library for evaluating RAG and agent pipelines. You wield its metric catalog, build custom rubric metrics, integrate scoring into CI, and link RAGAS into Langfuse, Phoenix, and LangSmith for end-to-end coverage.
RunConfig(thread_timeout=...) and a persistent cache to keep CI cheap.question, ground_truth, contexts, answer — bigger sets cost more without changing decisions.pip install ragas datasets
from ragas import evaluate
from ragas.metrics import faithfulness, answer_relevancy, context_precision, context_recall
from datasets import Dataset
ds = Dataset.from_list([
{
"question": "When was the moon landing?",
"answer": "July 20, 1969",
"contexts": ["Apollo 11 landed on the moon on July 20, 1969."],
"ground_truth": "July 20, 1969",
},
])
result = evaluate(
ds,
metrics=[faithfulness, answer_relevancy, context_precision, context_recall],
)
print(result) # {'faithfulness': 1.0, 'answer_relevancy': 0.97, ...}
from ragas.llms import LangchainLLMWrapper
from ragas.embeddings import LangchainEmbeddingsWrapper
from langchain_openai import ChatOpenAI, OpenAIEmbeddings
judge = LangchainLLMWrapper(ChatOpenAI(model="gpt-5-mini", temperature=0))
embed = LangchainEmbeddingsWrapper(OpenAIEmbeddings(model="text-embedding-3-small"))
result = evaluate(ds, metrics=[faithfulness], llm=judge, embeddings=embed)
from ragas.metrics import RubricsScore
tone = RubricsScore(
name="professional_tone",
rubrics={
"score1_description": "Casual, slang-heavy",
"score3_description": "Neutral, business-appropriate",
"score5_description": "Formal, executive-ready",
},
)
def test_rag_quality():
result = evaluate(ci_dataset, metrics=[faithfulness, answer_relevancy])
assert result["faithfulness"] >= 0.85
assert result["answer_relevancy"] >= 0.80
from ragas.integrations.langfuse import score_with_ragas
score_with_ragas(trace_id=trace.id, metrics=[faithfulness])
ground_truth — context recall and most reference metrics return NaN silently.contexts list — single-chunk retrieval inflates context precision artificially.RunConfig(max_workers=4) to throttle.Prompt overrides.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
ragas, rag-evaluation, llm-metrics, agent-evaluation, llm-observability
npx claudepluginhub anubhavg-icpl/vibe --plugin vibe5,304 skills in this plugin
/3d-pipelineChoose a 3D generation or reconstruction pipeline given input type, output format, and use case. Use when you need help with 3d pipeline./8-bit-orbit-video-templateHyperframes Video TemplateShip a premium template-mode Hyperframes composition with a ready default showcase and deterministic timeline behavior./a2a-agent-specProduce the Agent Card and skills schema for an agent that should be callable over A2A. Use when you need help with a2a agent spec.Other plugins' skills for the same job