rap

rap is a skill for Claude Code from likweitan/abap-skills. It costs 165 tokens per session (3,327 once invoked), scanned A, original, MIT.

Guidance for SAP’s RESTful ABAP Programming Model, or RAP, a framework for building transactional business applications and services in ABAP Cloud. It covers data models, business rules, drafts, actions, validations, and service exposure.

In plain words
What is it for?
Use it to build or troubleshoot RAP applications, define business behavior, write EML statements for working with business objects, and expose them as services.
Why use it?
It helps developers organize a RAP application into the right layers and choose the correct approach for managed or unmanaged business objects.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the sap-abap plugin — 18 skills shipped together

Good fit Use it to build or troubleshoot RAP applications, define business behavior, write EML statements for working with business objects, and expose them as services.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/likweitan/abap-skills/rap
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.

Any agent
npx skills add likweitan/abap-skills --skill rap
Clone the repo
git clone --depth 1 https://github.com/likweitan/abap-skills

Made for: Claude Code.

Or install sap-abap, the plugin that ships this one along with the rest of its 18 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 rap

README.md
[![agentmods](https://agentmods.dev/badge/skills/likweitan/abap-skills/rap/github.svg)](https://agentmods.dev/skills/likweitan/abap-skills/rap)
Your own site
<a href="https://agentmods.dev/skills/likweitan/abap-skills/rap"><img src="https://agentmods.dev/badge/skills/likweitan/abap-skills/rap/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for rap

Your own site · 80×15
<a href="https://agentmods.dev/skills/likweitan/abap-skills/rap"><img src="https://agentmods.dev/badge/skills/likweitan/abap-skills/rap.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 165 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,327 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Rogue Agent · line 370
    Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.
    Fix: Remove any persistence mechanisms (cron jobs, startup scripts, state files). Skills should not maintain state across sessions without explicit user consent.
How audits are shown
Origin original 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.00165 $0.03327
Opus 5 $0.00082 $0.01664
Sonnet 5 $0.00033 $0.00665
Haiku 4.5 $0.00016 $0.00333

Measured 11d ago against content hash e5dd578e225b, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

rap 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 11d 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.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

  • rap — 91% identical, 23 lines differ
skills/rap/SKILL.md · 407 lines

How it starts

The opening of the file, as written. The whole thing — 407 lines — stays where its author put it; the contents beside it link to each section on GitHub.

RAP (RESTful ABAP Programming Model)

Guide for building transactional applications using the ABAP RESTful Application Programming Model (RAP) in ABAP Cloud.

Workflow

  1. Determine the user's goal:

    • Creating a new RAP BO from scratch
    • Adding behavior (actions, validations, determinations) to an existing BO
    • Writing EML statements to consume a RAP BO
    • Troubleshooting RAP-related issues
    • Understanding RAP concepts
  2. Identify the scenario:

    • Managed (greenfield) vs. unmanaged (brownfield)
    • Draft-enabled or not
    • Numbering concept: early/late, internal/external/managed
    • Single entity or composition tree (root + children)
  3. Guide implementation following the RAP layered architecture:

    • Data modeling (database tables → CDS view entities)
    • Behavior definition (BDEF using BDL)
    • Behavior implementation (ABAP behavior pool)
    • Business service exposure (service definition → service binding)
  4. Provide code examples using correct BDL and EML syntax

RAP Architecture Layers

Layer Artifacts Purpose
Data Modeling Database tables, CDS root/child view entities Data persistence and semantic data model
Behavior Definition BDEF (.bdef) Declares transactional behavior (operations, characteristics) using BDL
Behavior Implementation ABAP behavior pool (BP_*) Implements business logic in handler/saver classes
Projection CDS projection views, projection BDEF Adapts BO for specific service consumers
Business Service Service definition, service binding Exposes BO as OData service

Read the full file on GitHub · 407 lines

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. 11d ago First seen · 407 lines · 165 tokens per session scan A e5dd578e225b

Subscribe to this mod's changes

rap is a skill published in the GitHub repository likweitan/abap-skills (60 stars, last pushed 15d ago), licensed MIT. It adds 165 tokens to every session and 3,327 once invoked, about $0.0008 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-08-30.

Related

Other skills, from other repositories

sap-expert

Expert in SAP ERP systems, ABAP programming, SAP HANA, S/4HANA, Fiori applications, and SAP integration patterns including OData, RFC, and IDoc. Use when the user mentions ERP, enterprise, business apps, ABAP, HANA, or S/4HANA, or when the task involves SAP Ecosystem, ABAP Development, Integration Technologies, or…

personamanagmentlayer/pcl · 92 tokens

sap-abap

Comprehensive ABAP development skill for SAP systems. Use when writing ABAP code, working with internal tables, structures, ABAP SQL, object-oriented programming, RAP (RESTful Application Programming Model), CDS views, EML statements, ABAP Cloud development, string processing, dynamic programming, RTTI/RTTC, field…

secondsky/sap-skills · 100 tokens

sap-btp-developer-guide

Develops business applications on SAP Business Technology Platform (BTP) using CAP (Node.js/Java) or ABAP Cloud. Use when: building cloud applications on SAP BTP, deploying to Cloud Foundry or Kyma runtimes, integrating with SAP HANA Cloud, implementing SAP Fiori UIs, connecting to remote SAP systems, building…

secondsky/sap-skills · 240 tokens

sap-cap-capire

SAP Cloud Application Programming Model (CAP) development skill using Capire documentation. Use when: building CAP applications, defining CDS models, implementing services, working with SAP HANA/SQLite/PostgreSQL databases, deploying to SAP BTP Cloud Foundry or Kyma, implementing Fiori UIs, handling authorization…

secondsky/sap-skills · 103 tokens

sap-sqlscript

This skill should be used when the user asks to "write a SQLScript procedure", "create HANA stored procedure", "implement AMDP method", "optimize SQLScript performance", "handle SQLScript exceptions", "debug HANA procedure", "create table function", "inspect a browser-based Datasphere SQL editor with Microsoft Edge…

secondsky/sap-skills · 138 tokens

sap-api-policy

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 /…

secondsky/sap-skills · 232 tokens