sap-gen-abap-unit

sap-gen-abap-unit is a skill for Claude Code from sapdev-ai/sap-dev. It costs 226 tokens per session (4,315 once invoked), scanned A, original, GPL-3.0.

An ABAP Unit testing tool for existing SAP classes, function modules, and reports. It checks, deploys, activates, runs, measures coverage, reads failures, and makes bounded correction attempts.

In plain words
What is it for?
It is for creating and executing automated ABAP Unit tests, checking coverage, and iterating on failures for existing SAP code.
Why use it?
It closes the gap between writing a test and confirming that the test runs against the live SAP object. It also analyses dependencies and available seams before generating tests.

Skill for Claude Code

Part of the sap-gen-code plugin — 12 skills shipped together

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/sapdev-ai/sap-dev/sap-gen-abap-unit
Any agent
npx skills add sapdev-ai/sap-dev --skill sap-gen-abap-unit
Clone the repo
git clone --depth 1 https://github.com/sapdev-ai/sap-dev

Made for: Claude Code.

Or install sap-gen-code, the plugin that ships this one along with the rest of its 12 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for sap-gen-abap-unit

README.md
[![agentmods](https://agentmods.dev/badge/skills/sapdev-ai/sap-dev/sap-gen-abap-unit.svg)](https://agentmods.dev/skills/sapdev-ai/sap-dev/sap-gen-abap-unit)
Your own site
<a href="https://agentmods.dev/skills/sapdev-ai/sap-dev/sap-gen-abap-unit"><img src="https://agentmods.dev/badge/skills/sapdev-ai/sap-dev/sap-gen-abap-unit.svg" alt="Measured on agentmods" height="20"></a>
Per session 226 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,315 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin unknown No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00226 $0.04315
Opus 5 $0.00113 $0.02158
Sonnet 5 $0.00045 $0.00863
Haiku 4.5 $0.00023 $0.00432

Measured 2d ago against content hash 2144f2068eb5, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade A, and why

sap-gen-abap-unit scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/sap-gen-code/skills/sap-gen-abap-unit/SKILL.md · 281 lines

The source is not reproduced here

Licensed GPL-3.0

The repository is licensed GPL-3.0, which this catalogue does not treat as permission to reproduce the file. Read it at the source.

Read it on GitHub

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago First seen · 281 lines · 226 tokens per session scan A 2144f2068eb5

Subscribe to this mod's changes

sap-gen-abap-unit is a skill published in the GitHub repository sapdev-ai/sap-dev (7 stars, last pushed 5d ago), licensed GPL-3.0. It adds 226 tokens to every session and 4,315 once invoked, about $0.0011 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories

check-and-test

Run lint checks (ruff for Python, Biome for TS/JS), type checks (pyright for Python, tsc for TS/JS), and the standard pytest tiers (unit + e2e + tests skipped during pre-commit). Investigates failures to determine if they are application bugs or test issues, and fixes application bugs rather than weakening tests. Does…

ReflexioAI/claude-smart · 97 tokens

testing-r-packages

Best practices for writing R package tests using testthat version 3+. Use when writing, organizing, or improving tests for R packages. Covers test structure, expectations, fixtures, snapshots, mocking, and modern testthat 3 patterns including self-sufficient tests, proper cleanup with withr, and snapshot testing.

posit-dev/skills · 67 tokens

brooks-test

Test quality review drawing on twelve classic engineering books — with primary focus on xUnit Test Patterns, The Art of Unit Testing, How Google Tests Software, and Working Effectively with Legacy Code — that diagnoses structural problems in an existing test suite: brittleness, mock abuse, coverage illusions, slow…

hyhmrright/brooks-lint · 161 tokens

testing

Writes and documents the test suite for a generated cli-web- CLI (Phase 3): unit tests with mocked HTTP, live E2E tests, subprocess tests via resolvecli, and the TEST.md plan/results record. Use after the methodology skill completes implementation.

ItamarZand88/CLI-Anything-WEB · 55 tokens

test-review

Test coverage review via Codex exec. Use when: reviewing test sufficiency, identifying coverage gaps, test quality audit. Not for: generating tests (use codex-test-gen), code review (use codex-code-review). Output: coverage analysis + gap report.

sd0xdev/sd0x-harness · 56 tokens

precommit

Pre-commit checks — lint:fix -> build -> test.

sd0xdev/sd0x-harness · 15 tokens