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

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. The macOS runtime is not built yet.

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.

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 PyPI with Python ≥ 3.10; no runtime build yet

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. The macOS runtime remains planned only. 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.
  • 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. There is no cloud CI — hosted runners cannot reach real SAP systems, so the meaningful verification is done on a machine with system access. 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.5.3

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.5.3
File Size Uploaded Provenance Actions
sap_adt_cli-1.5.3.tar.gz 124.9 kB Without provenance Details for sap_adt_cli-1.5.3.tar.gz

Built distribution (wheel)

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

Total release size: 212.2 kB

Release files / sap_adt_cli-1.5.3.tar.gz

Download URL sap_adt_cli-1.5.3.tar.gz
Size 124.9 kB
Tags Source
SHA-256 checksum
How to use checksums
c3402109879ac01bdd4d82b808de5ad3c13d5c09de332d8740c4189b6e969e7e
BLAKE2b-256 checksum
How to use checksums
84485685b8fa9fbe50c895445487b27d201712ce264b295779a3f16fa10fd803
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.5.3-py3-none-any.whl

Download URL sap_adt_cli-1.5.3-py3-none-any.whl
Size 87.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
95f1939bc1844267102f0f8fd8f849ef9da3ba1d63fce6e6a20222b9a193d3c8
BLAKE2b-256 checksum
How to use checksums
2a04ba6ae7a1c08fbaa8417d58a16111752583e73d9cf25b04f77c91d9aee166
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.5.3

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