genai-hub-orchestration

genai-hub-orchestration is a skill for Claude Code from SAP/ai-skills-library. It costs 169 tokens per session (1,721 once invoked), scanned A, original, Apache-2.0.

A guide for using SAP AI Core Orchestration to send prompts to different AI models, filter content, and ground answers in documents. Document grounding, also called RAG, lets a model use retrieved source material when answering.

In plain words
What is it for?
Use it to create prompt templates with variables, call models through the Harmonized API, add content filtering, or build document-grounded AI workflows.
Why use it?
It prevents common setup and endpoint mistakes, such as using the wrong deployment, URL, credentials, or SDK. It also explains the required choice between the REST interface and the Python library.

Skill for Claude Code ✓ vendor

Written for Claude Code: allowed-tools in frontmatter. Also seen: names the AskUserQuestion tool.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is uv run skills/aicore-lifecycle-management/scripts/get_deployments.py --scenario orchestration.

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

Good fit Use it to create prompt templates with variables, call models through the Harmonized API, add content filtering, or build document-grounded AI workflows.

Compare 6 skills from other repositories ↓
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 · 97 stars · on GitHub

Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/SAP/ai-skills-library
agentmods
npx agentmods add skills/sap/ai-skills-library/genai-hub-orchestration

Made for: Claude Code.

Or install aicore-skills, the plugin that ships this one along with the rest of its 6 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-orchestration

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/sap/ai-skills-library/genai-hub-orchestration"><img src="https://agentmods.dev/badge/skills/sap/ai-skills-library/genai-hub-orchestration.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 169 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,721 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 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.00169 $0.01721
Opus 5.5 $0.00068 $0.00688
Sonnet 5.5 $0.00034 $0.00344
Haiku 4.5 $0.00017 $0.00172

Measured 5d ago against content hash cb0e706dd1e0, 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-orchestration scanned grade A 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 5d ago.

The scan reads SKILL.md. This mod also ships 3 executable files (assets/orchestration_basic.py, assets/orchestration_filtering.py, assets/rag_grounding.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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

7. **If the user's request does not explicitly specify an approach, use `AskUserQuestion` to ask whether they prefer the REST API (curl) or the Python SDK before writing or running any code.**
plugins/aicore-skills/skills/genai-hub-orchestration/SKILL.md · 170 lines

How it starts

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

Rules

  1. Orchestration always requires a running orchestration deployment as a prerequisite — invoke aicore-lifecycle-management first if one does not exist.
  2. The orchestration endpoint is POST {DEPLOYMENT_URL}/v2/completion — not /v1/chat/completions.
  3. Orchestration scenario_id and executable_id are always "orchestration" — these are fixed.
  4. The Harmonized API normalizes all models to OpenAI message format — the same client code works for GPT, Gemini, and Bedrock.
  5. If credentials are not configured, invoke aicore-admin-resources first.
  6. generative-ai-hub-sdk is deprecated — always use sap-ai-sdk-gen. Import namespace gen_ai_hub is shared by both.
  7. If the user's request does not explicitly specify an approach, use AskUserQuestion to ask whether they prefer the REST API (curl) or the Python SDK before writing or running any code.

Deployment Prerequisite

Before using the orchestration service, a deployment must be running:

# Check for an existing orchestration deployment:
uv run skills/aicore-lifecycle-management/scripts/get_deployments.py --scenario orchestration

# If none exists, create a configuration first (reuse if "orchestration" config already exists):
uv run skills/aicore-lifecycle-management/scripts/get_configurations.py --scenario-id orchestration --json | jq '.[] | select(.name == "orchestration")'
uv run skills/aicore-lifecycle-management/scripts/create_configuration.py \
  --name orchestration \
  --scenario-id orchestration \
  --executable-id orchestration

# Then deploy (takes up to 10 minutes):
uv run skills/aicore-lifecycle-management/scripts/create_deployment.py --configuration-id <config-id> --wait --timeout 600

Workflow

Step Action Key Gate
1 Verify orchestration deployment is RUNNING get_deployments.py --scenario orchestration
2 If approach not stated: ask curl (REST API) or Python SDK via AskUserQuestion User preference
3 Choose pipeline features (templating only / + filtering / + grounding) User intent
4 Select template from assets/ or build from scratch See asset map below
5 Run and verify output uv run assets/<template>.py

Read the full file on GitHub · 170 lines

Files

What ships with it

6 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.

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. 5d ago First seen · 170 lines · 169 tokens per session scan A cb0e706dd1e0

Subscribe to this mod's changes

genai-hub-orchestration is a skill published in the GitHub repository SAP/ai-skills-library (97 stars, last pushed 5d ago), licensed Apache-2.0. It adds 169 tokens to every session and 1,721 once invoked, about $0.0007 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-23.

Related

Other skills, from other repositories

ai-llm-skills-guide

Guide for AI Agents and LLM development skills including RAG, multi-agent systems, prompt engineering, memory systems, and context engineering.

gmh5225/awesome-skills · 35 tokens

ai-product

Every product will be AI-powered. The question is whether you'll build it right or ship a demo that falls apart in production.

lingxling/awesome-skills-cn · 28 tokens

ai-engineering

Reviews and guides LLM/AI application engineering — prompts, caching, RAG, agent loops and tools, resilience, model migration, evals, prompt-injection defence, and observability. Invoke with /ai-engineering for "review my prompt", "set up RAG", or "write evals".

mthines/agent-skills · 67 tokens

flockion_engineering_ai

Forces the simplest, shortest, safest AI solution that actually works. Lazy senior-engineer pragmatism for LLM features, agents, RAG, tool-calling, and prompts. Use a prompt before a chain, retrieval before fine-tuning, deterministic code before an agent, and one tool before a tool framework. Keep critical business…

error505/Flockion_AI_Engineering · 187 tokens

genkit-go-flows

Guides building AI features with Genkit for Go - flows, prompts, structured generation, tool calling, and middleware. Use when defining a Genkit flow, writing a prompt, calling genkit.Generate/GenerateData, defining a tool, debugging Genkit output with traces, or asked how Genkit differs from Google's Agent…

shennawardana23/skillme · 76 tokens

ai-teacher

A guide to teaching about artificial intelligence, including how large language models work, prompt writing, AI agents, tools, and AI ethics.

mingchen666/Reviva · 37 tokens