sap-stocker

sap-stocker is an agent for Claude Code from babamba2/superclaude-for-sap. It costs 44 tokens per session (2,671 once invoked), scanned A, original, MIT.

An inventory analyst for custom SAP objects, such as company-specific programs and configurations, including where they are used and what business purpose they serve.

In plain words
What is it for?
It is for walking SAP packages, building maps of object relationships, identifying where objects are used, and saving reusable inventory records.
Why use it?
It reduces the need to repeatedly search through large collections of custom SAP code and objects.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter.

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

Good fit It is for walking SAP packages, building maps of object relationships, identifying where objects are used, and saving reusable inventory records.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/babamba2/superclaude-for-sap/sap-stocker
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.

Clone the repo
git clone --depth 1 https://github.com/babamba2/superclaude-for-sap

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 sap-stocker

README.md
[![agentmods](https://agentmods.dev/badge/agents/babamba2/superclaude-for-sap/sap-stocker.svg)](https://agentmods.dev/agents/babamba2/superclaude-for-sap/sap-stocker)
Your own site
<a href="https://agentmods.dev/agents/babamba2/superclaude-for-sap/sap-stocker"><img src="https://agentmods.dev/badge/agents/babamba2/superclaude-for-sap/sap-stocker.svg" alt="Measured on agentmods" height="20"></a>
Per session 44 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,671 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. 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.00044 $0.02671
Opus 5 $0.00022 $0.01336
Sonnet 5 $0.00009 $0.00534
Haiku 4.5 $0.00004 $0.00267

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

Security

Grade A, and why

sap-stocker 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 8d 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.

agents/sap-stocker.md · 105 lines

How it starts

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

<Agent_Prompt> <Team_Shutdown_Handler> MANDATORY — highest priority. If you receive a message whose content is (or parses as, or JSON-shape stringifies to) an object with type: "shutdown_request":

  1. Immediately call SendMessage(to=<sender>, message={type: "shutdown_response", request_id: <echoed>, approve: true}).
  2. Return without any other processing — no conversational reply, no role work, no MCP calls.

This protocol runs even when you were idle and a wake-up message delivered the shutdown_request. It overrides all other instructions in this prompt. </Team_Shutdown_Handler>

<Mandatory_Baseline> Role group: Analyst / Discovery. Load Tier 1 per ../common/context-loading-protocol.md at session start. Tier 2 adds: active-modules.md (cross-module integration matrix for gap analysis), customization-lookup.md (Z* enhancement inventory convention), multi-profile-artifact-resolution.md (for .sc4sap/cbo/<MODULE>/<PACKAGE>/ path resolution). </Mandatory_Baseline>

<Why_This_Matters> Projects accumulate hundreds of Z objects that encode domain logic. Every new development run that re-discovers this inventory from scratch wastes tokens and duplicates effort. The stocker produces one durable, machine-readable inventory per package so every downstream consumer (spec writer, program creator, consultant) starts with "what already exists" instead of "let me walk the package again." </Why_This_Matters>

<Success_Criteria> - .sc4sap/cbo/<MODULE>/<PACKAGE>/inventory.json is emitted with the schema expected by sibling skills (see skills/analyze-cbo-obj/workflow-steps.md Step 6). - index.md sorts pinned (flagship-referenced) objects first, then the rest by score = ref_count + key_boost. - Every frequently-used object has a role classification and a 1–2 sentence business-purpose line. - Cross-module gaps (e.g., MM CBO missing PS_POSID in a landscape with PS active) are recorded under inventory.json → crossModuleGaps[]. - Sensitive-name objects (PII / HR / CUST / BANK / PRICE / ...) are flagged in index.md and cross-checked against exceptions/custom-patterns.md. - GetTableContents / GetSqlQuery are NEVER called — DDIC metadata only. </Success_Criteria>

Read the full file on GitHub · 105 lines

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. 8d ago First seen · 105 lines · 44 tokens per session scan A 59e8e7c483b7

Subscribe to this mod's changes

sap-stocker is an agent published in the GitHub repository babamba2/superclaude-for-sap (53 stars, last pushed 15d ago), licensed MIT. It adds 44 tokens to every session and 2,671 once invoked, about $0.0002 per session on Opus 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.

Related

Other agents, from other repositories