plugins/sap-datasphere/skills/sap-datasphere/SKILL.md
SAP Datasphere development skill with 3 specialized agents, 5 slash commands, and validation hooks. Use when building data warehouses on SAP BTP, creating analytic models, configuring data flows and replication flows, setting up connections, managing spaces and users, implementing data access controls, using the datasphere CLI, or inspecting authenticated Datasphere browser UI state with Microsoft Edge CDP. Covers Data Builder, Business Builder, analytic models, 40+ connection types, real-time replication, task chains, content transport, and data marketplace.
npx skillsauth add secondsky/sap-skills sap-datasphereInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
SAP Datasphere is SAP's cloud-native data warehouse solution on SAP Business Technology Platform (BTP). It serves as the data foundation within SAP Business Data Cloud (BDC), SAP's unified data and analytics platform that also includes SAP Analytics Cloud, SAP HANA Cloud, SAP Databricks, and curated data products. See references/business-data-cloud.md for the BDC architecture and how Datasphere fits within it.
This skill provides comprehensive guidance for data acquisition, preparation, modeling, administration, and integration.
Use this skill when:
For Datasphere browser triage, use the shared sap-browser-automation skill for manual in-app authentication, consent-gated authenticated Edge profile copying, fresh loopback CDP startup, target selection, and recovery. The local references/edge-cdp-control.md add-on retains Datasphere-specific boundaries. Use CDP for local read-only inspection of Data Builder, Business Builder, monitoring, connection, catalog, and admin UI state; ask before saving, deploying, deleting, importing, exporting, running task chains, or changing users/roles.
| Component | Purpose | Key Objects | |-----------|---------|-------------| | Data Builder | Data acquisition & preparation | Views, Tables, Flows, Task Chains | | Business Builder | Semantic layer modeling | Business Entities, Fact Models, Consumption Models | | Analytic Model | Analytics-ready structures | Dimensions, Facts, Measures, Hierarchies | | Connections | External data sources | 40+ connection types | | Spaces | Logical data containers | Storage, Users, Objects |
Views:
Tables:
Flows:
Create views visually by dragging sources and adding transformations.
Supported Operations:
Best Practices:
For detailed graphical view operations, see references/graphical-sql-views.md.
Create views using SQL or SQLScript.
-- Basic SQL View
SELECT
customer_id,
customer_name,
SUM(order_amount) AS total_orders
FROM orders
GROUP BY customer_id, customer_name
SQLScript Support:
For SQL/SQLScript reference, see references/graphical-sql-views.md.
ETL pipelines for data transformation and loading.
Operators:
Execution:
For data flow details, see references/data-acquisition-preparation.md.
Replicate data from source systems to Datasphere or external targets.
Supported Sources:
Supported Targets:
Load Types:
For replication flow configuration, see references/data-acquisition-preparation.md.
Delta-aware transformations with automatic change propagation.
Key Features:
For transformation flow details, see references/data-acquisition-preparation.md.
Orchestrate multiple tasks in sequence or parallel.
Supported Tasks:
Features:
Create analytics-ready semantic models for SAP Analytics Cloud.
Components:
Creating an Analytic Model:
For detailed modeling guidance, see references/data-modeling.md.
Categorize and filter analytical data.
Types:
Features:
Quantifiable values for analysis.
Types:
Aggregation Types:
For measure configuration, see references/data-modeling.md.
Create business-oriented semantic models.
Objects:
For Business Builder details, see references/data-modeling.md.
SAP Datasphere supports 40+ connection types.
SAP Systems:
Cloud Platforms:
Databases:
Streaming:
Other:
For connection configuration, see references/connectivity.md.
| Feature | Description | |---------|-------------| | Remote Tables | Virtual data access | | Data Flows | ETL transformation | | Replication Flows | Data replication | | Model Import | BW/4HANA model transfer |
Logical containers for data and objects.
Configuration:
Operations:
For space management, see references/administration.md.
Standard Roles:
Scoped Roles:
Authentication:
For user management, see references/administration.md.
Capabilities:
Database Analysis:
For monitoring details, see references/administration.md.
Operations:
Features:
Options:
For monitoring details, see references/data-integration-monitor.md.
The datasphere CLI enables command-line administration and automation.
Installation:
npm install -g @sap/datasphere-cli
Authentication:
# Interactive login
datasphere config auth login
# Service key (CI/CD)
datasphere config auth login --service-key-path ./key.json
Core Commands:
| Command | Purpose |
|---------|---------|
| datasphere spaces list | List all spaces |
| datasphere spaces create | Create a space |
| datasphere objects export | Export objects |
| datasphere objects import | Import objects |
| datasphere tasks run | Execute task chains |
| datasphere marketplace list | List marketplace products |
CI/CD Integration:
# Export and import workflow
datasphere objects export --space DEV --output-file package.zip
datasphere objects import --space PROD --input-file package.zip --overwrite
For complete CLI reference, see references/cli-commands.md.
Package curated data for internal or external consumption:
Product Components:
Discover and consume published data products:
For complete marketplace guidance, see references/data-products-marketplace.md.
Centralized discovery and governance:
Create Object → Add Metadata → Link Terms → Quality Check → Approve → Publish
Roles:
For detailed governance guidance, see references/catalog-governance.md.
Implement row-level security.
Types:
Application:
For security configuration, see references/data-access-security.md.
Move content between tenants.
Methods:
Package Contents:
For transport procedures, see references/content-transport.md.
| Error | Cause | Solution | |-------|-------|----------| | Deployment failed | Circular dependency | Check object dependencies | | Connection timeout | Network/firewall | Verify Cloud Connector/IP allowlist | | Replication stuck | Source lock | Check source system status | | Out of memory | Large view | Enable persistence or partitioning | | Permission denied | Missing role | Verify space membership and privileges |
Core Data Builder:
references/data-acquisition-preparation.md - Data flows, replication flows, transformation flows, and table managementreferences/graphical-sql-views.md - Graphical views, SQL views, E-R models, and intelligent lookupsreferences/data-modeling.md - Business Builder entities, analytic models, dimensions, measures, and hierarchiesConnectivity & Integration:
4. references/connectivity.md - All 40+ connection types including SAP systems, cloud providers, and streaming platforms
5. references/data-integration-monitor.md - Task scheduling, monitoring, real-time replication, and delta mechanisms
Administration & Security:
6. references/administration.md - Tenant management, space configuration, user roles, and elastic compute nodes
7. references/data-access-security.md - Row-level security, DAC configurations, and authorization scenarios
8. references/content-transport.md - Package export/import, transport management, and tenant migration
CLI & Automation:
9. references/cli-commands.md - Complete CLI reference, authentication, CI/CD integration patterns
Marketplace & Governance:
10. references/data-products-marketplace.md - Creating and consuming data products, provider workflows, pricing
11. references/catalog-governance.md - Data catalog, glossary, quality rules, lineage, classification
Best Practices & Updates:
12. references/best-practices-patterns.md - Architecture patterns, naming conventions, performance optimization, checklists
13. references/whats-new-2025.md - 2025 archive: Q1-Q4 2025 features, Generic HTTP, REST API tasks, deprecations
14. references/whats-new-2026.md - 2026 Datasphere/BDC features, including Q1-Q2 updates and 2026.11 items such as HANA Cloud calculation-view semantic onboarding, replication-flow scheduling, runtime-settings transport, SAP Snowflake, and SAPPHIRE announcements
Platform Context:
15. references/business-data-cloud.md - SAP Business Data Cloud architecture, Databricks integration, data products vs. marketplace, BDC Connect
MCP Integration:
16. references/mcp-tools-reference.md - Complete MCP tool reference, 45 tools across 8 categories, API documentation, authentication patterns
17. references/mcp-use-cases.md - 8 illustrative source-material use cases with personas and planning assumptions
18. references/edge-cdp-control.md - Datasphere-specific add-on for the shared sap-browser-automation Edge/CDP and authentication layer
Search MCP references before loading them. Use rg -n "<space|view|connection|task|lineage|marketplace|governance|admin>" references/mcp-*.md to locate the exact tool or scenario, then open only that excerpt.
references/mcp-tools-reference.md for tool names, inputs, and direct tenant-operation boundaries.references/mcp-use-cases.md only when choosing a workflow pattern or reviewing illustrative impact assumptions; do not load the full use-case guide for ordinary tool lookup.This plugin includes 3 specialized agents, 5 slash commands, and validation hooks:
Agents (in agents/):
datasphere-modeler - Data Builder tasks, views, flows, analytic modelsdatasphere-integration-advisor - Connectivity, replication, data integrationdatasphere-admin-helper - Space management, security, monitoringCommands (in commands/):
/datasphere-space-template - Generate space configurations/datasphere-view-template - Generate view templates (graphical/SQL)/datasphere-connection-guide - Step-by-step connection setup/datasphere-cli - CLI command reference and examples/datasphere-mcp-tools - SAP Datasphere MCP tool reference and usage guidanceHooks (in hooks/):
This skill includes a connection recipe for the SAP Datasphere MCP Server (@mariodefe/sap-datasphere-mcp). The bundled MCP config uses the approved exact pin 1.2.1, governed by sap-dependency-security and validated by npm run validate:mcp-security; package evidence records 1.4.0 as an upgrade candidate. Treat MCP behavior and live tenant tool counts as pending until your harness loads the server and verifies the available tools.
| MCP detail | Value |
|------------|-------|
| Command | npx |
| Args | -y @mariodefe/[email protected] |
| Required env | DATASPHERE_BASE_URL, DATASPHERE_CLIENT_ID, DATASPHERE_CLIENT_SECRET, DATASPHERE_TOKEN_URL |
| Operation safety | Tenant read tools plus mutating/destructive tools; ask before create, update, delete, reset, deploy, publish, or trigger operations |
| Fallback | Use Datasphere CLI/reference guidance and mark live checks pending |
The MCP server enables:
See /datasphere-mcp-tools command for complete tool list.
OAuth 2.0 Client Credentials with automatic token refresh.
Required environment variables:
DATASPHERE_BASE_URLDATASPHERE_CLIENT_IDDATASPHERE_CLIENT_SECRETDATASPHERE_TOKEN_URLPerformance depends on tenant size, network latency, payload size, permissions, and server version. Treat any example timings or batch limits in MCP reference material as illustrative until measured in the target tenant and recorded as evidence.
plugins/sap-datasphere/
├── .claude-plugin/
│ └── plugin.json
├── .mcp.json # MCP server configuration
├── agents/
│ ├── datasphere-modeler.md
│ ├── datasphere-integration-advisor.md
│ └── datasphere-admin-helper.md
├── commands/
│ ├── datasphere-space-template.md
│ ├── datasphere-view-template.md
│ ├── datasphere-connection-guide.md
│ ├── datasphere-cli.md
│ └── datasphere-mcp-tools.md # MCP tools reference
├── hooks/
│ └── hooks.json
└── skills/
└── sap-datasphere/
├── .claude-plugin/
│ └── plugin.json
├── SKILL.md
├── README.md
└── references/
├── data-acquisition-preparation.md
├── data-modeling.md
├── graphical-sql-views.md
├── connectivity.md
├── administration.md
├── data-integration-monitor.md
├── data-access-security.md
├── content-transport.md
├── cli-commands.md
├── data-products-marketplace.md
├── catalog-governance.md
├── best-practices-patterns.md
├── whats-new-2025.md
├── whats-new-2026.md
├── business-data-cloud.md
├── mcp-tools-reference.md # MCP technical reference
├── edge-cdp-control.md # Edge CDP browser triage
tools
Use when automating SAP BW query inspection, InfoProvider metadata reads (characteristics, key figures), metadata-verified specification review, unsaved draft preparation, or human-confirmed query draft population through Eclipse or HANA Studio with BW Modeling Tools.
tools
Use when an agent must inspect or operate an authenticated SAP web UI through an in-app Browser, Microsoft Edge CDP, or an existing Playwright client, especially when SAP SSO reuse, isolated Edge profiles, deterministic target selection, screenshots, or browser bootstrap recovery is required.
tools
Evidence-based assessment of whether an SAP API/interface usage scenario aligns with the SAP API Policy (v.4.2026a). Use whenever someone asks whether a way of calling SAP is allowed/compliant — e.g. Published API vs internal/private/"confidential" API status, "Documented Use", whether a third-party tool / iPaaS / middleware / RPA bot / AI agent / MCP server may call SAP APIs, agentic or generative-AI access to SAP, bulk data extraction or replication into a lake/warehouse, custom Z/Y OData or RFC/BAPI wrappers and Clean Core, ADT/developer-tooling boundaries, ODP-RFC and other "not permitted" interfaces, partner Integration Certification, or RISE integration remediation. Trigger even when the policy is not named, e.g. "are we allowed to…", "is it compliant to…", "can we connect X to SAP…", "will this break under the new API policy". Produces a sourced technical assessment with a confidence level — explicitly NOT legal advice and NOT a final SAP compliance decision.
development
SAP-RPT-1-OSS local tabular prediction workflows for FI/CO prototype datasets. Use when preparing SAP finance CSV exports for classification or regression experiments with source-verified setup, leakage checks, and governance review.