genai-hub-prompt-evaluation

genai-hub-prompt-evaluation is a skill for Claude Code from SAP/ai-skills-library. It costs 234 tokens per session (3,318 once invoked), scanned A, original, Apache-2.0.

A workflow for evaluating generative-AI prompts and models on SAP AI Core, SAP's platform for running AI workloads. It compares outputs against a test dataset using built-in or language-model-based judging metrics and returns aggregate results.

In plain words
What is it for?
Use it to benchmark prompt-registry, orchestration, and document-grounding (RAG) evaluations after the required AI Core credentials are configured.
Why use it?
It helps measure prompt or model quality consistently instead of judging individual responses by hand.

Skill for Claude Code ✓ vendor

Written for Claude Code: allowed-tools in frontmatter.

Part of the aicore-skills plugin — 8 skills shipped together

Good fit Use it to benchmark prompt-registry, orchestration, and document-grounding (RAG) evaluations after the required AI Core credentials are configured.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/sap/ai-skills-library/genai-hub-prompt-evaluation
About the project

SAP/ai-skills-library is a catalogue for discovering, filtering, and installing AI skills that support SAP digital assistants. SAP users and contributors can install listed skills with the skills CLI across compatible coding agents, while skill authors keep their implementations in their own public repositories and register them with the library. The catalogue contains five of the library's skills and its plugin.

SAP/ai-skills-library · 162 stars · on GitHub

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 SAP/ai-skills-library --skill genai-hub-prompt-evaluation
Clone the repo
git clone --depth 1 https://github.com/SAP/ai-skills-library

Made for: Claude Code.

Or install aicore-skills, the plugin that ships this one along with the rest of its 8 skills.

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 genai-hub-prompt-evaluation

README.md
[![agentmods](https://agentmods.dev/badge/skills/sap/ai-skills-library/genai-hub-prompt-evaluation/github.svg)](https://agentmods.dev/skills/sap/ai-skills-library/genai-hub-prompt-evaluation)
Your own site
<a href="https://agentmods.dev/skills/sap/ai-skills-library/genai-hub-prompt-evaluation"><img src="https://agentmods.dev/badge/skills/sap/ai-skills-library/genai-hub-prompt-evaluation/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 genai-hub-prompt-evaluation

Your own site · 80×15
<a href="https://agentmods.dev/skills/sap/ai-skills-library/genai-hub-prompt-evaluation"><img src="https://agentmods.dev/badge/skills/sap/ai-skills-library/genai-hub-prompt-evaluation.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 234 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,318 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. 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.00234 $0.03318
Opus 5.5 $0.00094 $0.01327
Sonnet 5.5 $0.00047 $0.00664
Haiku 4.5 $0.00023 $0.00332

Measured 1mo ago against content hash d938647da9a2, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

genai-hub-prompt-evaluation scanned grade A with 0 findings 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 1mo ago.

The scan reads SKILL.md. This mod also ships 11 executable files (scripts/_rest.py, scripts/create_evaluation_configuration.py, scripts/create_evaluation_metric.py, …), 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/aicore-skills/skills/genai-hub-prompt-evaluation/SKILL.md · 283 lines

How it starts

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

Step 0 — ask for credentials first (required)

Before running any other step, confirm the AI Core credentials are set. Invoke aicore-admin-resources and run check_setup.py.

  • If it succeeds, continue to the workflow.
  • If it fails (missing variables, invalid_client, or bad credentials), STOP and ask the user to export the variables listed in Environment variables below. Do not continue, and do not look for credentials or workflow steps anywhere else (notebooks, other repos, workspace files) — this skill's scripts/ are the only supported path.

Rules

  1. Run all scripts from this skill's root directory with uv run scripts/<name>.py.
  2. Shared lifecycle/admin steps are handled by other skills — invoke them rather than reimplementing: object stores and resource groups → aicore-admin-resources; artifact registration, executions, execution status → aicore-lifecycle-management.
  3. Never print or log credential values — scripts read them from the environment via the SDK.
  4. The evaluation scenario ID is genai-evaluations. Always use the executable ID genai-evaluations-simplified — hardcode it, do not use any version/user-suffixed variant. A tenant may list many such custom-built images; ignore them. Only fall back to discovery (aicore-lifecycle-management get_executables.py --scenario-id genai-evaluations) if genai-evaluations-simplified is not present on the tenant at all.
  5. Before creating a custom metric or prompt-registry config, list existing ones and reuse by name/scenario/version to avoid duplicates. create_evaluation_metric.py already does create-or-get.
  6. Only fetch results (get_evaluation_results.py) once the execution status is COMPLETED (UNKNOWN → PENDING → RUNNING → COMPLETED). Check status by invoking aicore-lifecycle-management (get_executions.py --execution-id <id>).
  7. If a dataset has no reference/ground-truth column, do not select metrics that require a reference.

Read the full file on GitHub · 283 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. 1mo ago First seen · 283 lines · 234 tokens per session scan A d938647da9a2

Subscribe to this mod's changes

genai-hub-prompt-evaluation is a skill published in the GitHub repository SAP/ai-skills-library (162 stars, last pushed 10d ago), licensed Apache-2.0. It adds 234 tokens to every session and 3,318 once invoked, about $0.0009 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-23.

Related

genai-hub-prompt-evaluation compared with skills from other repositories

genai-hub-prompt-evaluation next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
genai-hub-prompt-evaluationSAP/ai-skills-librarySkill16210d agoApache-2.0A234Claude Code
apigee-agent-gateway-governancegoogle/skillsSkill25ktodayApache-2.0A222Claude Code, Codex
agent-platform-rag-engine-managementgoogle/skillsSkill25ktodayApache-2.0A85Claude Code, Codex
graphifyGraphify-Labs/graphifySkill155kyesterdayApache-2.0B76Claude Code
graphifyGraphify-Labs/graphifySkill155kyesterdayApache-2.0B76Claude Code
google-cloud-solution-rag-enterprise-search-gke-sqldbgoogle/skillsSkill25ktodayApache-2.0A114Claude Code, Codex
gpt-image-2ConardLi/garden-skillsSkill16k11d agoMITA177Claude Code, Codex