sap-gui-scripting

sap-gui-scripting is a skill for Claude Code from efeumutaslan/SAP-SKILLS. It costs 71 tokens per session (3,029 once invoked), scanned A, original, MIT.

An automation guide for SAP GUI, the desktop interface used to work with SAP business systems, using VBScript or Python.

In plain words
What is it for?
Use it to record and replay SAP transactions, enter batches of data, run GUI-based processes, or collect data from screens.
Why use it?
It helps replace repetitive clicking and manual data entry with recorded or scripted actions, including reading information from SAP screens.

Skill for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter.

Good fit Use it to record and replay SAP transactions, enter batches of data, run GUI-based processes, or collect data from screens.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/efeumutaslan/sap-skills/sap-gui-scripting
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.

Any agent
npx skills add efeumutaslan/SAP-SKILLS --skill sap-gui-scripting
Clone the repo
git clone --depth 1 https://github.com/efeumutaslan/SAP-SKILLS

Made for: Claude Code.

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 sap-gui-scripting

README.md
[![agentmods](https://agentmods.dev/badge/skills/efeumutaslan/sap-skills/sap-gui-scripting/github.svg)](https://agentmods.dev/skills/efeumutaslan/sap-skills/sap-gui-scripting)
Your own site
<a href="https://agentmods.dev/skills/efeumutaslan/sap-skills/sap-gui-scripting"><img src="https://agentmods.dev/badge/skills/efeumutaslan/sap-skills/sap-gui-scripting/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.

agentmods 80×15 button for sap-gui-scripting

Your own site · 80×15
<a href="https://agentmods.dev/skills/efeumutaslan/sap-skills/sap-gui-scripting"><img src="https://agentmods.dev/badge/skills/efeumutaslan/sap-skills/sap-gui-scripting.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 71 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,029 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00071 $0.03029
Opus 5 $0.00036 $0.01515
Sonnet 5 $0.00014 $0.00606
Haiku 4.5 $0.00007 $0.00303

Measured 9d ago against content hash 549b8b81869a, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

sap-gui-scripting scanned grade A 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 9d 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.

Runs shell commandslowCapability

Expected in a hook, worth knowing in a rule or an instructions file.

subprocess.Popen([sap_logon])
skills/sap-gui-scripting/SKILL.md · 309 lines

How it starts

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

SAP GUI Scripting & Automation

  • sap-build-process-automation — Desktop Agent uses GUI scripting under the hood
  • sap-testing-quality — Automated GUI testing with eCATT/CBTA
  • sap-s4hana-extensibility — When to use API vs. GUI scripting

Quick Start

Prerequisites:

  1. Enable scripting on SAP server: RZ11 → parameter sapgui/user_scripting = TRUE
  2. Enable on client: SAP GUI → Options → Accessibility & Scripting → Enable scripting
  3. Disable notification popups: uncheck "Notify when script attaches" and "Notify when script opens connection"

Record your first script:

  1. Open SAP GUI → transaction you want to automate
  2. Menu: Customize Local Layout (Alt+F12) → Script Recording and Playback
  3. Click Record, perform actions, click Stop
  4. Save as .vbs file — this is your starting template

Minimal VBScript — Run Transaction:

If Not IsObject(application) Then
   Set SapGuiAuto = GetObject("SAPGUI")
   Set application = SapGuiAuto.GetScriptingEngine
End If

Set connection = application.Children(0)
Set session = connection.Children(0)

session.findById("wnd[0]/tbar[0]/okcd").text = "/nMM03"
session.findById("wnd[0]").sendVKey 0
session.findById("wnd[0]/usr/ctxtRMMG1-MATNR").text = "MAT-001"
session.findById("wnd[0]").sendVKey 0

Core Concepts

Object Hierarchy

GuiApplication
 └── GuiConnection (SAP system connection)
      └── GuiSession (user session / window)
           └── GuiFrameWindow (wnd[0], wnd[1]...)
                ├── GuiToolbar (tbar[0] = command, tbar[1] = app)
                ├── GuiUserArea (usr/)
                │    ├── GuiTextField, GuiCTextField
                │    ├── GuiComboBox, GuiCheckBox, GuiRadioButton
                │    ├── GuiTableControl, GuiGridView (ALV)
                │    ├── GuiTab, GuiTabStrip
                │    └── GuiTree
                ├── GuiStatusbar (sbar/)
                └── GuiTitlebar (titl/)

Element ID Pattern

Format: wnd[N]/area/type[row,col]

  • wnd[0]/tbar[0]/okcd — Command field (OKCode)
  • wnd[0]/usr/ctxtFIELD-NAME — Context field (F4 help available)
  • wnd[0]/usr/txtFIELD-NAME — Text input field
  • wnd[0]/usr/chkFIELD-NAME — Checkbox
  • wnd[0]/usr/radFIELD-NAME — Radio button
  • wnd[0]/usr/btnBUTTON-NAME — Push button
  • wnd[0]/usr/tblTABLE/ctxtFIELD[row,col] — Table cell
  • wnd[0]/usr/cntlGRID/shellcont/shell — ALV Grid control
  • wnd[0]/sbar — Status bar (messages)

Read the full file on GitHub · 309 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 9d ago First seen · 309 lines · 71 tokens per session scan A 549b8b81869a

Subscribe to this mod's changes

sap-gui-scripting is a skill published in the GitHub repository efeumutaslan/SAP-SKILLS (5 stars, last pushed 5mo ago), licensed MIT. It adds 71 tokens to every session and 3,029 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 1 finding (runs shell commands). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

explore-ui

Standalone Phase 2 of SAP UI testing. Opens the target transaction in a real browser (SAP WebGUI) and explores it live to produce tests/ /test-cases/screens.md — the authoritative map of every on-screen control, its accessible name/label as Playwright will see it, and its initial state. This is about how the UI…

marcellourbani/vscode_abap_remote_fs · 112 tokens

sap-testing

Entry point for the SAP UI test-automation environment. Explains project layout, the configured test folder, available tools, phase workflows, and bounded agent delegation. Use when the user asks about SAP UI testing, Playwright for SAP, writing tests for any ABAP report/transaction/process, generating test evidence…

marcellourbani/vscode_abap_remote_fs · 73 tokens

sap-webgui

Authoritative SAP WebGUI behavior and locator guidance for live exploration and Playwright script generation. Covers iframes, accessible names, generated IDs, selection screens, dialogs, ALV grids, toolbars, uploads, themes, and known SapSession helper limitations. Load before explore-ui live exploration and before…

marcellourbani/vscode_abap_remote_fs · 69 tokens

michel-ui-demo-recorder

Record polished UI demo videos and screenshots of a running web app using Playwright MCP — for client deliverables, release notes, feature walkthroughs, or bug repros. Produces an HD WebM video with chapter markers, a mandatory animated cursor overlay, and a mandatory subtitle bar that narrates each step (positioned…

PackmindHub/packmind · 192 tokens

ask-opencli

A helper for asking Grok or Gemini through OpenCLI, which uses an already signed-in Chrome browser session instead of a paid API.

majiayu000/spellbook · 95 tokens

sap-webgui-recording

Guides an agent in deciding when SAP WebGUI exploration needs a focused user recording, coaching the user through Playwright recording in Edge, and consuming the resulting reference file safely. Use when autonomous browser exploration cannot inspect a complex SAP control or when the user asks how to record a WebGUI…

marcellourbani/vscode_abap_remote_fs · 65 tokens