# Sap adt CLI

> Sap adt CLI is an open-source agent skill for developer tools. Lets an agent read, check and diff live SAP ABAP source, DDIC and transports via ADT. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/shrek-abaper/sap-watt/tree/main/skills/sap-adt-cli
- **Repository:** https://github.com/shrek-abaper/sap-watt
- **GitHub stars:** 55
- **License:** MIT
- **Skill name:** sap-adt-cli
- **Collection:** https://github.com/shrek-abaper/sap-watt
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-04

## About

This skill gives a coding agent a structured way to work with a live SAP system through the sap-watt or compatible sap-adt command-line tool. It covers reading program, class and DDIC source, searching and where-used lookups, syntax and Unit test evidence, ATC checks, Open SQL previews, short dump and feed diagnostics, and object or transport version comparisons.

The workflow is split by intent. Diagnosis of failed tests or runtime errors follows a fixed evidence sequence and stops at a report rather than an automatic fix. Writes, debugging and ABAP execution are only available when the profile capability flags are enabled and each operation receives fresh confirmation, and production environments are refused. Read-only diagnostic and diff queries carry no such gate.

The skill expects a shell on the user's machine, an installed CLI in a compatible version range, and a configured SAP profile with ADT services active. Credentials are entered locally through the CLI and are never pasted into chat. Some advanced commands require newer CLI releases and the agent is instructed to check before relying on them.

## When your agent uses it

> "Read/write live SAP ABAP source and class parts, review multi-object changes,

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/shrek-abaper/sap-watt/tree/HEAD/skills/sap-adt-cli)
- [Asks for: Read, Bash](https://github.com/shrek-abaper/sap-watt/blob/HEAD/skills/sap-adt-cli/SKILL.md)
- [License: MIT](https://github.com/shrek-abaper/sap-watt/tree/HEAD/skills/sap-adt-cli)

## Features

- **Live source reading:** Fetches ABAP programs, classes, function modules, CDS views and class include parts from a configured SAP system.
- **Syntax and Unit evidence:** Runs syntax checks, ABAP Unit tests and ATC checks and reports findings with explicit evidence gaps.
- **Diagnostic feeds and dumps:** Queries ADT feeds and short dump details to correlate runtime errors and Gateway or OData failures.
- **Version and transport diffs:** Compares object versions and transport request objects against stored baselines and flags missing evidence.
- **Gated write operations:** Supports source writes and transport changes only with profile flags, dry-run previews and per-operation approval.
- **Read-only RAP inspection:** Reads CDS, behavior definition and service binding metadata and previews OData runtime metadata without publishing services.

## Good for

- Show the source of a class method and where it is used across the repository
- Explain why a failing ABAP Unit test failed using the returned evidence
- Compare an object's current version with an earlier one
- List the objects inside a transport request and diff them against a baseline
- Check the most recent short dumps for a given user or time window
- Preview rows from a SELECT statement against a development system

## Install

### Claude Code

This skill ships in the `sap-engineering-skills` plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

```sh
/plugin marketplace add shrek-abaper/sap-watt
/plugin install sap-engineering-skills@sap-engineering
```

Or copy only this skill to `~/.claude/skills/sap-adt-cli`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/shrek-abaper/sap-watt.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/sap-adt-cli &&
cp -R "$tmp/skills/sap-adt-cli" ~/.claude/skills/sap-adt-cli &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/sap-adt-cli` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/sap-adt-cli` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/shrek-abaper/sap-watt.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/sap-adt-cli &&
cp -R "$tmp/skills/sap-adt-cli" ~/.agents/skills/sap-adt-cli &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/sap-adt-cli` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/sap-adt-cli` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/shrek-abaper/sap-watt.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/sap-adt-cli &&
cp -R "$tmp/skills/sap-adt-cli" ~/.cursor/skills/sap-adt-cli &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/sap-adt-cli` inside it instead.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/shrek-abaper/sap-watt.git --path skills/sap-adt-cli
```

Or copy the folder to `~/.gemini/skills/sap-adt-cli` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/sap-adt-cli`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/shrek-abaper/sap-watt.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/sap-adt-cli &&
cp -R "$tmp/skills/sap-adt-cli" ~/.copilot/skills/sap-adt-cli &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/sap-adt-cli` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/shrek-abaper/sap-watt.git
```

Then copy `sap-watt/skills/sap-adt-cli` into your agent's skills folder as `sap-adt-cli`. Agents that support SKILL.md read one folder per skill.

## FAQ

### What does the skill need to run?

A shell that can run binaries on the user's machine, the sap-watt or sap-adt CLI within its compatible version range, and a configured SAP profile with ADT services active.

### Can Sap adt CLI change code in SAP on its own?

No. Writes require profile capability flags and fresh confirmation for each operation, and production environments refuse them.

### Does Sap adt CLI fix failing tests automatically?

No. Test failure diagnosis reports evidence and a suggested next action, without applying an automatic fix.

### Which parts of the CLI are needed for diagnostics?

Feed, version and transport diff commands are read-only and need no write flags, but they require CLI 1.6.0 or newer.

### How do I install Sap adt CLI in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/sap-adt-cli to use it in all your projects, or to .claude/skills/sap-adt-cli in one project. Or install the sap-engineering-skills plugin, which includes it: /plugin marketplace add shrek-abaper/sap-watt, then /plugin install sap-engineering-skills@sap-engineering.

### Does Sap adt CLI run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

### Which AI agents can use Sap adt CLI?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

### What are the best alternatives to Sap adt CLI?

The closest alternatives to Sap adt CLI are Code review, Abap cloud, Sap transport gate, Abap code review and Code generation.

## Where this comes from

- Description: from the skill's own SKILL.md.

## Alternatives

- [Code review](https://ai-powered.com/skills/code-review-vigneshbarani24): Code review is an open-source agent skill for developer tools.
- [Abap cloud](https://ai-powered.com/skills/abap-cloud): Abap cloud is an open-source agent skill for developer tools.
- [Sap transport gate](https://ai-powered.com/skills/sap-transport-gate): Sap transport gate is an open-source agent skill for developer tools.
- [Abap code review](https://ai-powered.com/skills/abap-code-review): Abap code review is an open-source agent skill for developer tools.
- [Code generation](https://ai-powered.com/skills/code-generation): Code generation is an open-source agent skill for developer tools.
- [Autopilot](https://ai-powered.com/skills/autopilot-vigneshbarani24): Autopilot is an open-source agent skill for developer tools.
- [Adcp](https://ai-powered.com/skills/adcp): Adcp is an open-source agent skill for developer tools.
- [Transport release](https://ai-powered.com/skills/transport-release): Transport release is an open-source agent skill for developer tools.

---
Source: https://ai-powered.com/skills/sap-adt-cli
