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.
npx skills add BoxLogoDev/sapstack --skill sap-abapgit clone --depth 1 https://github.com/BoxLogoDev/sapstackWrote 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.
[](https://agentmods.dev/skills/boxlogodev/sapstack/sap-abap)<a href="https://agentmods.dev/skills/boxlogodev/sapstack/sap-abap"><img src="https://agentmods.dev/badge/skills/boxlogodev/sapstack/sap-abap/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.
<a href="https://agentmods.dev/skills/boxlogodev/sapstack/sap-abap"><img src="https://agentmods.dev/badge/skills/boxlogodev/sapstack/sap-abap.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00156 | $0.02519 |
| Opus 5.5 | $0.00062 | $0.01008 |
| Sonnet 5.5 | $0.00031 | $0.00504 |
| Haiku 4.5 | $0.00016 | $0.00252 |
Grade A, and why
sap-abap 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 3mo 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.
How it starts
The opening of the file, as written. The whole thing — 313 lines — stays where its author put it; the contents beside it link to each section on GitHub.
1. Environment Detection
Ask before writing any code:
□ ABAP release? (7.02 ECC / 7.40 / 7.50 / 7.57 S/4HANA 2023)
□ Clean Core required? (on-premise CBO allowed vs BTP side-by-side only?)
□ Package / naming convention? (Z* / Y* prefix, package structure)
□ Transport landscape? (DEV → QAS → PRD, how many systems?)
□ S/4HANA deployment? (on-premise / RISE / Cloud PE — affects what's allowed)
2. Enhancement Framework — Decision Table
| Scenario | Recommended Approach | Notes |
|---|---|---|
| Classic user exit exists | SMOD / CMOD | ECC only — avoid in new S/4HANA dev |
| BAdI definition exists | New BAdI (SE19 / GET BADI) | All releases — preferred approach |
| No exit/BAdI, on-premise | Enhancement Spot (SE18/SE19) | CBO allowed on-premise |
| S/4HANA Clean Core / Cloud PE | BTP side-by-side extension (RAP + Events) | No on-stack modifications |
3. Code Patterns with Full Examples
New BAdI (All Releases — Preferred)
" Step 1: Find BAdI via SE19 or BADI Explorer (SPRO)
" Step 2: Create enhancement implementation
" Step 3: Implement interface method
DATA lo_badi TYPE REF TO badi_name.
GET BADI lo_badi.
CALL BADI lo_badi->method_name
EXPORTING iv_input = lv_value
IMPORTING ev_output = lv_result.
ALV — OO Approach (Recommended Over REUSE_ALV_GRID_DISPLAY)
DATA: lo_alv TYPE REF TO cl_salv_table,
lt_result TYPE TABLE OF your_structure.
" ... populate lt_result ...
TRY.
cl_salv_table=>factory(
IMPORTING r_salv_table = lo_alv
CHANGING t_table = lt_result ).
" Optional: configure columns
lo_alv->get_columns( )->set_optimize( abap_true ).
" Optional: add sort
DATA(lo_sorts) = lo_alv->get_sorts( ).
lo_sorts->add_sort( columnname = 'FIELD1' ).
lo_alv->display( ).
CATCH cx_salv_msg INTO DATA(lx_err).
MESSAGE lx_err->get_text( ) TYPE 'E'.
ENDTRY.
BAPI with Complete Error Handling
DATA lt_return TYPE TABLE OF bapiret2.
CALL FUNCTION 'BAPI_NAME'
EXPORTING
iv_param1 = lv_value1
iv_param2 = lv_value2
IMPORTING
ev_result = lv_result
TABLES
return = lt_return.
" ALWAYS check return table — never assume success
IF line_exists( lt_return[ type = 'E' ] )
OR line_exists( lt_return[ type = 'A' ] ).
" Error — do NOT commit; handle or raise
LOOP AT lt_return INTO DATA(ls_err) WHERE type CA 'EA'.
MESSAGE ls_err-message TYPE 'E'.
ENDLOOP.
ELSE.
" Success — commit
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
EXPORTING wait = abap_true.
ENDIF.
What ships with it
13 files 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.
- references/best-practices/governance.md 2.2 KB
- references/best-practices/operational.md 1.5 KB
- references/best-practices/period-end.md 1.3 KB
- references/clean-core-patterns.md 5.6 KB
- references/code-review-checklist.md 5.9 KB
- references/de/quick-guide-de.md 2.3 KB
- references/en/quick-guide-en.md 2.2 KB
- references/ja/quick-guide-ja.md 2.4 KB
- references/ko/cbo-snapshot-reading.md 4.1 KB
- references/ko/quick-guide.md 2.0 KB
- references/ko/SKILL-ko.md 10 KB
- references/vi/quick-guide-vi.md 2.6 KB
- references/zh/quick-guide-zh.md 2.0 KB
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.
- 3mo ago First seen · 313 lines · 156 tokens per session scan A d451f8099803
sap-abap is a skill published in the GitHub repository BoxLogoDev/sapstack (20 stars, last pushed 2mo ago), licensed MIT. It adds 156 tokens to every session and 2,519 once invoked, about $0.0006 per session on Opus 5.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.
sap-abap compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| sap-abapBoxLogoDev/sapstack | Skill | 20 | 2mo ago | MIT | A | 156 | Claude Code |
| sap-expertpersonamanagmentlayer/pcl | Skill | 46 | 1mo ago | Apache-2.0 | A | 92 | Claude Code |
| light-data-engineeringLight0305/Light-skills | Skill | 1.1k | 23d ago | MIT | A | 361 | Claude Code, Codex |
| light-review-rebuttalLight0305/Light-skills | Skill | 1.1k | 23d ago | MIT | A | 162 | Codex |
| sap-customizingmarcellourbani/vscode_abap_remote_fs | Skill | 411 | today | MIT | A | 103 | Claude Code |
| sap-system-personality-reportmarcellourbani/vscode_abap_remote_fs | Skill | 411 | today | MIT | A | 82 | Claude Code |
| abap-researchmarcellourbani/vscode_abap_remote_fs | Skill | 411 | today | MIT | A | 96 | Claude Code |