80-abap-integration

80-abap-integration is a cursor rule for Cursor from marianfoo/abap-mcp-server. It costs 1,938 tokens per session, scanned A, a copy of 80-abap-integration, Apache-2.0.

A rule explaining how ABAP documentation, the language and development environment used in SAP systems, is included in the standard search tool across several ABAP versions.

In plain words
What is it for?
Use it when searching ABAP documentation, especially when a query names a specific version such as 7.57.
Why use it?
It helps agents find the right version of SAP documentation without separate search commands or duplicate results.

Cursor rule for Cursor

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 rules/marianfoo/abap-mcp-server/80-abap-integration
Clone the repo
git clone --depth 1 https://github.com/marianfoo/abap-mcp-server

Made for: Cursor.

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 80-abap-integration

README.md
[![agentmods](https://agentmods.dev/badge/rules/marianfoo/abap-mcp-server/80-abap-integration.svg)](https://agentmods.dev/rules/marianfoo/abap-mcp-server/80-abap-integration)
Your own site
<a href="https://agentmods.dev/rules/marianfoo/abap-mcp-server/80-abap-integration"><img src="https://agentmods.dev/badge/rules/marianfoo/abap-mcp-server/80-abap-integration.svg" alt="Measured on agentmods" height="20"></a>
Per session 1,938 This file is loaded in full into every session.
When invoked 1,938 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
Origin 89% 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.01938 $0.01938
Opus 5 $0.00969 $0.00969
Sonnet 5 $0.00388 $0.00388
Haiku 4.5 $0.00194 $0.00194

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

Security

Grade A, and why

80-abap-integration 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 4d 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

89% identical to 80-abap-integration — 99 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.

.cursor/rules/80-abap-integration.mdc · 223 lines

How it starts

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

ABAP Multi-Version Integration (Rule)

Guide for understanding ABAP documentation integration in the standard search system.

Overview

ABAP documentation is fully integrated into the standard search tool with intelligent version management. No specialized ABAP tools needed - everything works through the unified search interface.

Key Features

Standard Integration (No Special Tools)

  • Uses standard search tool like UI5, CAP, wdi5
  • No separate abap_search or abap_get tools
  • Same proven architecture as other documentation sources
  • Consistent experience across all SAP development

Multi-Version Support (8 Versions)

  • Latest (default) - /abap-docs-latest - Most current features
  • 7.58 - /abap-docs-758 - Current stable
  • 7.57 - /abap-docs-757 - Recent stable
  • 7.56 - 7.52 - /abap-docs-756 through /abap-docs-752 - Historical versions
  • Total: 40,761+ curated ABAP files

Intelligent Version Filtering

  • Latest by default: General queries show only latest ABAP version
  • Version auto-detection: "LOOP 7.57" automatically filters to ABAP 7.57
  • Smart result limiting: 4-5 focused results vs 25 crowded duplicates
  • Context boosting: Requested versions get 2.0x score multiplier

Usage Patterns

General ABAP Queries (Latest Version)

search: "inline declarations"          # → Latest ABAP + style guides + cheat sheets
search: "SELECT statements"            # → Latest ABAP + best practices
search: "exception handling"           # → Latest ABAP TRY/CATCH + clean code
search: "class definition"             # → Latest ABAP OOP + examples

Result: 4-5 focused results including latest ABAP docs, Clean ABAP guidelines, and cheat sheets.

Version-Specific Queries (Targeted)

search: "LOOP 7.57"                    # → ABAP 7.57 only + related sources
search: "SELECT statements 7.58"       # → ABAP 7.58 only + related sources
search: "exception handling latest"    # → Latest ABAP explicitly
search: "class definition 7.53"        # → ABAP 7.53 only + related sources

Read the full file on GitHub · 223 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. 4d ago First seen · 223 lines · 1,938 tokens per session scan A 835f912c299c

Subscribe to this mod's changes

80-abap-integration is a cursor rule published in the GitHub repository marianfoo/abap-mcp-server (88 stars, last pushed 16d ago), licensed Apache-2.0. It adds 1,938 tokens to every session, about $0.0097 per session on Opus 5. A static security scan graded it A with 0 findings. It is 89% identical to 80-abap-integration, differing in 99 lines, and is treated as a copy.