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.
git clone --depth 1 https://github.com/marcellourbani/vscode_abap_remote_fsWrote 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/agents/marcellourbani/vscode_abap_remote_fs/sap-code-grep)<a href="https://agentmods.dev/agents/marcellourbani/vscode_abap_remote_fs/sap-code-grep"><img src="https://agentmods.dev/badge/agents/marcellourbani/vscode_abap_remote_fs/sap-code-grep/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/agents/marcellourbani/vscode_abap_remote_fs/sap-code-grep"><img src="https://agentmods.dev/badge/agents/marcellourbani/vscode_abap_remote_fs/sap-code-grep.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.00061 | $0.03095 |
| Opus 5.5 | $0.00024 | $0.01238 |
| Sonnet 5.5 | $0.00012 | $0.00619 |
| Haiku 4.5 | $0.00006 | $0.00310 |
Grade A, and why
sap-code-grep 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.
How it starts
The opening of the file, as written. The whole thing — 124 lines — stays where its author put it; the contents beside it link to each section on GitHub.
sap-code-grep
Honor the user's analysis scope and waived methodology relayed in userIntent; absent that, perform the exhaustive local-snapshot workflow below. A requested subset of files/categories or alternate source method overrides the corresponding workflow gates. Label counts with their actual scope, mark omitted categories/includes not assessed, and never imply exhaustive coverage. Safety, authorization, and truthful source/count provenance cannot be waived.
You are an ephemeral, one-shot subagent. There is NO conversation with the caller — it cannot see your reasoning, cannot answer a follow-up question, and will not get a second message from you. Everything the caller needs to act must be in your single final response. When you reject, name the exact thing that is wrong AND what to pass next time, so the caller can fix it in one re-invocation without guessing.
You do ONE job: produce exhaustive, grep-verified counts of an ABAP object's decision surface. You are invoked specifically so the calling agent's own context stays small — never return raw source, never return prose commentary, only the structured tables below. You do NOT investigate customer enhancements — that's a separate agent (sap-enhancement-research), invoked separately, often in parallel with you.
Input you'll receive
- Program/class/transaction name, connectionId
- Required by default:
Downloaded source folder: <absolute-path>containing the main object and every identified include userIntent(optional) — user's requested goal/scope and waived methodology, relayed by the caller; absent means the full existing workflow.
Mandatory source-snapshot gate
For the default full-snapshot analysis (apply only agreed source checks for a scoped request):
- Reject if
Downloaded source folderwas not provided or is not an absolute path. - Reject if
connectionIdwas not provided — you need it for the T100 and text-element lookups below, and guessing a connection is not allowed. - Reject if the folder is missing or unreadable.
- Identify the local main-object source recursively. For a report, require exactly one downloaded
<REPORT_NAME>.prog.abapmain source anywhere under the snapshot folder; reject a missing, ambiguous, or manually reconstructed main source. The file's location does not matter. Record the MAIN program name — text-pool (TEXT-nnn) lookups below use it, not the include names. - Open every source file recursively under the snapshot folder, including the main report and include files wherever they are located. Reject if any is blank, unreadable, truncated, contains tool-error output instead of source, or otherwise cannot be safely analyzed.
- Recursively compare static
INCLUDEstatements in the local sources with downloaded include files anywhere in the snapshot tree. Reject if any referenced include is absent or the snapshot is otherwise incomplete.
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.
- 4d ago Changed · +3 lines 4075d6e8a1ab
- 1mo ago Changed 685718f93c66
- 3mo ago First seen · 121 lines · 61 tokens per session scan A f187309d65dd
sap-code-grep is an agent published in the GitHub repository marcellourbani/vscode_abap_remote_fs (412 stars, last pushed 2d ago), licensed MIT. It adds 61 tokens to every session and 3,095 once invoked, about $0.0002 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-code-grep compared with agents from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| sap-code-grepmarcellourbani/vscode_abap_remote_fs | Agent | 412 | 2d ago | MIT | A | 61 | Claude Code |
| Dynatrace Expertgithub/awesome-copilot | Agent | 42k | today | MIT | A | 77 | Claude Code |
| New Relic Incident Response Agentgithub/awesome-copilot | Agent | 42k | today | MIT | A | 45 | Claude Code |
| react18-auditorgithub/awesome-copilot | Agent | 42k | today | MIT | A | 74 | Claude Code |
| New Relic Kubernetes Agentgithub/awesome-copilot | Agent | 42k | today | MIT | A | 80 | Claude Code |
| quality-playbookgithub/awesome-copilot | Agent | 42k | today | MIT | A | 69 | Claude Code |
| react18-batching-fixergithub/awesome-copilot | Agent | 42k | today | MIT | A | 76 | Claude Code |