sap-code-reviewer

sap-code-reviewer is an agent for Claude Code from babamba2/superclaude-for-sap. It costs 28 tokens per session (3,339 once invoked), scanned A, original, MIT.

An ABAP code reviewer for SAP, focused on code quality, speed, security, and compliance with SAP standards. ABAP is the programming language commonly used to customize SAP systems.

In plain words
What is it for?
Use it to review ABAP changes for Clean ABAP practices, performance problems, security gaps, and SAP standard compliance.
Why use it?
It helps catch defects before code is transported into production, such as missing authorization checks or inefficient database access.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter.

Part of the sc4sap plugin — 14 skills, 26 agents, 11 hooks, 1 MCP server shipped together

Good fit Use it to review ABAP changes for Clean ABAP practices, performance problems, security gaps, and SAP standard compliance.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/babamba2/superclaude-for-sap/sap-code-reviewer
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.

Clone the repo
git clone --depth 1 https://github.com/babamba2/superclaude-for-sap

Made for: Claude Code.

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-code-reviewer

README.md
[![agentmods](https://agentmods.dev/badge/agents/babamba2/superclaude-for-sap/sap-code-reviewer.svg)](https://agentmods.dev/agents/babamba2/superclaude-for-sap/sap-code-reviewer)
Your own site
<a href="https://agentmods.dev/agents/babamba2/superclaude-for-sap/sap-code-reviewer"><img src="https://agentmods.dev/badge/agents/babamba2/superclaude-for-sap/sap-code-reviewer.svg" alt="Measured on agentmods" height="20"></a>
Per session 28 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 3,339 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.
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.00028 $0.03339
Opus 5 $0.00014 $0.01670
Sonnet 5 $0.00006 $0.00668
Haiku 4.5 $0.00003 $0.00334

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

Security

Grade A, and why

sap-code-reviewer 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 8d 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.

agents/sap-code-reviewer.md · 180 lines

How it starts

The opening of the file, as written. The whole thing — 180 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: Reviewer. Load Tier 1 + Tier 2 per ../common/context-loading-protocol.md at session start. Tier 2 adds: clean-code.md, abap-release-reference.md, include-structure.md (per-bucket kits in ../skills/create-program/phase6-review.md §1-§12 narrow further). </Mandatory_Baseline>

<Why_This_Matters> ABAP code review is the last line of defense before transporting defective code to production. Missing AUTHORITY-CHECK statements create security holes. SELECT * inside LOOPs cause performance dumps in production. Modifications without SSCR keys block SAP upgrades. Severity-rated feedback lets ABAP developers prioritize effectively. </Why_This_Matters>

<Success_Criteria> - Every issue cites a specific ABAP program:line or function module reference - Issues rated by severity: CRITICAL, HIGH, MEDIUM, LOW - Each issue includes a concrete ABAP fix suggestion with code example - Clean ABAP principles verified (naming, method length, parameter usage) - Authorization checks verified for all sensitive operations - Database access patterns verified (no SELECT *, no SELECT in LOOP, proper use of FOR ALL ENTRIES) - Transport consistency verified (all dependent objects included) - Clear verdict: APPROVE, REQUEST CHANGES, or COMMENT - ABAP syntax compatibility verified against configured abapRelease (e.g., no inline declarations in 7.31, no RAP in < 754) </Success_Criteria>

<Context_Kit_Protocol> Per ../common/context-loading-protocol.md: each Phase 6 reviewer bucket (§1 ALV, §2 Text, §3 Constant, §4 Procedural FORM, §5 OOP, §6 Include, §7 Naming, §8 Clean ABAP, §9 ABAP release, §10 SAP version, §11 SPRO, §12 Activation) is an INDEPENDENT dispatch with its own narrow context kit. You MUST:

- When dispatched for a specific bucket (e.g., §1 ALV), read ONLY that bucket's named file(s): e.g., `../common/alv-rules.md` + `../common/ok-code-pattern.md` (if `CALL SCREEN` present). Do NOT read the other 11 sections' rule files.
- If the skill dispatches you for multiple buckets at once, read each bucket's files independently; do NOT merge-load them preemptively.
- On a MAJOR finding, stop the current bucket and return the finding with its narrow context — the skill escalates to Opus with that context only, NOT the full 12-file set.

</Context_Kit_Protocol>

Read the full file on GitHub · 180 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. 8d ago First seen · 180 lines · 28 tokens per session scan A a665c290e69b

Subscribe to this mod's changes

sap-code-reviewer is an agent published in the GitHub repository babamba2/superclaude-for-sap (53 stars, last pushed 15d ago), licensed MIT. It adds 28 tokens to every session and 3,339 once invoked, about $0.0001 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 agents, from other repositories

reviewer

Read-only reviewer for an SDD implementation — checks that the change satisfies the acceptance criteria it claims (stage 1) and meets quality/convention/edge-case bars (stage 2). Use after a task (or the whole feature) reaches GREEN, before it's considered done. It reads the diff and the upstream artifacts and reports…

genkovich/sdd · 81 tokens

atomic-auditor

Final gate for a finished implementation. Dispatched exactly once after the implement-review loop goes green, never per iteration. Never touches the repo; its one write is the audit report into the task scratchpad. Audits the delivered work as a whole: cumulative spec compliance, cross-iteration coherence…

damusix/atomic-claude · 169 tokens

bt6-pr-auditor

Reviews one pull request in a BT6 codebase for correctness, research integrity, security, verification quality, and merge readiness.

elder-plinius/T3MP3ST · 32 tokens

Reviewer

Mandatory fast reviewer: validates every agent delegation output before acceptance. Checks acceptance criteria, file partitions, regressions, type safety, security basics.

monkilabs/opencastle · 30 tokens

security-auditor

Use this agent when reviewing local code changes or pull requests to identify security vulnerabilities and risks. This agent should be invoked proactively after completing security-sensitive changes or before merging any PR.

NeoLabHQ/context-engineering-kit · 40 tokens

dotnet-architecture-reviewer

Reviews a .NET codebase or repository and produces a structured architecture report — layering and dependency-rule violations, coupling, CQRS/handler hygiene, EF Core boundary leaks, testability, and concrete prioritized fixes. Use when the user wants an architecture review, a "second opinion" on structure, a PR-level…

StefanTheCode/dotnet-ai-toolkit · 102 tokens