build-time-gen-ai-evals

build-time-gen-ai-evals is a skill for Claude Code, Codex from ibm-self-serve-assets/building-blocks. It costs 192 tokens per session (4,356 once invoked), scanned B, original, Apache-2.0.

A guide for checking generative-AI applications before release with IBM watsonx.governance, including retrieval systems, chatbots, language-model outputs, and tool-using agents.

In plain words
What is it for?
Use it to measure answer relevance, factual support, retrieval quality, harmful or private content, jailbreak risk, bias, and the accuracy of an agent’s tool calls and parameters.
Why use it?
It turns questions about answer quality, safety, and tool use into defined checks with explained scores and thresholds. Retrieval-augmented generation (RAG) is an approach that lets an AI answer using information it first retrieves.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to measure answer relevance, factual support, retrieval quality, harmful or private content, jailbreak risk, bias, and the accuracy of an agent’s tool calls and parameters.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ibm-self-serve-assets/building-blocks/build-time-gen-ai-evals
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add ibm-self-serve-assets/building-blocks --skill build-time-gen-ai-evals
Clone the repo
git clone --depth 1 https://github.com/ibm-self-serve-assets/building-blocks

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for build-time-gen-ai-evals

README.md
[![agentmods](https://agentmods.dev/badge/skills/ibm-self-serve-assets/building-blocks/build-time-gen-ai-evals/github.svg)](https://agentmods.dev/skills/ibm-self-serve-assets/building-blocks/build-time-gen-ai-evals)
Your own site
<a href="https://agentmods.dev/skills/ibm-self-serve-assets/building-blocks/build-time-gen-ai-evals"><img src="https://agentmods.dev/badge/skills/ibm-self-serve-assets/building-blocks/build-time-gen-ai-evals/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for build-time-gen-ai-evals

Your own site · 80×15
<a href="https://agentmods.dev/skills/ibm-self-serve-assets/building-blocks/build-time-gen-ai-evals"><img src="https://agentmods.dev/badge/skills/ibm-self-serve-assets/building-blocks/build-time-gen-ai-evals.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 192 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,356 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00192 $0.04356
Opus 5 $0.00096 $0.02178
Sonnet 5 $0.00038 $0.00871
Haiku 4.5 $0.00019 $0.00436

Measured 12d ago against content hash 88cdba9593bd, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade B, and why

build-time-gen-ai-evals scanned grade B with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 12d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (setup.sh), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Strips warnings and disclaimersmediumAnti-refusal

Omitting safety caveats hides risk from the user and is a common jailbreak preamble.

- Keep explanations concise — do not lecture.
ibm-bob/skills/build-time-gen-ai-evals/SKILL.md · 306 lines

How it starts

The opening of the file, as written. The whole thing — 306 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Build-Time GenAI Evaluations

This skill drives pre-deployment evaluation of GenAI applications using IBM watsonx.governance metrics, with the ibm-watsonx-gov Python SDK installed directly into the partner's environment. Covers four evaluation surfaces:

  1. RAG quality — Answer Relevance, Faithfulness, Context Relevance, Retrieval Precision, Answer Similarity
  2. Content safety — HAP, PII, Jailbreak, Prompt Safety Risk, Social Bias (and Granite Guardian variants)
  3. Content quality (including custom LLM-as-judge) — Evasiveness, Topic Relevance, Keyword/Regex Detection, and partner-authored LLMAsJudgeMetric / LLMValidationMetric instances for domain-specific concerns
  4. Agentic tool-calling — Tool Call Accuracy, Parameter Accuracy, Relevance, Syntactic Accuracy

Stance: detect-first, explain-always. Bob scans the workspace for usable data before asking the user to provide it. Bob shows the exact record shape before requesting data. Bob explains each metric before running it. Bob interprets every score against its threshold — never just shows raw numbers.

Architecture: the partner installs the SDK locally (see assets/PREREQUISITES.md for the install and credentials). All evaluation runs in-process in their Python — no MCP server, no hosted endpoint, no Code Engine dependency. Data stays on the partner's machine; only the underlying watsonx.governance / watsonx.ai API calls go to IBM Cloud (the SDK handles these).


First action — detect entry point, then evaluate

On EVERY conversation start, ask ONE question:

What are you evaluating today? (a) RAG pipeline — question/answer quality against retrieved context (b) LLM / chatbot output — safety and content screening (c) AI agent — tool-calling accuracy from recorded traces (d) Custom LLM-as-judge guardrail — domain-specific rubric the catalog doesn't cover (e) Not sure — describe your app and I'll suggest the right evaluation

Then ask:

Do you already have evaluation data prepared, or do you need help collecting and formatting it?

Read the full file on GitHub · 306 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 12d ago First seen · 306 lines · 192 tokens per session scan B 88cdba9593bd

Subscribe to this mod's changes

build-time-gen-ai-evals is a skill published in the GitHub repository ibm-self-serve-assets/building-blocks (24 stars, last pushed yesterday), licensed Apache-2.0. It adds 192 tokens to every session and 4,356 once invoked, about $0.0010 per session on Opus 5. A static security scan graded it B with 1 finding (strips warnings and disclaimers). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

embeddings

Vector embeddings with HNSW indexing, sql.js persistence, and hyperbolic support. 75x faster with agentic-flow integration. Use when: semantic search, pattern matching, similarity queries, knowledge retrieval. Skip when: exact text matching, simple lookups, no semantic understanding needed.

ruvnet/ruflo · 62 tokens

agent-platform-rag-engine-management

Manage and query Agent Platform RAG Engine Corpora and retrieve grounded contexts using the Google GenAI SDK. Use when listing RAG corpora or files, inspecting a corpus, retrieving contexts, or generating content grounded in a RAG corpus. Do not use for standard database queries (use SQL/Spanner skills), Google…

google/skills · 85 tokens

llm-app-patterns

Production-ready patterns for building LLM applications. Covers RAG pipelines, agent architectures, prompt IDEs, and LLMOps monitoring. Use when designing AI applications, implementing RAG, building agents, or setting up LLM observability.

davila7/claude-code-templates · 54 tokens

9router-embeddings

Generate vector embeddings via 9Router /v1/embeddings using OpenAI / Gemini / Mistral / Voyage / Nvidia / GitHub embedding models for RAG, semantic search, similarity. Use when the user wants embeddings, vectors, RAG, semantic search, or to embed text.

decolua/9router · 66 tokens

azure-search-documents-dotnet

Azure AI Search SDK for .NET (Azure.Search.Documents). Use for building search applications with full-text, vector, semantic, and hybrid search. Covers SearchClient (queries, document CRUD), SearchIndexClient (index management), and SearchIndexerClient (indexers, skillsets). Triggers: "Azure Search .NET"…

microsoft/skills · 102 tokens

browserwing-admin

Manage and operate BrowserWing — an intelligent browser automation platform. Install dependencies, configure LLM, create/manage/execute automation scripts, use AI-driven exploration to generate scripts, browse the script marketplace, and troubleshoot issues.

MemTensor/MemOS · 47 tokens