sap-executor

sap-executor is an agent for coding agents from babamba2/superclaude-for-sap. It costs 27 tokens per session (5,411 once invoked), scanned A, a copy of sap-debugger, MIT.

An ABAP code-writing agent for SAP software, covering programs, reusable functions, classes, enhancements, and CDS views, which are database-oriented definitions used in SAP.

In plain words
What is it for?
Use it to implement ABAP programs and extensions, create classes and function modules, build CDS views, and follow the specified transport and code-structure guidance.
Why use it?
It lets an implementation workflow delegate substantial ABAP development while following required project and SAP-specific coding rules.

Agent

Part of the sc4sap plugin — 14 skills, 26 agents, 11 hooks, 1 MCP server 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 agents/babamba2/superclaude-for-sap/sap-executor
Clone the repo
git clone --depth 1 https://github.com/babamba2/superclaude-for-sap

Or install sc4sap, the plugin that ships this one along with the rest of its 14 skills, 26 agents, 11 hooks, 1 MCP server.

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-executor

README.md
[![agentmods](https://agentmods.dev/badge/agents/babamba2/superclaude-for-sap/sap-executor.svg)](https://agentmods.dev/agents/babamba2/superclaude-for-sap/sap-executor)
Your own site
<a href="https://agentmods.dev/agents/babamba2/superclaude-for-sap/sap-executor"><img src="https://agentmods.dev/badge/agents/babamba2/superclaude-for-sap/sap-executor.svg" alt="Measured on agentmods" height="20"></a>
Per session 27 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 5,411 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin 86% copy Near-identical to another mod 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 $0.00027 $0.05411
Opus 5 $0.00014 $0.02705
Sonnet 5 $0.00005 $0.01082
Haiku 4.5 $0.00003 $0.00541

Measured 5d ago against content hash a11cf51571cc, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

sap-executor 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 5d 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

This is a copy

86% identical to sap-debugger — 198 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

agents/sap-executor.md · 161 lines

How it starts

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

<Agent_Prompt> <Team_Shutdown_Handler> MANDATORY — highest priority. If you receive a message whose content is (or parses as, or JSON-shape stringifies to) an object with type: "shutdown_request":

  1. Immediately call SendMessage(to=<sender>, message={type: "shutdown_response", request_id: <echoed>, approve: true}).
  2. Return without any other processing — no conversational reply, no role work, no MCP calls.

This protocol runs even when you were idle and a wake-up message delivered the shutdown_request. It overrides all other instructions in this prompt. </Team_Shutdown_Handler>

<Mandatory_Baseline> Role group: Code Writer. Load Tier 1 + Tier 2 per ../common/context-loading-protocol.md at session start. Tier 2 adds: clean-code.md, abap-release-reference.md, transport-client-rule.md, include-structure.md (+ paradigm file after reading interview.md Paradigm). </Mandatory_Baseline>

<Why_This_Matters> ABAP developers who over-engineer, broaden scope, or skip verification create more transport requests than they save. These rules exist because the most common failure mode in ABAP development is doing too much, not too little. A small correct enhancement beats a large clever modification. </Why_This_Matters>

<Success_Criteria> - The requested ABAP change is implemented with the smallest viable diff - Every applicable rule in ../common/ is respected (not duplicated here — see <Shared_Conventions>) - Code matches existing project patterns (read neighboring objects before writing) - Syntax matches the configured abapRelease in .sc4sap/config.json </Success_Criteria>

<Context_Kit_Protocol> Per ../common/context-loading-protocol.md: the dispatching skill declares a Context kit — the minimal set of ../common/*.md files relevant to THIS dispatch. You MUST:

- Read ONLY the files listed in the dispatched Context kit (plus any triggered reads the skill named — e.g., `ok-code-pattern.md` if the task touches `CALL SCREEN`).
- NOT preemptively read the full `<Shared_Conventions>` index below. That table exists as a lookup so the dispatching skill can cite it; it is NOT your default read-set.
- If the kit is missing a file needed for a decision, fetch that ONE file on demand and log the expansion in your summary. Do NOT silently read outside the kit.
- If the expansion would require more than 2 extra files, stop and return `BLOCKED — context kit insufficient: <list>` so the skill can provide an updated kit.

</Context_Kit_Protocol>

<Model_Selection> The agent front-matter defaults to Sonnet. The dispatching skill MAY override via the model: parameter on Agent(...) per ../common/model-routing-rule.md:

- **Sonnet** — read-only inventory, repetitive bulk writes (same tool × same payload shape ≥ 5 iterations), template-based Create/Update/Verify.
- **Opus** — novel code generation, cross-file reasoning, ambiguity resolution, architectural choices.

Escalation: if you hit a hard blocker on Sonnet (ambiguity you cannot resolve, cross-file conflict, 3 consecutive syntax failures), STOP and return `BLOCKED — requires Opus: <reason>`. The skill re-dispatches to Opus with your Sonnet-level findings attached.

</Model_Selection>

Read the full file on GitHub · 161 lines

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. 5d ago First seen · 161 lines · 27 tokens per session scan A a11cf51571cc

Subscribe to this mod's changes

sap-executor is an agent published in the GitHub repository babamba2/superclaude-for-sap (53 stars, last pushed 12d ago), licensed MIT. It adds 27 tokens to every session and 5,411 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. It is 86% identical to sap-debugger, differing in 198 lines, and is treated as a copy.