/sc4sap:sap-optionfrom sc4sap
Views SAP system status and edits sc4sap runtime options including connection credentials, blocklist policy, HUD limits, agent dispatch mode, cost mode, and screen-mockup theme.
Ships in sc4sap. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Offline profile (
common/offline-mode.md): full — local configuration;set-connectionswitches the profile.
Single entrypoint to inspect live SAP state and edit the values stored in .sc4sap/sap.env — the dotenv file that holds SAP connection credentials, TLS settings, and the abap-mcp-adt-powerup blocklist policy for row-extraction safety.
Users should not edit sap.env blindly; this skill surfaces the current values (masking secrets), explains each option, lets the user pick what to change, and writes the file back safely with a backup.
<Response_Prefix>
Every response triggered by this skill MUST begin with [Model: <main-model> · Dispatched: <sub-summary>] per ../../common/model-routing-rule.md § Response Prefix Convention.
</Response_Prefix>
<Use_When>
<Industry_Selection> (updates SAP_INDUSTRY in sap.env and industry in config.json atomically).<Profile_Management> (see profile-management.md).MCP_BLOCKLIST_PROFILE) or manage MCP_ALLOW_TABLE / MCP_BLOCKLIST_EXTEND./sc4sap:setup if the user wants to adjust without re-running full setup.<Model_Dispatch>), which edits ~/.sc4sap/preferences.json → modelDispatch, not sap.env.<Cost_Mode>), which edits ~/.sc4sap/preferences.json → costMode / costModeBySkill.<Screen_Theme>), which edits the profile config.json → screenTheme, not sap.env.<Remote_Destinations>), which edits config.json → remoteDestinations.config.json → testDataSources.<HUD_Limits>), which edits ~/.claude/settings.json → env, not sap.env.
</Use_When><Status_Snapshot>
When invoked with status / show / hud (or as the preamble to any edit flow), render this panel. Keep it compact — roughly 10–14 lines — and silence sections that can't be fetched (e.g. MCP disconnected) rather than failing.
Contents (only show rows you could resolve):
<alias> [<tier>] with 🔒 if tier≠DEV — from <project>/.sc4sap/active-profile.txt + ~/.sc4sap/profiles/<alias>/sap.env → SAP_TIER. Show (legacy) when no active-profile.txt is set and a legacy sap.env is in use.<SID> · client <MANDT> · user <BNAME> · lang <SPRAS> (from GetSession)<SAP_URL> · auth <SAP_AUTH_TYPE> · type <SAP_SYSTEM_TYPE> · version <SAP_VERSION> · ABAP <ABAP_RELEASE><SAP_RFC_BACKEND or "odata (default)"> — if odata (or unset), append · <SAP_RFC_ODATA_SERVICE_URL> (with CSRF TTL = <SAP_RFC_ODATA_CSRF_TTL_SEC or "600">s); if nco, append · NCo RFC (sysnr <SAP_NCO_SYSNR or "from SAP_URL">, ADT over <"RFC" when SAP_CONNECTION_TYPE=nco, else "HTTP">); if native / gateway / zrfc, append · removed in MCP 4.10.0 — set odata, soap or nco<SAP_INDUSTRY or "(not set)"> — drives which industry/*.md consultant agents load<count> (0 = green, >0 = red) (from GetInactiveObjects)<TRKORR> — <description> if present in config.json → activeTransport, else "-"<MCP_BLOCKLIST_PROFILE or "standard (default)"> · extend <n> entries · allow <n> entries<config.json blocklistProfile> · extend/custom file presence<auto (default) | user-defined> — from ~/.sc4sap/preferences.json → modelDispatch<standard (default) | eco>[ · eco: <skills>] — from ~/.sc4sap/preferences.json → costMode / costModeBySkill<screenTheme | signature (default)> — from config.json → screenTheme<alvFramework | none (default)> · ABAP SP <abapSp | unset> — from config.json (see <ALV_Framework>)<names | (none)> — from config.json → remoteDestinations (see <Remote_Destinations>)qa <dest | -> · prd <dest | -> — from config.json → testDataSources (/sc4sap:program-test)If the user's intent is status-only (they just said "hud" / "show status"), render the panel and stop. Do not ask follow-up "what to change" questions unless the user continues. </Status_Snapshot>
<File_Path>
<project>/.sc4sap/active-profile.txt, then edit ~/.sc4sap/profiles/<alias>/sap.env. Plugin-side mirrors (industry, activeModules, blocklistProfile, …) live in ~/.sc4sap/profiles/<alias>/config.json. Every sap.env / config.json mention in this skill means these two files.active-profile.txt): <project>/.sc4sap/sap.env + <project>/.sc4sap/config.json. Offer the migration flow in migration.md./sc4sap:setup first. Do NOT create it from scratch here — setup handles the initial interactive credential flow.
</File_Path><Managed_Keys> Connection (required):
SAP_URL — SAP host URL including port (e.g. https://host:44300)SAP_CLIENT — 3-digit client (e.g. 100)SAP_AUTH_TYPE — basic | xsuaaSAP_USERNAME — SAP user IDSAP_PASSWORD — secret — always mask when displayingSAP_LANGUAGE — EN, DE, KO, ...SAP_SYSTEM_TYPE — onprem | cloud (deployment only; ECC vs S/4HANA is SAP_VERSION)SAP_VERSION — S4 | ECCABAP_RELEASE — e.g. 756, 758SAP_INDUSTRY — one of the 15 keys in industry/README.md (retail | fashion | cosmetics | tire | automotive | pharmaceutical | food-beverage | chemical | electronics | construction | steel | utilities | banking | public-sector | other). Mirrored to .sc4sap/config.json → industry whenever changed — both writes must succeed or neither.TLS_REJECT_UNAUTHORIZED — 0 (accept self-signed, dev only) or unsetBlocklist policy (optional — guard for GetTableContents / GetSqlQuery):
MCP_BLOCKLIST_PROFILE — minimal | standard | strict | off (default: standard)MCP_BLOCKLIST_EXTEND — comma-separated extra table names / patterns (always denied)MCP_ALLOW_TABLE — comma-separated whitelist for audited bypassRFC backend (optional — selects transport for Screen / GUI Status / Text Element ops):
SAP_RFC_BACKEND — odata (default) | soap | nco (native / gateway / zrfc were removed in MCP 4.10.0); NCo keys SAP_CONNECTION_TYPE, SAP_NCO_*Per-backend env blocks (OData knobs) live in rfc-managed-keys.md. Read that file when the user asks to change the RFC backend or edit any SAP_RFC_* field.
Usage statistics source (optional, ECC — read by the CBO graph step and GetTcodeUsage):
SAP_USAGE_RFCDEST — SM59 destination on THIS system pointing to the QA / PRD system whose ST03N usage counts (a DEV profile only sees developer tests). Site-specific — no default; validate by one GetTcodeUsage call with destination (success shows the remote SID). Empty / unset → the connected system.XSUAA (only when SAP_AUTH_TYPE=xsuaa):
XSUAA_URL, XSUAA_CLIENT_ID, XSUAA_CLIENT_SECRET, XSUAA_TOKEN_URLDo not manage keys that are not in this list — warn the user and skip. </Managed_Keys>
See [workflow.md](workflow.md).<Profile_Management>
See profile-management.md. Handles multi-environment (Dev/QA/Prod) connection switching, tier-based readonly enforcement, OS-keychain-backed password storage, profile add/edit/remove/purge, and migration from legacy single-profile .sc4sap/sap.env.
</Profile_Management>
<Industry_Selection> See industry-selection.md. </Industry_Selection>
<HUD_Limits> See hud-limits.md. </HUD_Limits>
<Model_Dispatch>
See model-dispatch.md. auto (default) routes sub-agent models per common/model-routing-rule.md; user-defined makes every multi-agent skill ask Opus / Sonnet / Haiku before each dispatch group. Runtime rules: ../../common/model-dispatch-mode.md.
</Model_Dispatch>
<Cost_Mode>
See cost-mode.md. standard (default) or eco, globally or per skill. Runtime rules: ../../common/cost-mode.md. One-off: /sc4sap:eco <skill> <args>.
</Cost_Mode>
<Screen_Theme>
See screen-theme.md. Theme of the SAP screen mockups in program-to-spec / program-to-manual: signature (default), signature-pink, modern, or custom colours. Written with scripts/spec/screen-theme.mjs.
</Screen_Theme>
<ALV_Framework>
See alv-framework.md. Triggers: "alv framework", "alv base class", "abap sp", "support package". Edits config.json → alvFramework (s4sap-cm | custom | none), alvBaseClass, alvGridClass, messageClass, abapSp — not sap.env.
</ALV_Framework>
<Remote_Destinations>
See remote-destinations.md. SM59 destinations saved by GetRemoteTableContents (most recent first, max 10): show, remove, move to top, clear — config.json only, not sap.env. Also the Test data sources (testDataSources.qa / .prd) that /sc4sap:program-test reads.
</Remote_Destinations>
<Edge_Cases>
/sc4sap:setup. Do not create.KEY=VALUE or comments) → show the offending lines, ask user to clean manually, abort.<Managed_Keys> → warn, ask to confirm adding as a custom key (append at end with a # custom comment). Do not validate content.SAP_URL) → refuse; required keys can only be changed, not removed.<Standalone_TUI> See standalone-tui.md. </Standalone_TUI>
See [examples.md](examples.md).alv-framework.md (opens in a new tab)cost-mode.md (opens in a new tab)examples.md (opens in a new tab)hud-limits.md (opens in a new tab)industry-selection.md (opens in a new tab)migration.md (opens in a new tab)model-dispatch.md (opens in a new tab)profile-management.md (opens in a new tab)remote-destinations.md (opens in a new tab)rfc-managed-keys.md (opens in a new tab)screen-theme.md (opens in a new tab)standalone-tui.md (opens in a new tab)workflow.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
inheritThree short reads, in order
31 skills in this plugin
/adobe-from-pdfBuild an Adobe form (SFP — interface, context and XDP layout) from a PDF of the printed form, the way smartform-from-pdf builds a SmartForm, upload it to the DEV system, print it there and score the print against the source page. Awaiting approval — not runnable yet./adobe-previewDraw the expected print of an Adobe form (SFP, S/4HANA) as HTML pages in mm (plus JPG / PDF with a local browser) — the XFA layout with its master pages, flowed tables with repeated headers, page breaks, captions, pictures (dates, numbers, currency shifts), rich text with embedded fields, rounded boxes and images — filled with invented sample values sized to the interface's DDIC types. On a development system it can print SAP's example forms through ADS and score the preview against SAP's own PDF./npx claudepluginhub babamba2/superclaude-for-sap --plugin sc4sapOther plugins' skills for the same job