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.5 | $0.00077 | $0.01742 |
| Sonnet 5.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 2mo 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.
- 2mo 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 (28 stars, last pushed yesterday), licensed Apache-2.0. It adds 192 tokens to every session and 4,356 once invoked, about $0.0008 per session on Opus 5.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.
build-time-gen-ai-evals compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| build-time-gen-ai-evalsibm-self-serve-assets/building-blocks | Skill | 28 | yesterday | Apache-2.0 | B | 192 | Claude Code, Codex |
| embeddingsruvnet/ruflo | Skill | 81k | yesterday | MIT | A | 62 | Claude Code |
| agent-platform-rag-engine-managementgoogle/skills | Skill | 22k | yesterday | Apache-2.0 | A | 85 | Claude Code, Codex |
| llm-app-patternsdavila7/claude-code-templates | Skill | 33k | yesterday | MIT | A | 54 | Claude Code, Codex |
| 9router-embeddingsdecolua/9router | Skill | 32k | 9d ago | MIT | A | 66 | Claude Code, Codex |
| embedding-strategiesforyourhealth111-pixel/Vibe-Skills | Skill | 3.8k | 3d ago | Apache-2.0 | A | 37 | Claude Code, Codex |
| similarity-search-patternsforyourhealth111-pixel/Vibe-Skills | Skill | 3.8k | 3d ago | Apache-2.0 | A | 30 | Claude Code, Codex |