sap-cloud-sdk-ai-python — Claude Code skill: how to install
Integrates sap-ai-sdk-gen into Python applications. It guides foundation model connectivity and request orchestration via SAP AI Core.
npx skills add secondsky/sap-skills --skill sap-cloud-sdk-ai-python -a claude-codeWhat sap-cloud-sdk-ai-python does
This skill directs coding agents through the sap-ai-sdk-gen package, which replaces the deprecated generative-ai-hub-sdk. The import statement remains unchanged as gen_ai_hub. It provides structured patterns for OpenAI and Amazon Bedrock models proxied through SAP AI Core.
Authentication relies on SAP credentials. The SDK reads client IDs and service secrets from environment variables, local config files, or platform bindings. Local testing fails immediately if the target SAP BTP tenant lacks active model deployments.
Pip extras determine feature availability. Installing the base package only provides OpenAI support, while LangChain and additional model providers require extras such as [all] or [google, amazon].
What it helps with
- connect OpenAI and Bedrock models through SAP AI Core proxy
- migrate code from deprecated
generative-ai-hub-sdktosap-ai-sdk-gen - configure data masking and prompt templates in Orchestration Service
- generate vector embeddings using SAP BTP foundation models
Example prompts for the agent
- Write an OpenAI chat completion snippet using
sap-ai-sdk-genand environment variable auth - Help me migrate this script from
generative-ai-hub-sdktosap-ai-sdk-gen - Create an Orchestration Service pipeline with prompt templating and content filtering
How to install sap-cloud-sdk-ai-python
1Skills CLI (Vercel)
npx skills add secondsky/sap-skills --skill sap-cloud-sdk-ai-python -a claude-code2Manually: put the files in place
~/.claude/skills/sap-cloud-sdk-ai-python/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/sap-cloud-sdk-ai-python/
1Skills CLI (Vercel)
npx skills add secondsky/sap-skills --skill sap-cloud-sdk-ai-python -a codex2Manually: put the files in place
.agents/skills/sap-cloud-sdk-ai-python/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add secondsky/sap-skills --skill sap-cloud-sdk-ai-python -a cursor2Manually: put the files in place
.cursor/skills/sap-cloud-sdk-ai-python/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install secondsky/sap-skills sap-cloud-sdk-ai-python2Manually: put the files in place
.github/skills/sap-cloud-sdk-ai-python/SKILL.md1Skills CLI (Vercel)
npx skills add secondsky/sap-skills --skill sap-cloud-sdk-ai-python -a gemini-cli2Platform CLI
gemini skills install https://github.com/secondsky/sap-skills --path plugins/sap-cloud-sdk-ai-python/skills/sap-cloud-sdk-ai-pythonManually: put the files in place
.devin/skills/sap-cloud-sdk-ai-python/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add secondsky/sap-skills --skill sap-cloud-sdk-ai-python -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about sap-cloud-sdk-ai-python
How do I install sap-cloud-sdk-ai-python in Claude Code?
Run npx skills add secondsky/sap-skills --skill sap-cloud-sdk-ai-python -a claude-code.
What does sap-cloud-sdk-ai-python do?
It provides prompts, patterns, and modules for building Python applications backed by SAP AI Core and Generative AI Hub.
Which package should be installed via pip?
Install sap-ai-sdk-gen because generative-ai-hub-sdk is deprecated. Python imports continue using the namespace gen_ai_hub.