# Genai hub foundation models

> Genai hub foundation models is an open-source agent skill for ai models and llm tooling. Browse SAP AI Core GenAI Hub foundation models and get IDs for deployments. It is available on Claude Code.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code
- **Website:** https://github.com/SAP/ai-skills-library/tree/main/plugins/aicore-skills/skills/genai-hub-foundation-models
- **Repository:** https://github.com/sap/ai-skills-library
- **GitHub stars:** 162
- **License:** Apache-2.0
- **Skill name:** genai-hub-foundation-models
- **Collection:** https://github.com/SAP/ai-skills-library
- **Categories:** [AI models and LLM tooling](https://ai-powered.com/categories/ai-and-llm)
- **Listing updated:** 2026-12-02

## About

This skill helps an agent look up which foundation models are offered through SAP AI Core's GenAI Hub. It runs a Python script that lists models by provider, can narrow to one executable ID or to the Orchestration scenario, and can print a detailed view with versions, capabilities, context length and streaming support, or emit JSON for scripting.

The skill also maps common providers such as Azure OpenAI, Anthropic, Google, Mistral and Cohere to the executable IDs used in SAP AI Core. It tells the agent to check for an existing running deployment before creating one, and to pass the exact model name from the catalog to the lifecycle skill, since a mismatch only surfaces at deployment time.

Usage requires Python 3.11+, uv and the sap-ai-sdk-core package, plus configured SAP AI Core credentials. A reference file covers curl inference examples per provider, and a token helper is used before any curl call.

## When your agent uses it

> List and explore foundation models available in SAP AI Core GenAI Hub: browse supported providers, model names, versions, capabilities, and executable IDs needed to create deployments. WHEN: user wants to see what models are available, find an executable-id or model-name for deployment, browse providers (Azure OpenAI, Anthropic, Google, Mistral, Cohere, etc.), check model capabilities or context length, get the correct model-name to pass to create_llm_deployment, or get curl inference examples for a deployed model (chat completions, Responses API, embeddings, image generation, etc.). DO NOT USE FOR: creating or managing deployments — use `aicore-lifecycle-management`.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Runs Python scripts](https://github.com/SAP/ai-skills-library/tree/HEAD/plugins/aicore-skills/skills/genai-hub-foundation-models)
- [Asks for: Bash, Read](https://github.com/SAP/ai-skills-library/blob/HEAD/plugins/aicore-skills/skills/genai-hub-foundation-models/SKILL.md)
- [Network calls found in its scripts](https://github.com/SAP/ai-skills-library/tree/HEAD/plugins/aicore-skills/skills/genai-hub-foundation-models)
- [License: Apache-2.0](https://github.com/SAP/ai-skills-library/tree/HEAD/plugins/aicore-skills/skills/genai-hub-foundation-models)

## Features

- **Provider model catalog:** Lists models available in GenAI Hub, filterable by provider executable ID.
- **Detailed model capabilities:** Shows versions, capabilities, context length and streaming support for each model.
- **Executable ID lookup:** Maps common providers such as Azure OpenAI, Anthropic and Mistral to their executable IDs.
- **Existing deployment check:** Checks for a running deployment of a model before a new one is created.
- **JSON output for scripting:** Prints machine-readable catalog data that can be piped into tools like jq.
- **Curl inference examples:** Provides per-provider curl examples for chat, embeddings and image generation calls.

## Good for

- Show which models are available in SAP AI Core GenAI Hub
- Find the model name needed to create an Azure OpenAI deployment
- Check the context length and streaming support of a model
- Get curl examples for calling a deployed chat completion model
- Look up the executable ID for Anthropic or Mistral models

## Install

### Claude Code

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

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

Or copy only this skill to `~/.claude/skills/genai-hub-foundation-models`:

```sh
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-foundation-models &&
cp -R "$tmp/plugins/aicore-skills/skills/genai-hub-foundation-models" ~/.claude/skills/genai-hub-foundation-models &&
rm -rf "$tmp"
```

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

### Codex

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

```sh
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-foundation-models &&
cp -R "$tmp/plugins/aicore-skills/skills/genai-hub-foundation-models" ~/.agents/skills/genai-hub-foundation-models &&
rm -rf "$tmp"
```

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

### Cursor

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

```sh
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-foundation-models &&
cp -R "$tmp/plugins/aicore-skills/skills/genai-hub-foundation-models" ~/.cursor/skills/genai-hub-foundation-models &&
rm -rf "$tmp"
```

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

### Gemini CLI

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

```sh
gemini skills install https://github.com/SAP/ai-skills-library.git --path plugins/aicore-skills/skills/genai-hub-foundation-models
```

Or copy the folder to `~/.gemini/skills/genai-hub-foundation-models` yourself.

### VS Code

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

```sh
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-foundation-models &&
cp -R "$tmp/plugins/aicore-skills/skills/genai-hub-foundation-models" ~/.copilot/skills/genai-hub-foundation-models &&
rm -rf "$tmp"
```

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

### Other agents

Get the folder:

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

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

## FAQ

### What does Genai hub foundation models need to run?

It requires Python 3.11+, uv and the sap-ai-sdk-core package, and SAP AI Core credentials must be configured.

### Does Genai hub foundation models create deployments?

No. It lists models and hands off deployment creation to the aicore-lifecycle-management skill.

### Which tools does Genai hub foundation models use?

Its allowed tools are Bash and Read.

### How do I install Genai hub foundation models in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/genai-hub-foundation-models to use it in all your projects, or to .claude/skills/genai-hub-foundation-models 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 foundation models run scripts?

Yes. It runs Python scripts. Its scripts contain network calls. 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 foundation models?

Claude Code. It reads skills in the SKILL.md format; the install steps on this page show where to put the folder.

### What are the best alternatives to Genai hub foundation models?

The closest alternatives to Genai hub foundation models are Genai hub orchestration, Genai hub prompt evaluation, Agent platform inference, Agent platform model registry and Hf cloud sagemaker deployment planner.

## Where this comes from

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

## Alternatives

- [Genai hub orchestration](https://ai-powered.com/skills/genai-hub-orchestration): Genai hub orchestration is an open-source agent skill for ai models and llm tooling.
- [Genai hub prompt evaluation](https://ai-powered.com/skills/genai-hub-prompt-evaluation): Genai hub prompt evaluation is an open-source agent skill for ai models and llm tooling.
- [Agent platform inference](https://ai-powered.com/skills/agent-platform-inference): Agent platform inference is an open-source agent skill for ai models and llm tooling.
- [Agent platform model registry](https://ai-powered.com/skills/agent-platform-model-registry): Agent platform model registry is an open-source agent skill for cloud and infrastructure.
- [Hf cloud sagemaker deployment planner](https://ai-powered.com/skills/hf-cloud-sagemaker-deployment-planner): Hf cloud sagemaker deployment planner is an open-source agent skill for ai models and llm tooling.
- [AI gateway](https://ai-powered.com/skills/ai-gateway-scaledockhq): AI gateway is an open-source agent skill for ai models and llm tooling.
- [Azure AI projects py](https://ai-powered.com/skills/azure-ai-projects-py): Azure AI projects py is an open-source agent skill for cloud and infrastructure.
- [API AI augmented](https://ai-powered.com/skills/api-ai-augmented): API AI augmented is an open-source agent skill for ai models and llm tooling.

---
Source: https://ai-powered.com/skills/genai-hub-foundation-models
