sap-abap-cds
Comprehensive SAP ABAP CDS (Core Data Services) reference for data modeling, view development, and semantic enrichment. Use when…
Integrates SAP Cloud SDK for AI into JavaScript/TypeScript and Java applications. Use when building applications with SAP AI Core, Generative AI Hub, or Orchestration Service. Covers chat completion, embedding, streaming, function calling, content filtering, data masking,
Claude Code
$ npx -y skills add secondsky/sap-skills --skill sap-cloud-sdk-ai --agent claude-code
Codex
$ npx skills add secondsky/sap-skills --skill sap-cloud-sdk-ai -a codex -y
Cursor
$ npx skills add secondsky/sap-skills --skill sap-cloud-sdk-ai -a cursor -y
Gemini CLI
$ npx skills add secondsky/sap-skills --skill sap-cloud-sdk-ai -a gemini-cli -y
GitHub Copilot
$ npx skills add secondsky/sap-skills --skill sap-cloud-sdk-ai -a github-copilot -y
OpenCode
$ npx skills add secondsky/sap-skills --skill sap-cloud-sdk-ai -a opencode -y
Windsurf
$ npx skills add secondsky/sap-skills --skill sap-cloud-sdk-ai -a windsurf -y
name: sap-cloud-sdk-ai description: | Integrates SAP Cloud SDK for AI into JavaScript/TypeScript and Java applications. Use when building applications with SAP AI Core, Generative AI Hub, or Orchestration Service. Covers chat completion, embedding, streaming, function calling, content filtering, data masking, document grounding, prompt registry, and LangChain/Spring AI integration. Supports OpenAI GPT-4o, Llama, Gemini, Amazon Nova, and other foundation models via SAP BTP. license: GPL-3.0 metadata: maintainer: "Eduard Jiglau" maintainer_email: "hello@sap-ai-skills.com" website: "https://sap-ai-skills.com" version: "2.4.1" last_verified: "2026-06-15" package_evidence: "docs/project/package-evidence/2026-06-15.json"
The official SDK for SAP AI Core, SAP Generative AI Hub, and Orchestration Service. Package versions are verified against public registries; AI Core tenant execution and exact model availability still require target-tenant validation.
Use this skill when:
> **Note**: This skill uses SAP Cloud SDK for AI JavaScript v2.11.0+ and Java v1.19.0+ based on public package registry evidence from 2026-06-15. If you're migrating from v1.x, see [V1 to V2 Migration Guide](references/v1-to-v2-migration.md) for breaking changes.
npm install @sap-ai-sdk/orchestration@^2
import { OrchestrationClient } from '@sap-ai-sdk/orchestration';
const client = new OrchestrationClient({
promptTemplating: {
model: { name: 'gpt-4o' },
prompt: [{ role: 'user', content: '{{?question}}' }]
}
});
const response = await client.chatCompletion({
placeholderValues: { question: 'What is SAP?' }
});
console.log(response.getContent());<dependency>
<groupId>com.sap.ai.sdk</groupId>
<artifactId>orchestration</artifactId>
<version>${ai-sdk.version}</version>
</dependency>var client = new OrchestrationClient();
var config = new OrchestrationModuleConfig()
.withLlmConfig(OrchestrationAiModel.GPT_4O);
var prompt = new OrchestrationPrompt("What is SAP?");
var result = client.chatCompletion(prompt, config);
System.out.println(result.getContent());Bind AI Core service instance to your application. SDK auto-detects via `VCAP_SERVICES` or mounted secrets.
Set environment variable:
export AICORE_SERVICE_KEY='{"clientid":"...","clientsecret":"...","url":"...","serviceurls":{"AI_API_URL":"..."}}'Or use CAP hybrid mode:
# JavaScript cds bind -2 <AICORE_INSTANCE> && cds-tsx watch --profile hybrid # Java cds bind --to aicore --exec mvn spring-boot:run
For detailed connection options, see `references/connecting-to-ai-core.md`
| Package | Purpose | |---------|---------| | `@sap-ai-sdk/orchestration` | Chat completion, filtering, grounding | | `@sap-ai-sdk/foundation-models` | Direct model access (OpenAI) | | `@sap-ai-sdk/langchain` | LangChain integration | | `@sap-ai-sdk/ai-api` | Deployments, artifacts, configurations | | `@sap-ai-sdk/document-grounding` | Pipeline, Vector, Retrieval APIs | | `@sap-ai-sdk/prompt-registry` | Prompt template management |
| Artifact | Purpose | |----------|---------| | `orchestration` | Chat completion, filtering, grounding | | `openai` (foundationmodels) | Direct OpenAI model access | | `core` | Base connectivity | | `document-grounding` | Pipeline, Vector, Retrieval APIs | | `prompt-registry` | Prompt template management |
Model IDs and versions are tenant-specific. Before copying an example into application code, list the target catalog through SAP AI Launchpad Model Library or the AI Core model-list API.
| Deprecated | Use Instead | |------------|-------------| | text-embedding-ada-002 | text-embedding-3-small/large | | gpt-35-turbo (all variants) | gpt-4o-mini | | gpt-4-32k | gpt-4o | | gpt-4 (base) | gpt-4o or gpt-4.1 | | gemini-1.0-pro | gemini-2.0-flash | | gemini-1.5-pro/flash | gemini-2.5-flash | | mistralai--mixtral-8x7b | mistralai--mistral-small-instruct |
// JavaScript const st
40 SAP development plugins with evidence-tracked verification SAP development plugins for AI coding assistants, with public-source or package-registry verification tracked where available.
Comprehensive SAP ABAP CDS (Core Data Services) reference for data modeling, view development, and semantic enrichment. Use when…
Comprehensive ABAP development skill for SAP systems. Use when writing ABAP code, working with internal tables, structures, ABAP…
Guides development with SAP AI Core and SAP AI Launchpad for enterprise AI/ML workloads on SAP BTP. Use when: deploying…
Evidence-based assessment of whether an SAP API/interface usage scenario aligns with the SAP API Policy (v.4.2026a). Use whenever…
This skill provides comprehensive guidance for documenting SAP APIs following the SAP API Style Guide standards. It should be…
Use when an agent must inspect or operate an authenticated SAP web UI through an in-app Browser, Microsoft Edge CDP, or an…
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…
Ask which skill or flow fits your situation. A router over the skills in this repo.