Tooluck logoTooluck
SKILL.md

agent-evals

Agent skill fromBagelHole/DevOps-Security-Agent-Skills

Build automated evaluation suites for AI agents using golden datasets, rubrics, and regression gates. Use when shipping agent features, validating prompt changes, or gating deployments on quality.

How to install agent-evals

install agent-evals
# install the DevOps-Security-Agent-Skills pack with the skills CLI
npx skills add BagelHole/DevOps-Security-Agent-Skills

# or add only this skill to Claude Code: copy the folder

devops/ai/agent-evals/

# into

~/.claude/skills/agent-evals/ (all projects)

.claude/skills/agent-evals/ (one project)

devops/ai/agent-evals/SKILL.md

MITFull file
1# Agent Evals
2
3Create repeatable checks so agent behavior improves safely over time.
4
5## When to Use This Skill
6
7Use this skill when:
8- Shipping new agent features or changing prompts
9- Adding CI gates for agent quality and safety
10- Building regression suites for tool-calling agents
11- Measuring LLM output quality at scale
12- Validating RAG retrieval accuracy
13
14## Prerequisites
15
16- Python 3.10+
17- An LLM API key (OpenAI, Anthropic, etc.)
18- pytest or a custom eval harness
19- Optional: Braintrust, Promptfoo, or LangSmith account
20
21## Evaluation Layers
22
23### Unit Evals — Prompt-Level Correctness
24
25Test individual prompt → response quality:
26
27```python
28# evals/test_unit.py
29import json
30import pytest
31from agent import generate_response
32
33CASES = json.load(open("evals/fixtures/unit_cases.json"))
34
35@pytest.mark.parametrize("case", CASES, ids=lambda c: c["id"])
36def test_prompt_correctness(case):
37 result = generate_response(case["prompt"], model=case.get("model", "default"))
38 # Exact match for structured output
39 if case.get("expected_json"):
40 assert json.loads(result) == case["expected_json"]
41 # Substring match for free-text
42 for keyword in case.get("must_contain", []):
43 assert keyword.lower() in result.lower(), f"Missing: {keyword}"
44 for keyword in case.get("must_not_contain", []):
45 assert keyword.lower() not in result.lower(), f"Unexpected: {keyword}"
46```
47
48Golden dataset format:
49
50```json
51[
52 {
53 "id": "calc-01",
54…

Excerpt shown under the repository's MIT license.

More skills in DevOps-Security-Agent-Skills

Keep exploring

Similar skill repositories

thedotmack /

claude-mem
116k

Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More

CCCXGHGM+135 skills

Newsletter

Join the Community

Subscribe to our newsletter for the latest news and updates