Skip to main content

SAP ABAP engineering skills and an ADT CLI for AI agents

SKILL.md spec · evidence-first reviews · read-only by default · plain skill folders

Four skills handle pre-release ABAP code review, transport request gate assessment, SAP integration reference, and read/write access to ABAP development objects through the ADT REST API. Each one is a SKILL.md workflow with its own rules and references, usable from Claude Code, Codex, WorkBuddy and other agent tools that load skills.

ADT REST API · Code Review · Transport Gate · Integration Knowledge · Evidence-First

MIT · Self-hosted · ECC 6.0 & S/4HANA

Offline review works without SAP · live operations need the CLI and a connection

License Python SAP Skills Agents

English · 中文

What you can do · Quick start · Usage examples · How it works · Support and safety · Documentation · License


What you can do

Task Skill SAP connection
Review ABAP code before release abap-code-review Not needed — you provide the source
Assess a transport request before import sap-transport-gate Not needed with a review package or source files; online collection uses the CLI
Look up how to integrate SAP with Java, Python, .NET, Node.js or BTP sap-integration-wiki Not needed
Read or write ABAP objects and transports on a live system sap-adt-cli Required — installed CLI, connection profile, matching permissions
Diagnose ABAP Unit failures and runtime dumps sap-adt-cli Supplied evidence works offline; new evidence reads require CLI 1.6.1+ and SAP access
Explicitly debug an approved non-production target sap-adt-cli Experimental CLI 1.6.1+; bounded foreground owner, independent allow_debug and fresh control approval; no automatic escalation from diagnosis

abap-code-review covers 9 review dimensions and sap-transport-gate covers 10. The per-dimension checks, supported object types and report contracts are documented in each skill's README and references/ files; this page does not repeat them.

Both review skills produce a Markdown report with severity-ranked findings and an explicit decision — GO / CONDITIONAL GO / NO-GO for code review, GO / CONDITIONAL_GO / NO_GO / NEED_MORE_EVIDENCE for the transport gate. Findings cite the code or material they came from. Missing evidence is listed as a gap rather than assumed to be safe.


Quick start

Two independent steps: install the skills into your agent, and — only if you need live SAP access — install and configure the CLI.

1. Add the skills

Claude Code installs them from this repository's plugin marketplace:

/plugin marketplace add shrek-abaper/sap-engineering-skill
/plugin install sap-engineering-skills@sap-engineering

The four skills then appear under the sap-engineering-skills namespace (for example /sap-engineering-skills:sap-adt-cli). Update through /plugin → Manage, or claude plugin update sap-engineering-skills@sap-engineering. The plugin distributes skill documentation only and does not install the CLI. This plugin source requires Claude Code ≥ 2.1.224.

Other agents load plain SKILL.md folders: copy the complete skill folder — references included, not just SKILL.md — into the directory your agent scans. Some discover ~/.agents/skills/; others use their own directory or an import UI. See docs/agents/generic-skills.md for the documented flows and Supported agents below.

2. Install the CLI (only for live SAP access)

sap-adt-cli needs the CLI for every online operation, and sap-transport-gate needs it for online transport collection. abap-code-review and sap-integration-wiki never do.

With Node.js ≥ 18 (no Python required for this channel):

npm install -g "sap-adt-cli@^1.5.0"
sap-adt install
sap-adt --version

The npm package installs a launcher; sap-adt install fetches, verifies and installs the platform runtime. A normal sap-adt call never downloads or upgrades anything. Linux x86_64 and Windows x86_64 runtimes are available; Windows requires CLI 1.5.3 or newer. CLI 1.6.0 adds experimental macOS 15+ runtimes for Intel and Apple Silicon.

On Windows without Node.js or Python, download the unsigned sap-adt-<ver>-windows-x86_64-setup.exe from the releases. See the Windows guide for verified scope and limitations.

Without a global install, npx keeps nothing on PATH: run npx "sap-adt-cli@^1.5.0" install and keep that package prefix on every later call.

With Python ≥ 3.10, no Node.js needed:

pip install "sap-adt-cli>=1.5.0,<2.0.0"
sap-adt --version

Then point it at a system:

sap-adt configure            # interactive wizard; the password is entered locally
sap-adt status               # local configuration state only — it does not contact SAP
sap-adt credentials doctor   # which keystore backend is active, without showing secrets

Do not pass a password on the command line or paste one into the chat. For multiple environments use --profile dev|qas|prd; environment variables or a dotenv file declared by SAP_ADT_DOTENV override profiles for CI/CD.

Full channel list, the portable Linux archive, credential precedence and the diagnostics matrix: docs/installation/runtime-setup.md.


Usage examples

These are example requests, not recorded runs.

Review code you already have (no SAP connection):

Review the ABAP report I'm pasting below for release. It reads VBAK/VBAP and
writes an ALV list. Flag security, authorization, performance and standards
issues, and tell me whether anything blocks release.

[paste the report source, including any INCLUDEs]

Expected output: findings grouped by severity, each with a code excerpt, location, cited rule ID and a fix; a GO / CONDITIONAL GO / NO-GO recommendation with a sign-off table; and a list of objects or INCLUDEs that could not be reviewed.

Assess a transport request from materials you provide:

Assess transport DEVK900123 before import to QAS. I'm attaching the object list
and the source files; there is no functional spec and no test evidence.

Expected output: a question about review scope (code quality only, or functional + code quality), an explicit evidence level, EVIDENCE_GAP findings for the missing spec and test evidence, and a decision that low evidence cannot push to GO. The report is written under reports/DEVK900123_package/ with a Markdown report and a JSON summary.

Ask an integration question:

How do I create a purchase order in S/4HANA from Python?

Expected output: the recommended technology for your SAP version and scenario, SAP-side prerequisites, implementation steps with working snippets, and 2–3 common pitfalls.

Diagnose a failed Unit run (CLI 1.6.1+):

Diagnose the supplied ZCL_EXAMPLE Unit failure on qas. Read the returned
test include location; use dump details only when attributable to this run.
Give me evidence, gaps and next actions, without changing code or rerunning
with broader risk or duration.

The Skill composes run-unit-test --require-tests, get-source and get-dump; it does not introduce a workflow engine. Empty runs are not passes, and unsupported dump detail degrades explicitly to ST22. Python and native npm runtimes expose the same commands and JSON contract. See the diagnosis reference and release status before upgrading.

Review output is an input to your release process, not the approval itself. A developer, technical lead or release manager still has to sign off, test and import.


How it works

Component What it is
Skill A folder containing SKILL.md (workflow steps, hard constraints), check rules and reference files. Your agent loads it; no executable code is involved.
CLI The sap-adt command, a separate program that talks to the SAP ADT REST API for live reads, writes and transport collection. Packaged for npm and PyPI; source lives in this repository.
Plugin How Claude Code installs and updates the four skill folders from this repository. Documentation only — the CLI is always installed separately.

The repository is a single distribution point for the four skills and the CLI source, but you do not need its build layout to use either. The same skill folders can be loaded by other agents that support SKILL.md; discovery paths vary.


Support and safety

Platforms

Platform Available today
Linux x86_64 npm runtime, portable archive (glibc 2.39 build verified on Ubuntu 24.04), PyPI
Windows x86_64 npm runtime, portable ZIP and desktop installer from CLI 1.5.3; PyPI with Python ≥ 3.10
macOS 15+ Intel / Apple Silicon Experimental npm runtime and portable archive from CLI 1.6.0; PyPI with Python ≥ 3.10

Windows npm installation and the desktop installer's silent per-user install, same-version upgrade and uninstall were verified on Windows 11 x64 through WSL interop. Graphical wizard clicks, actual PATH mutation and elevated installation remain unverified; the installer is unsigned. macOS releases are gated by native GitHub Actions builds, offline tests and isolated npm install checks on both architectures. Personal Macs, older macOS, Keychain, Gatekeeper/quarantine, signing/notarization and live SAP on macOS remain unverified. Install the skill folders separately from the CLI on every platform.

SAP prerequisites

ECC 6.0 and S/4HANA are the target systems. Online use requires the ADT services to be active on the system (ICF node /sap/bc/adt), a network route from your machine, and a user authorized for the objects and actions you request. Individual ADT endpoints differ by release: sap-adt discovery and sap-adt credentials doctor --coverage report what a given system exposes. Not every ECC/S/4HANA release and endpoint combination has been verified here.

Safety defaults

  • Read-only by default. Writes, activation and transport release require the capability to be enabled in the profile and a fresh [y/N] preview for each operation. --yes exists for trusted automation; it is not a blanket approval. A profile marked environment=prd refuses all write-class operations regardless of flags.
  • Debug permission is independent. allow_debug defaults to false; source writes can stay disabled. Non-production and per-action confirmation still apply. Debug execution can let the target write business data; this is not a read-only sandbox.
  • SQL preview is SELECT-only. Non-SELECT DML is rejected before any request is sent.
  • Secrets stay out of the config file. Passwords go through the OS keystore or an explicit environment/dotenv layer, depending on what is available on the machine; sap-adt credentials doctor shows the active backend.
  • Transport gate never executes transports and never asks for SAP credentials. Online collection is read-only and performed by the CLI.
  • Installing the CLI does not sandbox the agent. It defines which SAP operations the agent can reach; it does not restrict what else the agent may do on your machine.
  • Reviews are advisory. AI output does not replace human testing, architecture review, security approval or release accountability.
  • Check your data policy first. ABAP source can contain core business logic and personal data. Before sending it to a cloud-hosted agent, confirm this is allowed by your organization. A locally installed CLI does not mean nothing leaves the machine: online calls reach your SAP system, and the agent may send context to its model provider.

Supported agents

Agent How to use it
Claude Code Plugin install from this repository (see Quick start)
Codex Generic SKILL.md agent — copy the complete skill folders into the directory it scans; see docs/agents/generic-skills.md
WorkBuddy Same generic folder flow — copy the complete skill folders into the directory it scans
Amazon Kiro, Cline, Trae and similar tools Use the agent's own skill directory or import UI; paths vary by tool

Discovery paths vary between agents — see docs/agents/.


Documentation

Document Contents
docs/installation/ CLI channels (npm, npx, PyPI, portable, source), credential precedence, readiness checks, diagnostics matrix
docs/agents/ Claude Code plugin details and generic SKILL.md agent guidance
docs/authentication/ SAP↔AI authentication playbook: Basic, SPNEGO, X.509, OIDC/OAuth2, gateway and client patterns (synced copy; authoritative version in sap-functional-skill)
docs/development/ Architecture, build and release tooling, migration notes, archived refactor history
CONTRIBUTING.md Local test baseline, secret scanning, WSL/DPAPI verification checklist
SECURITY.md How to report a vulnerability
CHANGELOG.md Release history

Each skill also has its own README and references: sap-adt-cli, abap-code-review, sap-transport-gate, sap-integration-wiki.


Contributing and license

Contributions are welcome. The test suite is plain unittest and runs locally; a manually dispatched macOS workflow also runs offline tests and native packaging checks. Hosted runners never connect to SAP, so real-system verification remains local. Start with CONTRIBUTING.md.

MIT

Skills contain reference content from:

This project is not affiliated with, endorsed by, or officially supported by SAP SE.

Metadata

Release files for sap-adt-cli 1.6.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for sap-adt-cli 1.6.1
File Size Uploaded Provenance Actions
sap_adt_cli-1.6.1.tar.gz 179.1 kB Without provenance Details for sap_adt_cli-1.6.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for sap-adt-cli 1.6.1
File Interpreter ABI Platform Actions
sap_adt_cli-1.6.1-py3-none-any.whl Python 3 none any Details for sap_adt_cli-1.6.1-py3-none-any.whl

Total release size: 301.8 kB

Release files / sap_adt_cli-1.6.1.tar.gz

Download URL sap_adt_cli-1.6.1.tar.gz
Size 179.1 kB
Tags Source
SHA-256 checksum
How to use checksums
e0c8c6277a147983ea1b052ecd8b6d155931272359f6f0a2c944eec1ca0d2fd0
BLAKE2b-256 checksum
How to use checksums
813e54f7ff957fcc527df2504c2efa50e44126a9e4a9b8b31b59eb7650870905
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.3

Release files / sap_adt_cli-1.6.1-py3-none-any.whl

Download URL sap_adt_cli-1.6.1-py3-none-any.whl
Size 122.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
89716e2a68d519e2deb80671a46edf7603a82d8dd8eab025f39f4e5c3d6df2c8
BLAKE2b-256 checksum
How to use checksums
c0e185d0db351064b5f6ab6b7bd9a5feef79e34f419228d5cf8676160a9a72b0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.3

Security for sap-adt-cli 1.6.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page