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 agentmods add instructions/abap2ui5/samples/agents-mdgit clone --depth 1 https://github.com/abap2UI5/samplesWhat 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 | $0.27683 | $0.27683 |
| Opus 5 | $0.13842 | $0.13842 |
| Sonnet 5 | $0.05537 | $0.05537 |
| Haiku 4.5 | $0.02768 | $0.02768 |
Grade C, and why
samples AGENTS.md scanned grade C with 1 finding 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 2d 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.
Recursive force deletehighDestructive command
rm -rf with a variable or a broad path is one typo away from removing the wrong tree.
| `abap-702` | `npm run downport` (does `rm -rf src/00`) → `abaplint abap_702.jsonc` | ❌ | ❌ | ✅ | How it starts
The opening of the file, as written. The whole thing — 1,889 lines — stays where its author put it; the contents beside it link to each section on GitHub.
AGENTS.md
Single source of truth for agents working on abap2UI5 Samples — a collection of demo apps for the abap2UI5 framework. This file owns everything: the folder scheme, the compatibility model, the overview generation rules, and the ABAP code style / app-structure conventions.
These instructions OVERRIDE any default behavior and must be followed exactly.
Language
This entire project is in English. All code, comments, commit messages, PR titles, PR descriptions, and any other text must be written in English.
Pull requests
- The PR title becomes the squash-merge commit subject — make it describe
the change. Before merging, replace any auto-generated title (e.g. a
branch name like
Claude/...-abc123) with a short descriptive English title that states what actually changed. - One topic per PR. A structural change (moving, adding, or renaming subpackages) must not ride along in a PR titled for an unrelated sample — split it into its own PR so the history stays searchable.
1. Repository layout
Everything lives under src/, split into two top-level packages
(abapGit FOLDER_LOGIC=PREFIX, STARTING_FOLDER=/src/). 01 "samples" holds
the portable samples directly; 00 is the system package — shared code plus
every sample that carries a restriction. There
are no demo apps directly in src/ root — every sample sits in a
categorised subpackage. The only class in the root package is
z2ui5_cl_smp_app_000, the overview app (§3), which is an index, not a sample.
src/
├── 00/ "system" not a sample category — the samples held back by maturity or purpose — STRIPPED WHOLE from the 702 build
│ ├── 97/ "experimental" work-in-progress / not finished
│ └── 98/ "testing" test / scaffolding apps, not demos
└── 01/ "samples" cloud-ready & downportable — the sample catalog: bindings, events, popups, framework actions, custom controls and use cases — survives every build
The former wrapper level (01 "basic" holding a single subpackage 01/01
"Basic") was flattened on 2026-08-12: the samples now live directly in
src/01, and the overview app moved from src/01 into the src/ root
package.
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.
- 2d ago First seen · 1,889 lines · 27,683 tokens per session scan C b73d2236a2aa
samples AGENTS.md is an instructions file published in the GitHub repository abap2UI5/samples (56 stars, last pushed 2d ago), licensed MIT. It adds 27,683 tokens to every session, about $0.1384 per session on Opus 5. A static security scan graded it C with 1 finding (recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other instructions, from other repositories
abap2UI5 AGENTS.md
Instructions for abap2UI5/abap2UI5, covering agents.md — ai assistant guide for abap2ui5, where knowledge lives, project overview, related repositories and architecture.
abap2UI5 CLAUDE.md
Instructions for abap2UI5/abap2UI5: All project guidance lives in AGENTS.md — the single source of truth for this repository (architecture and the layered design, the src/00-99 packages, the generated app/webapp mirror, the build and delivery pipeline, the CI gates and ABAP code style).
sap-superpowers CLAUDE.md
Instructions for vigneshbarani24/sap-superpowers, covering sap superpowers v3.1, skills (53+), meta skills (5), consulting skills (9) and development skills (8).
mcp-server AGENTS.md
AGENTS.md instructions for abap2UI5/mcp-server, covering agents.md — mcp-server, side effects on sibling repos — expected, not a bug, build & verify, timing expectations and maintenance traps (learned, do not repeat).
mcp-server CLAUDE.md
Claude Code instructions for abap2UI5/mcp-server: All project guidance lives in AGENTS.md — the single source of truth for this repository (the cheap and expensive halves of the tool loop, the tool contract and its tests, the sibling checkouts it reads, and the release model).
openscreen AGENTS.md
Instructions for getopenscreen/openscreen, covering agents.md, setup commands, development principles, project layout and code style.