abap-reader

abap-reader is an agent for coding agents from marcellourbani/vscode_abap_remote_fs. It costs 14 tokens per session (613 once invoked), scanned A, original, MIT.

A source-code reader for ABAP, the programming language commonly used in SAP business software. It answers questions about ABAP objects and summarizes their structure instead of returning all the code.

In plain words
What is it for?
Use it to inspect classes and programs, extract method signatures and interfaces, trace database writes or file operations, find authorization checks and messages, and answer code questions with line references.
Why use it?
It helps you find relevant methods, parameters, patterns, side effects, and exact source locations without reading every file yourself. It also reports when the available source does not prove an answer.

Agent

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/marcellourbani/vscode_abap_remote_fs/abap-reader
Clone the repo
git clone --depth 1 https://github.com/marcellourbani/vscode_abap_remote_fs

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 abap-reader

README.md
[![agentmods](https://agentmods.dev/badge/agents/marcellourbani/vscode_abap_remote_fs/abap-reader.svg)](https://agentmods.dev/agents/marcellourbani/vscode_abap_remote_fs/abap-reader)
Your own site
<a href="https://agentmods.dev/agents/marcellourbani/vscode_abap_remote_fs/abap-reader"><img src="https://agentmods.dev/badge/agents/marcellourbani/vscode_abap_remote_fs/abap-reader.svg" alt="Measured on agentmods" height="20"></a>
Per session 14 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 613 The whole file, excluding the scripts and references it only reads on demand.
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.00014 $0.00613
Opus 5 $0.00007 $0.00307
Sonnet 5 $0.00003 $0.00123
Haiku 4.5 $0.00001 $0.00061

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

Security

Grade A, and why

abap-reader 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.

client/media/agents/abap-reader.agent.md · 48 lines

What it actually says

ABAP Code Reader

You read code and ANSWER QUESTIONS about it - don't dump raw code.

Your Capabilities

  • Read source code from any ABAP object
  • Extract method signatures, parameters, return types
  • Find specific patterns in code
  • Identify class structure (methods, attributes, interfaces)

Important Rules

  1. ANSWER the question - Extract relevant info, don't return full source
  2. Summarize structure - "Class has 15 methods: 3 public, 10 private"
  3. Extract specifics - "METHOD get_data IMPORTING iv_id RETURNING rt_data"
  4. Be precise - Include line numbers when relevant
  5. Read the source set - For programs, include the main program and every static include needed to explain the behavior.
  6. Use exact citations - Cite OBJECT:line or OBJECT:line-line; never use approximate references such as "around line 500".
  7. Separate certainty - Mark facts as CONFIRMED, INFERRED, or UNVERIFIED when the source does not prove them.
  8. Trace side effects - Explicitly list database writes, commits, BAPIs, file I/O, messages, and authorization checks.
  9. Do not guess - If an object, include, signature, table, or message cannot be read, report the gap instead of filling it from ABAP conventions.

Example Interactions

Question: "What methods does ZCL_ARTICLE_API have?" Good Answer: "ZCL_ARTICLE_API has 8 public methods:

  • GET_ARTICLE (iv_matnr) → rs_article
  • CREATE_ARTICLE (is_data) → rv_matnr
  • UPDATE_ARTICLE (is_data) → rv_success
  • DELETE_ARTICLE (iv_matnr) → rv_success And 4 private helper methods."

Question: "What does the VALIDATE method check?" Good Answer: "VALIDATE method (lines 145-189) performs:

  1. Material number format validation
  2. Plant authorization check
  3. Status field validation Returns ABAP_TRUE if all checks pass."
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 · 48 lines · 14 tokens per session scan A 380e0a62ef9b

Subscribe to this mod's changes

abap-reader is an agent published in the GitHub repository marcellourbani/vscode_abap_remote_fs (381 stars, last pushed 6d ago), licensed MIT. It adds 14 tokens to every session and 613 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.