sc4sap:sap-option

sc4sap:sap-option is a skill for Claude Code from babamba2/superclaude-for-sap. It costs 58 tokens per session (2,830 once invoked), scanned B, original, MIT.

An SAP settings viewer and editor for the .sc4sap/sap.env file and related usage limits in Claude settings. SAP is business software, and this file can contain connection details and safety rules.

In plain words
What is it for?
Use it to inspect or change SAP connection settings, the active SAP client or industry, TLS options, safety blocklists, and HUD usage limits.
Why use it?
It shows current values with secrets hidden, explains what they mean, and safely updates settings with a backup instead of requiring blind manual edits.

Skill for Claude Code

Written for Claude Code: ${CLAUDE_PLUGIN_ROOT} variable. Also seen: model in frontmatter; reads .claude/ paths.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the sc4sap plugin — 14 skills, 26 agents, 11 hooks, 1 MCP server shipped together

Good fit Use it to inspect or change SAP connection settings, the active SAP client or industry, TLS options, safety blocklists, and HUD usage limits.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add babamba2/superclaude-for-sap
Claude Code
/plugin install sc4sap

Made for: Claude Code.

Or install sc4sap, the plugin that ships this one along with the rest of its 14 skills, 26 agents, 11 hooks, 1 MCP server.

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 sc4sap:sap-option

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/babamba2/superclaude-for-sap/sap-option"><img src="https://agentmods.dev/badge/skills/babamba2/superclaude-for-sap/sap-option.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 58 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,830 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 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.00058 $0.02830
Opus 5 $0.00029 $0.01415
Sonnet 5 $0.00012 $0.00566
Haiku 4.5 $0.00006 $0.00283

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

Security

Grade B, and why

sc4sap:sap-option scanned grade B 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 12d 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.

Reads agent configuration directoriesmediumAgent snooping

.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.

description: View SAP system status snapshot and edit values in `.sc4sap/sap.env` (connection, blocklist) and HUD usage limits in `~/.claude/settings.json` → `env` — single entrypoint for all sc4sap runtime options
skills/sap-option/SKILL.md · 143 lines

How it starts

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

SC4SAP Option

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>

  • User says "sap option", "show sap.env", "change SAP password", "switch SAP client", "change the blocklist profile", "loosen blocklist", "whitelist ACDOCA", "view SAP config", "SAP options".
  • User says "change the industry", "change industry", "switch industry", "switch to retail", "switch to cosmetics" — route to the Industry selection flow described in <Industry_Selection> (updates SAP_INDUSTRY in sap.env and industry in config.json atomically).
  • User says "hud", "show status", "show system info", "current SAP status", "which system am I connected to" — run the status snapshot (workflow step 3) and stop there unless the user then asks to edit.
  • User says "switch profile", "switch to KR-QA", "change system", "use the PRD system", "list profiles", "add a new profile", "register another system", "remove profile", "edit KR-DEV", "rotate credentials for KR-PRD" — route to the Profile management flow described in <Profile_Management> (see profile-management.md).
  • User wants to change blocklist tier (MCP_BLOCKLIST_PROFILE) or manage MCP_ALLOW_TABLE / MCP_BLOCKLIST_EXTEND.
  • User is rotating credentials, moving to a new SAP system, or flipping language/client.
  • After /sc4sap:setup if the user wants to adjust without re-running full setup.
  • User says "hud limit", "5h limit", "weekly limit", "extra limit", "usage budget", "configure limit" — route to the HUD limits flow (see <HUD_Limits>), which edits ~/.claude/settings.jsonenv, 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):

  • Active profile: <alias> [<tier>] with 🔒 if tier≠DEV — from <project>/.sc4sap/active-profile.txt + ~/.sc4sap/profiles/<alias>/sap.envSAP_TIER. Show (legacy) when no active-profile.txt is set and a legacy sap.env is in use.
  • System: <SID> · client <MANDT> · user <BNAME> · lang <SPRAS> (from GetSession)
  • Connection: <SAP_URL> · auth <SAP_AUTH_TYPE> · type <SAP_SYSTEM_TYPE> · version <SAP_VERSION> · ABAP <ABAP_RELEASE>
  • RFC backend: <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 native, append · ashost <SAP_RFC_ASHOST>:<SAP_RFC_SYSNR> or · mshost <SAP_RFC_MSHOST>/<SAP_RFC_SYSID>; if gateway, append · <SAP_RFC_GATEWAY_URL> (token masked)
  • Industry: <SAP_INDUSTRY or "(not set)"> — drives which industry/*.md consultant agents load
  • Inactive objects: <count> (0 = green, >0 = red) (from GetInactiveObjects)
  • Active transport (pinned): <TRKORR> — <description> if present in config.jsonactiveTransport, else "-"
  • Blocklist (L4, MCP env): profile <MCP_BLOCKLIST_PROFILE or "standard (default)"> · extend <n> entries · allow <n> entries
  • Blocklist (L3, PreToolUse hook): profile <config.json blocklistProfile> · extend/custom file presence
  • sap.env path: absolute path being edited

Read the full file on GitHub · 143 lines

Files

What ships with it

8 files 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. 12d ago First seen · 143 lines · 58 tokens per session scan B 8ad84dccfe77

Subscribe to this mod's changes

sc4sap:sap-option is a skill published in the GitHub repository babamba2/superclaude-for-sap (56 stars, last pushed 19d ago), licensed MIT. It adds 58 tokens to every session and 2,830 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it B with 1 finding (reads agent configuration directories). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

local-ai-agents

Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…

microsoft/ai-agents-for-beginners · 200 tokens

next-cache-components-adoption

Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…

vercel/next.js · 95 tokens

chat-pet-sprite-creation

Use when creating or changing VS Code chat pet sprite art, sprite sheets, state animations, eye treatments, Stable/Insiders variants, or pet transitions under src/vs/workbench/contrib/chat/browser/widget/media/chatPet.

microsoft/vscode · 53 tokens

cpu-profile-analysis

Analyze V8/Chrome CPU profiles (.cpuprofile) and DevTools trace files (Trace-.json). Use when: profiling performance, investigating slow functions, comparing code paths, finding bottlenecks, analyzing timeToRequest, understanding call trees from sampling profiler data, analyzing layout/paint/rendering, investigating…

microsoft/vscode · 71 tokens

insight-error-page

Write or audit an insight-kind error page for the Next.js dev overlay. Use when creating a new errors/ .mdx page, auditing an existing one, or checking that a page matches the framework fix cards. Covers page structure, title alignment, FixCard cards with Copy prompt button, code snippets, terminology verification…

vercel/next.js · 83 tokens