Skip to content
Skill

Genai hub orchestration

Lets an agent build SAP AI Core orchestration pipelines with templates, filtering and RAG

Genai hub orchestration is an open-source agent skill for ai models and llm tooling. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

Scripts
Python
Platforms
Claude Code, Codex, Cursor
GitHub stars
162
Last commit
License
Apache-2.0
Listing updated

Similar skills

About Genai hub orchestration

This skill guides an agent through the SAP AI Core Orchestration service, which wraps a language model in a pipeline that can apply prompt templates, input and output content filters, and document grounding. It describes the deployment prerequisite, the REST endpoint used for orchestration calls, and a choice between curl and the Python SDK before code is written.

The skill ships three runnable Python templates covering basic chat, chat with filtering, and retrieval-augmented generation with document grounding. It also includes key SDK patterns for building a pipeline and adding filters, and points to reference files for the Harmonized API request shape and grounding module setup.

Using it requires an SAP AI Core account with a running orchestration deployment, plus credentials configured through a companion skill. Code runs with Python 3.11 or later and uv, using the sap-ai-sdk-gen package, and the curl path relies on jq and bash.

When your agent uses it

Configure and use the SAP AI Core Orchestration service: build prompt templates, add content filtering, set up document grounding (RAG) pipelines, and call models via the Harmonized API. WHEN: user asks about the orchestration service, Harmonized API, prompt templating with variables, content filtering, grounding, RAG pipeline, document grounding, or building a pipeline that wraps an LLM. DO NOT USE FOR: creating an orchestration deployment — use `aicore-lifecycle-management` for that; credential setup — use `aicore-admin-resources`; browsing or deploying foundation models directly without a pipeline — use `genai-hub-foundation-models`; direct LLM inference without a pipeline — use `aicore-sdk-java` or `aicore-sdk-js`

From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.

What it can access

From a static check of its 7 files (27 KB) on GitHub on 3 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.

Check another skill before you install it.

Install

This skill ships in the aicore-skills plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

/plugin marketplace add SAP/ai-skills-library
/plugin install aicore-skills@ai-skills-library

Or copy only this skill to ~/.claude/skills/genai-hub-orchestration:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/SAP/ai-skills-library.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/genai-hub-orchestration &&
cp -R "$tmp/plugins/aicore-skills/skills/genai-hub-orchestration" ~/.claude/skills/genai-hub-orchestration &&
rm -rf "$tmp"

For one project only, put the folder in .claude/skills/genai-hub-orchestration inside it instead.

Claude Code docs on skills

Copy the skill folder to ~/.agents/skills/genai-hub-orchestration to use it in every repository:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/SAP/ai-skills-library.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/genai-hub-orchestration &&
cp -R "$tmp/plugins/aicore-skills/skills/genai-hub-orchestration" ~/.agents/skills/genai-hub-orchestration &&
rm -rf "$tmp"

For one repository only, put the folder in .agents/skills/genai-hub-orchestration inside it instead.

Codex docs on skills

Copy the skill folder to ~/.cursor/skills/genai-hub-orchestration to use it in every project:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/SAP/ai-skills-library.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/genai-hub-orchestration &&
cp -R "$tmp/plugins/aicore-skills/skills/genai-hub-orchestration" ~/.cursor/skills/genai-hub-orchestration &&
rm -rf "$tmp"

For one project only, put the folder in .cursor/skills/genai-hub-orchestration inside it instead.

Cursor docs on skills

Run in a terminal (add --scope workspace to install it for the current workspace only):

gemini skills install https://github.com/SAP/ai-skills-library.git --path plugins/aicore-skills/skills/genai-hub-orchestration

Or copy the folder to ~/.gemini/skills/genai-hub-orchestration yourself.

Gemini CLI docs on skills

For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/genai-hub-orchestration:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/SAP/ai-skills-library.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/genai-hub-orchestration &&
cp -R "$tmp/plugins/aicore-skills/skills/genai-hub-orchestration" ~/.copilot/skills/genai-hub-orchestration &&
rm -rf "$tmp"

For one project only, put the folder in .github/skills/genai-hub-orchestration inside it instead.

VS Code docs on skills

Get the folder:

git clone --depth 1 https://github.com/SAP/ai-skills-library.git

Then copy ai-skills-library/plugins/aicore-skills/skills/genai-hub-orchestration into your agent's skills folder as genai-hub-orchestration. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

Prompt templating
Builds reusable chat templates with variable placeholders filled at run time.
Content filtering
Adds input and output filters for categories such as hate, violence and self-harm.
Document grounding
Sets up retrieval-augmented generation pipelines that answer from supplied documents.
Harmonized API calls
Calls different models through one OpenAI-style message format via the orchestration endpoint.
Ready-made templates
Provides runnable Python examples for basic chat, filtered chat and RAG.
REST and SDK options
Shows both curl requests and Python SDK code for the same orchestration workflow.

Good for

  • Wrap an LLM in a pipeline that applies a fixed system prompt and user variables
  • Add hate and violence filtering to both the input and output of a chatbot
  • Answer questions from a set of internal documents using grounding
  • Call the SAP AI Core orchestration endpoint with curl to test a deployed model
  • Switch a pipeline between GPT and Gemini models without rewriting client code

Genai hub orchestration FAQ

What do I need before using Genai hub orchestration?

A running orchestration deployment in SAP AI Core is required. The skill points to a lifecycle skill to create one and an admin skill to configure credentials.

Which tools does Genai hub orchestration use?

The skill's allowed tools are Bash and Read, and its examples run Python scripts through uv and call the orchestration endpoint with curl.

Does Genai hub orchestration work with direct model inference without a pipeline?

No. The skill covers orchestration pipelines only and directs direct inference and model browsing to other skills.

How do I install Genai hub orchestration in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/genai-hub-orchestration to use it in all your projects, or to .claude/skills/genai-hub-orchestration in one project. Or install the aicore-skills plugin, which includes it: /plugin marketplace add SAP/ai-skills-library, then /plugin install aicore-skills@ai-skills-library.

Does Genai hub orchestration run scripts?

Yes. It runs Python scripts. No network calls were found in its scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

Which AI agents can use Genai hub orchestration?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

What are the best alternatives to Genai hub orchestration?

The closest alternatives to Genai hub orchestration are Genai hub prompt evaluation, Genai hub foundation models, Developing genkit js, API AI augmented and Prompt optimizer.

Where this comes from

  • Description: from the skill's own SKILL.md.

More from SAP/ai-skills-library

  1. Checks SAP AI Core credentials, fetches auth tokens and manages resource groups

    • Open source
    • 162 GitHub stars
    • Cloud and infrastructure
  2. Lets your agent manage SAP AI Core scenarios, configurations and deployments via scripts

    • Open source
    • 162 GitHub stars
    • Cloud and infrastructure
  3. Generates Java code for calling SAP GenAI Hub models via the SAP AI SDK

    • Open source
    • 162 GitHub stars
    • Developer tools
  4. Generates TypeScript and JavaScript code for calling SAP GenAI Hub models

    • Open source
    • 162 GitHub stars
    • Developer tools
  5. Generates Python code for calling LLMs, batch jobs and RAG through SAP AI Core

    • Open source
    • 162 GitHub stars
    • Developer tools
  6. Browse SAP AI Core GenAI Hub foundation models and get IDs for deployments

    • Open source
    • 162 GitHub stars
    • AI models and LLM tooling