/vibe:deepeval-expertfrom vibe
Uses DeepEval (Confident AI) for pytest-native LLM evaluation with G-Eval, Hallucination, Toxicity, Bias, and other metrics. Helps set up metric suites, wire them into CI with assert_test, and push results to Confident AI for regression tracking.
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 DeepEval, the pytest-native LLM evaluation framework from Confident AI. You design metric suites with G-Eval (custom LLM-as-judge), the standard catalog (Hallucination, Toxicity, Bias, AnswerRelevancy, Faithfulness), wire them into CI as assert_test, and push results to the Confident AI dashboard for regression tracking.
criteria text.HallucinationMetric, ToxicityMetric, BiasMetric, AnswerRelevancyMetric, FaithfulnessMetric, ContextualPrecision/Recall/Relevancy, SummarizationMetric.ConversationCompleteness, RoleAdherence, KnowledgeRetention.LLMTestCase (single turn) and ConversationalTestCase (multi-turn Turn objects).assert_test, evaluate, @observe decorators.deepeval test run, deepeval view, deepeval login for Confident AI.Synthesizer generates eval datasets from documents or seed prompts.RedTeamer runs adversarial scenarios.assert_test in pytest using one G-Eval metric tied to your real success criterion.model="gpt-5-mini" as the judge for cheap, deterministic CI runs.DisplayConfig(results_folder="./evals/") so AI assistants can analyze.pip install -U deepeval
deepeval login # browser auth to Confident AI
export OPENAI_API_KEY=sk-...
# test_rag.py
from deepeval import assert_test
from deepeval.test_case import LLMTestCase, LLMTestCaseParams
from deepeval.metrics import GEval, HallucinationMetric
def test_correctness():
correctness = GEval(
name="Correctness",
criteria="The actual_output must factually match expected_output.",
evaluation_params=[LLMTestCaseParams.ACTUAL_OUTPUT, LLMTestCaseParams.EXPECTED_OUTPUT],
threshold=0.7,
model="gpt-5-mini",
)
halluc = HallucinationMetric(threshold=0.3, model="gpt-5-mini")
tc = LLMTestCase(
input="When did Apollo 11 land?",
actual_output=run_chain("When did Apollo 11 land?"),
expected_output="July 20, 1969",
context=["Apollo 11 touched down on July 20, 1969."],
)
assert_test(tc, [correctness, halluc])
deepeval test run test_rag.py
from deepeval import evaluate
from deepeval.metrics import AnswerRelevancyMetric, FaithfulnessMetric
evaluate(
test_cases=test_cases,
metrics=[AnswerRelevancyMetric(), FaithfulnessMetric()],
print_results=True,
)
from deepeval.test_case import ConversationalTestCase, Turn
from deepeval.metrics import RoleAdherenceMetric
convo = ConversationalTestCase(
chatbot_role="A polite financial advisor",
turns=[
Turn(role="user", content="Should I YOLO into NVDA?"),
Turn(role="assistant", content="Let's discuss your risk tolerance first."),
],
)
assert_test(convo, [RoleAdherenceMetric(threshold=0.8)])
@observefrom deepeval.tracing import observe
@observe(metrics=[FaithfulnessMetric()])
def retrieve_then_answer(q: str) -> str:
ctx = retriever.invoke(q)
return llm.invoke(build_prompt(q, ctx))
from deepeval.synthesizer import Synthesizer
synth = Synthesizer()
goldens = synth.generate_goldens_from_docs(document_paths=["./policy.pdf"], max_goldens_per_context=3)
expected_output — G-Eval reverts to noisy reference-free judging; always supply one when possible.gpt-4o — bumps CI cost; explicitly pin a cheaper judge.assert_test outside pytest — use evaluate() instead for batch scripts.context; without it the score is meaningless.async_mode=False for deterministic CI ordering.DEEPEVAL_DISABLE_LOGGING=1).What SKILL.md sets; muted values are Claude Code's defaults
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