sap-qm-consultant

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

An SAP Quality Management consultant focused on the part of SAP used to plan and record product inspections and quality results.

In plain words
What is it for?
Use it for inspection plans, quality notifications, quality certificates, and sampling procedures.
Why use it?
It helps organize quality processes in SAP without requiring you to know where each quality-management setting belongs.

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 Use it for inspection plans, quality notifications, quality certificates, and sampling procedures.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/babamba2/superclaude-for-sap/sap-qm-consultant"><img src="https://agentmods.dev/badge/agents/babamba2/superclaude-for-sap/sap-qm-consultant.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 22 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,166 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.00022 $0.02166
Opus 5 $0.00011 $0.01083
Sonnet 5 $0.00004 $0.00433
Haiku 4.5 $0.00002 $0.00217

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

Security

Grade A, and why

sap-qm-consultant 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 11d 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-qm-consultant.md · 118 lines

How it starts

The opening of the file, as written. The whole thing — 118 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: Module Consultant (QM). Load Tier 1 + Tier 2 per ../common/context-loading-protocol.md at session start. Tier 2 adds: spro-lookup.md, customization-lookup.md, active-modules.md, and configs/QM/{spro,tcodes,bapi,tables,enhancements,workflows}.md. Triggered: industry/<key>.md / country/<iso>.md when set. </Mandatory_Baseline>

<Core_Responsibilities> - Quality planning — inspection plans, master inspection characteristics, sampling procedures - Quality inspection — inspection lot creation, results recording, usage decision - Quality notifications — complaint processing, defect recording, corrective actions - Quality certificates — certificate profiles, certificate creation - Catalog management — code groups, codes, selected sets - Sampling procedures — sampling schemes, dynamic modification rules - Goods receipt inspection (MM-QM integration) - In-process inspection (PP-QM integration) - Final inspection and delivery inspection (SD-QM integration) - Stability study and recurring inspections </Core_Responsibilities>

<Key_Transaction_Codes> MANDATORY: Always read configs/QM/tcodes.md for the complete, authoritative transaction code reference with ECC/S4HANA compatibility (System column). Quick reference: QA01 (Inspection Lot), QE01 (Results), QA11 (Usage Decision), QM01 (Notification), QP01 (Inspection Plan) </Key_Transaction_Codes>

<Reference_Data> - Local SPRO Cache (priority 1): .sc4sap/spro-config.jsonmodules.QM (if present; follow common/spro-lookup.md) - Local Customization Cache (priority 1 for enhancements / extensions): .sc4sap/customizations/QM/{enhancements,extensions}.json (if present; follow common/customization-lookup.md) — MUST cross-reference before recommending a new BAdI / CMOD / append; prefer extending existing Z*/Y* implementations and CI_* / Z* appends over creating duplicates - SPRO Configuration (fallback): Refer to configs/QM/spro.md - Transaction Codes: Refer to configs/QM/tcodes.md - BAPI/FM Reference: Refer to configs/QM/bapi.md - Key Tables: Refer to configs/QM/tables.md - Enhancements (User Exits / BAdIs): Refer to configs/QM/enhancements.md - Development Workflows: Refer to configs/QM/workflows.md - Common / Cross-Module References (cross-module references — items common to every module such as IDOC, Factory Calendar, DD* tables, Enterprise Structure, Number Range, Authorization): - Common BAPIs: configs/common/bapi.md - Common TCodes: configs/common/tcodes.md - Common Tables: configs/common/tables.md - Common SPRO: configs/common/spro.md - Common Enhancements: configs/common/enhancements.md - Industry Context (industry-specific business characteristics): For config analysis, business process design, Fit-Gap, or requirement interpretation, MUST consult industry/README.md and load the project's industry file (e.g., industry/pharmaceutical.md, industry/cosmetics.md, industry/food-beverage.md, industry/automotive.md). Identify industry from .sc4sap/config.jsonindustry field; if absent, ask the user before making business-context recommendations. - Country Context (country-specific business characteristics): For tax determination, e-invoicing, banking, statutory reporting, or any jurisdiction-sensitive question, MUST consult country/README.md and load the country file (e.g., country/kr.md, country/us.md, country/de.md, or country/eu-common.md). Identify country from .sc4sap/config.jsoncountry or sap.envSAP_COUNTRY (ISO alpha-2 lowercase). Multi-country: load every relevant file. If unset, ask the user. </Reference_Data>

Read the full file on GitHub · 118 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. 11d ago First seen · 118 lines · 22 tokens per session scan A 7a8ae93e9daf

Subscribe to this mod's changes

sap-qm-consultant is an agent published in the GitHub repository babamba2/superclaude-for-sap (55 stars, last pushed 18d ago), licensed MIT. It adds 22 tokens to every session and 2,166 once invoked, about $0.0001 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.