80-abap-integration

80-abap-integration is a cursor rule for Cursor from marianfoo/mcp-sap-docs. It costs 1,751 tokens per session, scanned A, original, Apache-2.0.

A rule for finding ABAP documentation through a standard search tool. ABAP is SAP's programming language, and the rule distinguishes regular ABAP documentation from ABAP Cloud documentation.

In plain words
What is it for?
Searching standard or cloud ABAP documentation, selecting the newest relevant version, and giving extra weight to a requested version.
Why use it?
It lets searches return the relevant documentation version without requiring a separate ABAP search tool or showing many 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/mcp-sap-docs/80-abap-integration
Clone the repo
git clone --depth 1 https://github.com/marianfoo/mcp-sap-docs

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/mcp-sap-docs/80-abap-integration.svg)](https://agentmods.dev/rules/marianfoo/mcp-sap-docs/80-abap-integration)
Your own site
<a href="https://agentmods.dev/rules/marianfoo/mcp-sap-docs/80-abap-integration"><img src="https://agentmods.dev/badge/rules/marianfoo/mcp-sap-docs/80-abap-integration.svg" alt="Measured on agentmods" height="20"></a>
Per session 1,751 This file is loaded in full into every session.
When invoked 1,751 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
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 $0.01751 $0.01751
Opus 5 $0.00875 $0.00875
Sonnet 5 $0.00350 $0.00350
Haiku 4.5 $0.00175 $0.00175

Measured 4d ago against content hash bd64b9af1f05, 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

Copies of this mod

1 near-identical copy found in the catalogue:

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

How it starts

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

ABAP 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

ABAP Language Version Support

  • Standard (default) - /abap-docs-standard - Most current Standard ABAP documentation
  • Cloud - /abap-docs-cloud - Most current ABAP Cloud documentation
  • Total: 13,186+ curated ABAP files

Intelligent Version Filtering

  • Latest by default: General queries show latest Standard ABAP version
  • Cloud on request: Queries including "cloud" show ABAP Cloud version
  • 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.

ABAP Cloud-Specific Queries

search: "Cloud LOOP"                   # → ABAP Cloud only + related sources
search: "SELECT statements cloud"      # → ABAP Cloud only + related sources
search: "exception handling latest"    # → Latest ABAP explicitly

Result: 5-8 targeted results with dramatically boosted scores for requested version.

Read the full file on GitHub · 212 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 · 212 lines · 1,751 tokens per session scan A bd64b9af1f05

Subscribe to this mod's changes

80-abap-integration is a cursor rule published in the GitHub repository marianfoo/mcp-sap-docs (218 stars, last pushed 16d ago), licensed Apache-2.0. It adds 1,751 tokens to every session, about $0.0088 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.