Install any skill in seconds. Free to start, no credit card required.
Get Started Free →You are an expert in Braintrust, the evaluation and observability platform for AI applications. You help developers run systematic evaluations, compare model versions, track experiments, log production traces, and measure quality metrics — with a focus on making AI development as rigorous as traditional software testing.
.claude/skills/terminalskills-braintrust/SKILL.md| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-01 | ✗→✓ | ▲ Improved | -3% | 0% |
| case-05 | ✗→✓ | ▲ Improved | 11% | 0% |
| case-07 | ✗→✓ | ▲ Improved | 29% | 0% |
| case-11 | ✗→✓ | ▲ Improved | 31% | 0% |
| case-13 | ✗→✓ | ▲ Improved | -53% | 0% |
You are an expert in Braintrust, the evaluation and observability platform for AI applications. You help developers run systematic evaluations, compare model versions, track experiments, log production traces, and measure quality metrics — with a focus on making AI development as rigorous as traditional software testing.
typescriptimport { Eval, init } from "braintrust"; init({ apiKey: process.env.BRAINTRUST_API_KEY }); // Run evaluation await Eval("support-chatbot", { data: () => [ { input: "How do I reset my password?", expected: "Go to Settings > Security > Reset Password" }, { input: "What's the pricing?", expected: "Plans start at $29/month" }, { input: "I need a refund", expected: "Contact support at help@example.com" }, ], task: async (input) => { const response = await callChatbot(input); return response.text; }, scores: [ // Built-in scorers Factuality, // Does output match expected facts? ClosedQA, // Is the answer correct given context? // Custom scorer (output, expected) => { const containsKey = expected.toLowerCase().split(" ") .some(word => output.toLowerCase().includes(word)); return { name: "keyword_match", score: containsKey ? 1 : 0 }; }, ], }); // Results visible in Braintrust dashboard with diffs, regressions, improvements
python# Python from braintrust import Eval Eval( "rag-pipeline", data=lambda: [{"input": q, "expected": a} for q, a in test_pairs], task=lambda input: rag_pipeline.query(input), scores=[Factuality, Relevance], )
bashnpm install braintrust autoevals # or pip install braintrust autoevals
autoevals; LLM-based quality scoringbraintrust.traced() for production observability; same dashboard as evals| Case | Status | Duration (ms) | Turns | Tokens | Tool calls | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Without | With | Δ | Without | With | Δ | Without | With | Δ | Without | With | Δ | ||
case-02 | pass→pass | 12,323 | 7,915 | -36% | 1 | 1 | 0% | 2,673 | 2,272 | -15% | 0 | 0 | — |
case-03 | fail→fail | 13,713 | 10,739 | -22% | 1 | 1 | 0% | 3,139 | 2,985 | -5% | 0 | 0 | — |
case-20 | pass→fail | 11,411 | 9,390 | -18% | 1 | 1 | 0% | 2,577 | 2,304 | -11% | 0 | 0 | — |
case-01 | fail→pass | 9,947 | 4,857 | -51% | 1 | 1 | 0% | 1,564 | 1,517 | -3% | 0 | 0 | — |
case-04 | pass→pass | 4,386 | 2,586 | -41% | 1 | 1 | 0% | 901 | 1,080 | +20% | 0 | 0 | — |
case-05 | fail→pass | 13,601 | 11,329 | -17% | 1 | 1 | 0% | 2,714 | 3,026 | +11% | 0 | 0 | — |
case-06 | pass→pass | 8,803 | 4,359 | -50% | 1 | 1 | 0% | 1,405 | 1,510 | +7% | 0 | 0 | — |
case-07 | fail→pass | 8,187 | 5,650 | -31% | 1 | 1 | 0% | 1,308 | 1,683 | +29% | 0 | 0 | — |
case-08 | pass→pass | 10,412 | 12,365 | +19% | 1 | 1 | 0% | 1,703 | 2,770 | +63% | 0 | 0 | — |
case-09 | pass→pass | 16,648 | 14,985 | -10% | 1 | 1 | 0% | 2,564 | 3,332 | +30% | 0 | 0 | — |
case-10 | pass→pass | 12,399 | 7,683 | -38% | 1 | 1 | 0% | 2,220 | 2,082 | -6% | 0 | 0 | — |
case-11 | fail→pass | 11,437 | 11,023 | -4% | 1 | 1 | 0% | 2,035 | 2,673 | +31% | 0 | 0 | — |
case-12 | pass→pass | 9,584 | 9,643 | +1% | 1 | 1 | 0% | 1,791 | 2,484 | +39% | 0 | 0 | — |
case-13 | fail→pass | 8,144 | 1,323 | -84% | 1 | 1 | 0% | 1,782 | 830 | -53% | 0 | 0 | — |
case-14 | pass→pass | 4,620 | 1,307 | -72% | 1 | 1 | 0% | 792 | 841 | +6% | 0 | 0 | — |
case-15 | pass→pass | 7,582 | 7,120 | -6% | 1 | 1 | 0% | 1,407 | 2,162 | +54% | 0 | 0 | — |
case-16 | pass→pass | 7,123 | 3,005 | -58% | 1 | 1 | 0% | 1,254 | 1,102 | -12% | 0 | 0 | — |
case-17 | pass→pass | 6,218 | 5,493 | -12% | 1 | 1 | 0% | 1,022 | 1,667 | +63% | 0 | 0 | — |
case-18 | pass→pass | 11,997 | 9,522 | -21% | 1 | 1 | 0% | 2,211 | 2,279 | +3% | 0 | 0 | — |
case-19 | pass→pass | 5,731 | 4,747 | -17% | 1 | 1 | 0% | 1,118 | 1,535 | +37% | 0 | 0 | — |
case-21 | pass→fail | 11,133 | 7,883 | -29% | 1 | 1 | 0% | 2,257 | 2,153 | -5% | 0 | 0 | — |
case-22 | pass→pass | 6,812 | 7,379 | +8% | 1 | 1 | 0% | 1,859 | 2,308 | +24% | 0 | 0 | — |
DecimalAI ran this skill against gemini-3.6-flash twice over the same eval suite — once with the skill loaded and once without — and compared the two runs case by case. 22 cases were attempted. The headline lift of +14 percentage points is the difference between those two pass rates over the 22 comparable cases. 2 cases got worse with the skill loaded, and they are included in that figure.
Without the skill loaded, the model failed this case. With it loaded, the same prompt on the same model passed. This is one improved case from the latest verified run; every case, including any that regressed, is in the table above.
Other measured skills in the registry, with their headline benchmark lift.