/sc4sap:assistfrom sc4sap
Executes SAP business actions (query → preview → confirm → execute) for documents like purchase orders, goods receipts, sales orders, production orders, FI documents, warehouse tasks, and maintenance orders. Supports Korean-language requests. Not for configuration or design questions.
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): blocked — reply with the stop line there and stop.
Turns a business request into one catalog action of the connected SAP system and runs it safely: lookup → table → preview → explicit user yes → execute → document numbers. The SAP side (ZMCP_BIZ_EXECUTE) enforces the whitelist, authorization, preview token and production block; this skill guides and never bypasses it.
<Response_Prefix>
Every response begins with [Model: <main-model> · Dispatched: <sub-summary or "none">] per ../../common/model-routing-rule.md.
</Response_Prefix>
<Use_When>
/sc4sap:assist.ask-consultant hands over a document request (../../common/intent-router.md §4).
</Use_When><Do_Not_Use_When>
/sc4sap:ask-consultant./sc4sap:create-program, /sc4sap:create-object.node scripts/assist/catalog.mjs match "<user sentence>" # candidates + ambiguity questions
node scripts/assist/catalog.mjs show <ACTION.ID> # params, clarify, rules, risk, preview_limits
node scripts/assist/catalog.mjs list [--module MM] # what can be done (verified actions only)
An action is offered only when it is in the catalog and verified for the family and returned by ListBusinessActions (installed and active in SAP). Anything else: say it is not available and offer ask-consultant for the manual way (TCode).
../../common/intent-router.md. knowledge → hand over to ask-consultant and stop.catalog.mjs match. One clear candidate → take it. Ambiguity → ask its ask question with the candidate meanings as options. No candidate → list for the module and ask which one, or say it is not supported.clarify entry whose parameter is still unknown, ask one question at a time with options; skip what the sentence already answered. An entry with values (a customizing code such as a delivery block reason) offers the system's own codes and texts as numbered choices (workflow.md § Value lists). Business meaning is never defaulted. Remembered answers: workflow.md § Preferences.RunBusinessQuery (kind query). Show a table (≤ 20 rows, then a count and an offer to narrow). For a write on a document found here, let the user pick the rows.RunBusinessQuery with precheck: true. A blocking fact → step 8.PreviewBusinessAction. Show before → after per field, the SAP messages, side effects (automatic goods movements, follow-on documents) and the action's preview_limits (what the preview cannot prove). Keep the returned token in the conversation only.ExecuteBusinessAction with the same params and the token. High-risk actions: one document per preview / confirm / execute cycle. Report the result and every document number (posted, changed, created). Re-read with the query action when the catalog says the change is asynchronous.workflow.md § Consultant). Do not retry with altered parameters to get around a block.
<Output_Format>
Lookup: one-line scope (filters used) → table → "Next: ".
Preview: action title · document → before / after table → messages → limits → "Execute? (yes / no)".
Execute: ✅ / ❌ · SAP message · documents <type> <number>/<year> · follow-up offered (display, reverse action from the catalog reverse).
Korean question → Korean answer (해요체, short sentences); identifiers as-is.
</Output_Format>
<MCP_Tools_Used>
ListBusinessActions, RunBusinessQuery (QUERY / PRECHECK) — read-only.PreviewBusinessAction, ExecuteBusinessAction — never auto-approved by the plugin hook; each call is a user decision.GetSqlQuery (output: "file") — only the value-list statements of scripts/assist/values.mjs plan.GetTableContents, any other GetSqlQuery, any Create* / Update* / Delete*.
</MCP_Tools_Used><Related_Skills>
/sc4sap:ask-consultant — how / why / configuration; receives handoffs from step 1 and step 8.
</Related_Skills>Task: $ARGUMENTS
What SKILL.md sets; muted values are Claude Code's defaults
inheritThree short reads, in order
sap, business-actions, document-management, sap-ewm, sap-pm, sap-le-wm
npx claudepluginhub babamba2/superclaude-for-sap --plugin sc4sap31 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./analyze-codeABAP code analysis — size-gated review (one Opus sap-code-reviewer, or Haiku sap-checker detectors + Opus judge for large objects), Haiku evidence check on every finding, then a canned report or a richer briefing on the main thread/analyze-symptomRead-only, step-by-step root cause analysis for SAP operational errors. Reads the dump summary and failing source via MCP (known-issue web lookup only when the failure is in standard SAP code), widens to transports and where-used only when the clues call for it, narrows hypotheses with minimal user questions, and provides SAP Note search keywords. Never changes code or data./ask-consultantDirect operational Q&A with a SAP module consultant agent. Auto-routes the question to the matching sap-{module}-consultant and answers against the configured SAP environment (version, industry, country, active modules)./cbo-relation-mapDraw how the customer objects of one or more CBO packages relate — one self-contained HTML relation map built from the reference graph of /sc4sap:stock-cbo (DDIC typing, check tables, search helps, value tables, row types, view bases, plus includes, calls, submits, transactions, reads and writes from source). Overview with the most connected objects, usage and groups of related objects; a search-driven neighbourhood view drawn like Obsidian's graph (relation presets, filters by kind / type / basis / usage / package); impact of a change up to the TCodes; shortest paths; a table CRUD tab; a Fields tab (who creates / reads / updates / deletes each table field, incl. customer appends of standard tables, and the TCodes and jobs that reach the writers); source lines behind every relation; PNG / CSV export. Customer (Z / Y / namespace) objects only. Collects the graph itself when it is missing (whole package or used TCodes only; eco = map-only collection).Other plugins' skills for the same job