# Aicore admin resources

> Aicore admin resources is an open-source agent skill for cloud and infrastructure. Checks SAP AI Core credentials, fetches auth tokens and manages resource groups. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/SAP/ai-skills-library/tree/main/plugins/aicore-skills/skills/aicore-admin-resources
- **Repository:** https://github.com/sap/ai-skills-library
- **GitHub stars:** 162
- **License:** Apache-2.0
- **Skill name:** aicore-admin-resources
- **Collection:** https://github.com/SAP/ai-skills-library
- **Categories:** [cloud and infrastructure](https://ai-powered.com/categories/cloud-and-infrastructure)
- **Listing updated:** 2026-12-02

## About

This skill helps an agent confirm that SAP AI Core is reachable and correctly configured. It runs a setup check script that verifies credentials and reports the active resource group and endpoints, and a token script that prints a Bearer token so it can be captured for curl or API testing without exposing it in the conversation.

The skill also covers the common configuration paths: the interactive aicore configure command, environment variables, and a profile file under the AICORE_HOME directory with helpers for switching between landscapes. It includes a troubleshooting table for frequent errors such as 401, 404 and missing resource groups, and points to a setup reference document for the full credential walkthrough.

For resource groups, it provides scripts to list, inspect, create, relabel and delete them, with guidance on ID format, required label prefixes and retrying deletions that return a conflict during provisioning. It expects Python 3.11 or later, uv and the sap-ai-sdk-core package, and works through Bash and file reads.

## When your agent uses it

> Verify and configure SAP AI Core credentials, retrieve auth tokens, and manage resource groups. WHEN: user wants to check if AI Core is set up, configure credentials, get a Bearer token, fix authentication errors, run a setup health check, or list, create, update, or delete resource groups. DO NOT USE FOR: managing deployments — use `aicore-lifecycle-management`; listing foundation models — use `genai-hub-foundation-models`.

## What it can access

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

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

## Features

- **Credential verification:** Runs a setup check that confirms AI Core credentials work and shows the active resource group.
- **Bearer token retrieval:** Outputs an auth token in a form that can be captured into a shell variable for API calls.
- **Credential configuration options:** Covers the interactive CLI, environment variables and a profile file for storing AI Core settings.
- **Multi-landscape profiles:** Switches between credential profiles stored under the AICORE_HOME directory.
- **Resource group management:** Lists, inspects, creates, updates labels on and deletes resource groups through provided scripts.
- **Common error fixes:** Maps frequent authentication and configuration errors to their likely causes and fixes.

## Good for

- Check whether SAP AI Core is set up correctly on this machine
- Get a Bearer token to test an AI Core endpoint with curl
- Fix a 401 or 404 error from AI Core after configuring credentials
- Create a new resource group with labels for a team
- List existing resource groups and their labels
- Delete a resource group that is no longer needed

## 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/aicore-admin-resources`:

```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/aicore-admin-resources &&
cp -R "$tmp/plugins/aicore-skills/skills/aicore-admin-resources" ~/.claude/skills/aicore-admin-resources &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/aicore-admin-resources` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/aicore-admin-resources` 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/aicore-admin-resources &&
cp -R "$tmp/plugins/aicore-skills/skills/aicore-admin-resources" ~/.agents/skills/aicore-admin-resources &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/aicore-admin-resources` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/aicore-admin-resources` 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/aicore-admin-resources &&
cp -R "$tmp/plugins/aicore-skills/skills/aicore-admin-resources" ~/.cursor/skills/aicore-admin-resources &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/aicore-admin-resources` 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/aicore-admin-resources
```

Or copy the folder to `~/.gemini/skills/aicore-admin-resources` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/aicore-admin-resources`:

```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/aicore-admin-resources &&
cp -R "$tmp/plugins/aicore-skills/skills/aicore-admin-resources" ~/.copilot/skills/aicore-admin-resources &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/aicore-admin-resources` 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/aicore-admin-resources` into your agent's skills folder as `aicore-admin-resources`. Agents that support SKILL.md read one folder per skill.

## FAQ

### What does the skill need before Aicore admin resources can run?

It requires Python 3.11 or later, uv and the sap-ai-sdk-core package, as stated in its compatibility notes.

### Does Aicore admin resources manage AI deployments or list models?

No. Deployment management is handled by the aicore-lifecycle-management skill and listing foundation models by genai-hub-foundation-models.

### Are both client secret and certificate authentication supported?

Yes, X.509 certificate authentication is an alternative to the client secret and both are supported.

### Why does the base URL setting matter?

The AICORE_BASE_URL value must end in /v2; the skill names this as the most common misconfiguration.

### How do I install Aicore admin resources in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/aicore-admin-resources to use it in all your projects, or to .claude/skills/aicore-admin-resources 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 Aicore admin resources run scripts?

Yes. It runs shell and 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 Aicore admin resources?

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 Aicore admin resources?

The closest alternatives to Aicore admin resources are Aicore lifecycle management, Azure container registry CLI, Azure mgmt apicenter py, Airunway aks setup and Azure mgmt applicationinsights dotnet.

## Where this comes from

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

## Alternatives

- [Aicore lifecycle management](https://ai-powered.com/skills/aicore-lifecycle-management): Aicore lifecycle management is an open-source agent skill for cloud and infrastructure.
- [Azure container registry CLI](https://ai-powered.com/skills/azure-container-registry-cli): Azure container registry CLI is an open-source agent skill for cloud and infrastructure.
- [Azure mgmt apicenter py](https://ai-powered.com/skills/azure-mgmt-apicenter-py): Azure mgmt apicenter py is an open-source agent skill for cloud and infrastructure.
- [Airunway aks setup](https://ai-powered.com/skills/airunway-aks-setup): Airunway aks setup is an open-source agent skill for cloud and infrastructure.
- [Azure mgmt applicationinsights dotnet](https://ai-powered.com/skills/azure-mgmt-applicationinsights-dotnet): Azure mgmt applicationinsights dotnet is an open-source agent skill for cloud and infrastructure.
- [Azure mgmt apicenter dotnet](https://ai-powered.com/skills/azure-mgmt-apicenter-dotnet): Azure mgmt apicenter dotnet is an open-source agent skill for cloud and infrastructure.
- [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.
- [Arize AI provider integration](https://ai-powered.com/skills/arize-ai-provider-integration): Arize AI provider integration is an open-source agent skill for ai models and llm tooling.

---
Source: https://ai-powered.com/skills/aicore-admin-resources
