plugins/sap-api-policy/skills/sap-api-policy/SKILL.md
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.
npx skillsauth add secondsky/sap-skills sap-api-policyInstall 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.
Assess whether an SAP API usage scenario appears aligned with the SAP API Policy v.4.2026a (and its FAQ v1.2, May 2026) by gathering evidence from official SAP sources and the user's own facts, then producing a conservative, sourced technical assessment.
Use this skill for a single SAP interface assessment, an architecture decision involving SAP APIs, or a batch inventory that needs evidence-based policy triage. Route purely legal, contractual, commercial, or roadmap questions to the appropriate SAP or customer owner.
Never present the result as legal advice, contractual advice, or a final/definitive SAP compliance decision. Only SAP, the applicable contract, or SAP support/account/legal channels can give a binding answer for a specific customer landscape. This is not a hedge you can drop to sound more helpful — SAP itself declines to publish a binary "compliant / not compliant" decision matrix (FAQ Q49), so a confident yes/no would misrepresent what is knowable. Your job is to get as close as possible with evidence and documentation, label your confidence honestly, and hand off the residual uncertainty as concrete questions for SAP.
Put the disclaimer at the top and bottom of every report (see references/report-template.md).
Some requests are not evidence-based technical-alignment questions, and you must not answer them as if they were. When a question turns on any of the following, say plainly that it is outside this assessment and route it to the right SAP channel — do not guess:
For a mixed question, answer the technical half normally (Assessment + Confidence) and wall off the legal/commercial/roadmap half with a one-line referral. Don't let a legal framing suppress a technical finding, and don't let a technical question drift into a legal or commercial opinion.
Work through these steps. Read the linked reference file when you reach that step — don't preload everything.
Frame the scenario. Extract every fact the user gave into a fact table (product, deployment, version, interface/endpoint, consumer/tool, data direction, usage pattern, AI/automation flags, existing evidence). Infer what you safely can and label it as an assumption.
Triage missing facts before asking anything. Classify each missing fact as blocker,
important, optional, or discoverable (try tools first). Ask at most one short round of
blocker questions; otherwise proceed at lower confidence and say so. The full triage logic,
scenario-specific question sets, and the "never ask for secrets" rule are in
references/evidence-model.md.
Classify the scenario into one or more categories — Published-API/Documented-Use,
ABAP object / custom wrapper / Clean Core, AI / agentic / MCP, bulk extraction / replication,
outbound event/callback, unsupported/internal interface, partner-certified solution,
RISE remediation. Each has its own analysis path and red flags in
references/policy-baseline.md.
Check which tools are actually available right now, then gather evidence. Do a runtime
self-check (don't assume) and gather evidence in priority order from official sources. Exact
per-server tool calls, the scenario→tool decision tree, and how to handle authenticated-source
failures are in references/tool-playbooks.md.
Apply the policy controls. For every interface, verify Published-API/Documented-Use status;
then check Specific Controls (rate limits, quotas, deprecation, ingress/egress, bulk
preconditions, security) and General Controls (competitive analysis, out-of-scope use,
system-risk, agentic AI, large-scale extraction). Details and the named endorsed pathways
to recommend as alternatives are in references/policy-baseline.md.
Build the evidence ledger and assess. Record every source with an authority level and
timestamp. Pick an assessment category and a confidence level using the rubric in
references/evidence-model.md. Separate evidence from inference — never invent
certainty to fill a gap.
Write the report using references/report-template.md. Include residual risk, the missing
facts that would most improve confidence, and specific questions to raise with SAP.
When the user doesn't ask about one scenario but wants "which of these APIs/interfaces are
allowed?", hands you a list of objects/services, or asks to scan/triage a landscape (a very
common ask — there is no SAP-published master list of permitted APIs), switch to the batch workflow
in references/inventory-scan-mode.md: resolve each interface's released/published/prohibited
status via released-object and API Hub tools, return one timestamped table plus a portfolio verdict,
and flag the rows that still need a full per-scenario assessment. Present it as evidence-as-of-date,
not an SAP-sanctioned allowlist.
Avoid binary "allowed / not allowed" language unless the evidence is explicit.
| Category | When to use |
| --- | --- |
| Likely aligned | Official evidence shows the interface is published/documented for this use, usage stays within documented controls, no red flags. |
| Likely not aligned | Evidence shows internal/private/"confidential"/SAP-reserved status, a prohibiting SAP Note, use outside Documented Use, control circumvention, unendorsed agentic access, or unendorsed bulk extraction. |
| Needs SAP confirmation | Official evidence is missing, conflicting, version-/contract-/architecture-specific, or only "otherwise authorized by SAP" could settle it. |
| Not assessable from provided facts | Required scenario facts (interface, product, volume, architecture) are missing and not discoverable. |
Always attach: confidence (high, medium, or low exactly; no hybrid or range labels),
evidence strength of the key findings,
residual risk, and questions for SAP/customer.
references/tool-playbooks.md.Every assessment report must include these exact elements:
**Assessment:** followed by exactly one of the four named categories, verbatim and alone — no
trailing words, parentheticals, or qualifiers (write Needs SAP confirmation, never Needs SAP confirmation (directionally favourable) or Likely not aligned, but with an easy fix). All nuance
goes in the analysis / Why, never in the label.**Confidence:** followed by exactly one of high, medium, or low — same rule: the value
stands alone with no qualifiers.| Problem | Response |
| --- | --- |
| Interface name is ambiguous | Request the exact technical name or proceed with low confidence and state the ambiguity. |
| Official sources conflict | Preserve both findings, use Needs SAP confirmation, and identify the deciding evidence. |
| Authenticated evidence is unavailable | State the tool gap and do not replace it with community content as proof. |
| The request mixes technical and legal questions | Assess the technical portion and route the legal portion to the responsible owner. |
sap-api-style for API design and documentation conventions.sap-browser-automation for approved interaction with authenticated SAP web interfaces.sap-abap and sap-abap-cds for released ABAP objects, wrappers, and Clean Core implementation details.sap-dependency-security for MCP and software supply-chain controls.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.
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.
tools
SAP Analytics Cloud (SAC) automated testing skill for designing capability-gated browser discovery and deterministic Playwright test suites for SAC stories, dashboards, reports, planning workflows, comments, permissions, visual regression, and reusable QA automation. This skill should be used when building SAC end-to-end tests, onboarding SAC dashboards into Playwright, creating dashboard profiles or scenario YAML, using Microsoft Edge/CDP, Chrome DevTools MCP, Vercel Labs agent-browser, or manual discovery for SAC components, testing SAC optimized stories, configuring SAC auth storage state, managing visual/data baselines, testing comments, planning writeback, data actions, multi actions, role-based views, restricted Windows/company environments, or creating SAC failure triage artifacts.