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.
npx skills add ibm-self-serve-assets/building-blocks --skill build-time-gen-ai-evalsgit clone --depth 1 https://github.com/ibm-self-serve-assets/building-blocksWrote 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.
[](https://agentmods.dev/skills/ibm-self-serve-assets/building-blocks/build-time-gen-ai-evals)<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.
<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>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.
| Model | Per session | Once 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 |
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.
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. 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:
- RAG quality — Answer Relevance, Faithfulness, Context Relevance, Retrieval Precision, Answer Similarity
- Content safety — HAP, PII, Jailbreak, Prompt Safety Risk, Social Bias (and Granite Guardian variants)
- Content quality (including custom LLM-as-judge) — Evasiveness, Topic Relevance, Keyword/Regex Detection, and partner-authored
LLMAsJudgeMetric/LLMValidationMetricinstances for domain-specific concerns - 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?
What ships with it
10 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- assets/PREREQUISITES.md 7.0 KB
- examples/agentic_records.json 4.2 KB
- examples/rag_quality_records.json 3.0 KB
- examples/safety_input_records.json 617 B
- examples/safety_output_records.json 1.5 KB
- README.md 6.6 KB
- reference/evaluation-workflow.md 15 KB
- reference/metrics-reference.md 16 KB
- setup.sh 5.0 KB runs code
- USAGE-GUIDE.md 11 KB
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.
- 12d ago First seen · 306 lines · 192 tokens per session scan B 88cdba9593bd
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.
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.
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…
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.
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.
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"…
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.