شعار Sap Option

Sap Option

المجتمع
babamba2
sap-option

View SAP system status snapshot and edit values in `.sc4sap/sap.env` (connection, blocklist), HUD usage limits in `~/.claude/settings.json` → `env`, the agent model-dispatch mode and cost mode (standard / eco) in `~/.sc4sap/preferences.json`, and the SAP screen-mockup theme in the profile `config.json` — single entrypoint for all sc4sap runtime options

Add to TypingMind

نظرة عامة

الناشرbabamba2
المستودعsuperclaude-for-sap
اسم المهارةsap-option
النجوم
69
التفريعات
26
الملفات المرفقة
12
الترخيصMIT
الروابط
  • تعليمات بصيغة Markdown

    ملف SKILL.md يُحمّله النموذج عند الحاجة، فلا يستهلك توكنات إلا عندما يَرِد طلب ذو صلة فعلًا.

  • تعمل مع أي نموذج لغوي كبير

    مهارات الذكاء الاصطناعي مكتوبة بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا تعمل مع GPT أو Claude أو Gemini أو Grok أو نموذج محلي.

  • الملفات المرفقة: 12

    نصوص برمجية وقوالب ومراجع يمكن للنموذج قراءتها أثناء عمله. الملفات للقراءة فقط ولا تُنفّذ أبدًا.

  • مفتوحة المصدر

    نشرها babamba2 على GitHub. اطّلع على المصدر قبل تثبيتها.

التثبيت

ثبّت مهارة الذكاء الاصطناعي Sap Option في TypingMind لاستخدامها مع أي نموذج لغوي كبير، أو أضفها إلى وكيل ذكاء اصطناعي آخر يقرأ SKILL.md.

1

التثبيت في TypingMind

يُثبّت TypingMind المهارة مباشرةً من مجلدها على GitHub — فيقرأ SKILL.md، ويجمع ملفات الموارد في حزمة، ويحفظ النتيجة محليًا.

  1. افتح التطبيق وانتقل إلى «الإضافات» ثم «المهارات».
  2. اختر «تثبيت من GitHub».
  3. الصق رابط مجلد المهارة الموضّح أدناه وأكّد التثبيت.
    https://github.com/babamba2/superclaude-for-sap/tree/main/skills/sap-option
  4. فعّل المهارة في كل محادثة تريد إتاحتها فيها.
الإضافات ← المهارات ← إضافة مهارة ← من رابط GitHub، ثم الصق رابط المجلد واضغط على «متابعة».
2

التثبيت في وكيل ذكاء اصطناعي آخر

يمكن لأي وكيل ذكاء اصطناعي يقرأ تنسيق Agent Skills استخدام هذه المهارة — انسخ المجلد إلى مجلد المهارات الخاص بذلك الوكيل.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/babamba2/superclaude-for-sap.git /tmp/superclaude-for-sap
mkdir -p .claude/skills
cp -r /tmp/superclaude-for-sap/skills/sap-option .claude/skills/sap-option
أعد تشغيل Claude Code بعد النسخ ليتعرّف على المهارة الجديدة.

استخدمها في TypingMind

فعّل Sap Option في أي محادثة على TypingMind وسيتولى النموذج الباقي. تتضمن مطالبة النظام اسمها ووصفها، وبمجرد ورود طلب ذي صلة، يُحمّل النموذج التعليمات الكاملة تلقائيًا — فلا تحتاج إلى استدعائها يدويًا، ولا تستهلك أي توكنات حتى تُستخدم فعليًا.

يُحمّل النموذج مهارة Sap Option تلقائيًا بمجرد ورود طلب ذي صلة بها.

تعمل مع أي نموذج ذكاء اصطناعي

مهارات الذكاء الاصطناعي هي تعليمات بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا لا ترتبط Sap Option بالنموذج الذي كُتبت له. ثبّتها مرة واحدة في TypingMind واستخدمها مع GPT-5 أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو نموذج محلي تشغّله بنفسك — كل ذلك باستخدام مفاتيح API الخاصة بك.

  • تُحمَّل عند الحاجة فقط

    تتضمن مطالبة النظام الاسم والوصف فقط. وتُجلب التعليمات عند أول طلب ذي صلة، لذا لا تستهلك تعليمات المهارة أي توكنات ما دامت المهارة غير مستخدمة.

  • بدّل النماذج أثناء المحادثة

    لأن المهارة تعليمات وليست شيفرة، فإن تغيير النموذج لا يعطّلها — فالنموذج التالي يقرأ ملف SKILL.md نفسه.

تعليمات المهارة

هذا هو محتوى SKILL.md الذي يُحمّله النموذج. اقرأه قبل التثبيت — فالمهارة عبارة عن تعليمات سيتبعها نموذجك.

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 "model dispatch", "dispatch mode", "let me choose the model", "ask me which model", "user-defined model", "auto dispatch" — route to the Model dispatch flow (see <Model_Dispatch>), which edits ~/.sc4sap/preferences.json → modelDispatch, not sap.env.
  • User says "cost mode", "eco mode", "saving mode", "standard mode", "make it cheaper" — route to the Cost mode flow (see <Cost_Mode>), which edits ~/.sc4sap/preferences.json → costMode / costModeBySkill.
  • User says "screen theme", "mockup theme", "signature theme", "pink theme", "화면 테마", "시그니처 테마" — route to the Screen theme flow (see <Screen_Theme>), which edits the profile config.json → screenTheme, not sap.env.
  • 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.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):

  • Active profile: <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.
  • 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.json → activeTransport, 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
  • Model dispatch: <auto (default) | user-defined> — from ~/.sc4sap/preferences.json → modelDispatch
  • Cost mode: <standard (default) | eco>[ · eco: <skills>] — from ~/.sc4sap/preferences.json → costMode / costModeBySkill
  • Screen theme: <screenTheme | signature (default)> — from config.json → screenTheme
  • ALV framework / ABAP SP: <alvFramework | none (default)> · ABAP SP <abapSp | unset> — from config.json (see <ALV_Framework>)
  • sap.env path: absolute path being edited

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>

  • Active profile (multi-profile, default): read the alias from <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.
  • Legacy (no active-profile.txt): <project>/.sc4sap/sap.env + <project>/.sc4sap/config.json. Offer the migration flow in migration.md.
  • If neither exists, tell the user to run /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 | xsuaa
  • SAP_USERNAME — SAP user ID
  • SAP_PASSWORD — secret — always mask when displaying
  • SAP_LANGUAGE — EN, DE, KO, ...
  • SAP_SYSTEM_TYPE — onprem | cloud (deployment only; ECC vs S/4HANA is SAP_VERSION)
  • SAP_VERSION — S4 | ECC
  • ABAP_RELEASE — e.g. 756, 758
  • SAP_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 unset

Blocklist 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 bypass

RFC backend (optional — selects transport for Screen / GUI Status / Text Element ops):

  • SAP_RFC_BACKEND — odata (default) | soap | native | gateway | zrfc

Per-backend env blocks (Native / Gateway / OData credentials and 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_URL

Do not manage keys that are not in this list — warn the user and skip. </Managed_Keys>

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

<Edge_Cases>

  • File missing → stop, direct to /sc4sap:setup. Do not create.
  • File has syntax errors (lines that are not KEY=VALUE or comments) → show the offending lines, ask user to clean manually, abort.
  • User wants to add a key not in <Managed_Keys> → warn, ask to confirm adding as a custom key (append at end with a # custom comment). Do not validate content.
  • User wants to remove a required connection key (e.g. SAP_URL) → refuse; required keys can only be changed, not removed.
  • Always tell the user the absolute path that was edited (profile env vs legacy project env) so there is no ambiguity about which system changed. </Edge_Cases>

<Standalone_TUI> See standalone-tui.md. </Standalone_TUI>

الملفات المرفقة

يقرأ النموذج هذه الملفات عند الحاجة ما دامت المهارة محمّلة. وهي متاحة للقراءة ولا تُنفّذ أبدًا.

الأسئلة الشائعة

ماذا تفعل مهارة الذكاء الاصطناعي Sap Option؟

View SAP system status snapshot and edit values in `.sc4sap/sap.env` (connection, blocklist), HUD usage limits in `~/.claude/settings.json` → `env`, the agent model-dispatch mode and cost mode (standard / eco) in `~/.sc4sap/preferences.json`, and the SAP screen-mockup theme in the profile `config.json` — single entrypoint for all sc4sap runtime options

لماذا تستخدم Sap Option على TypingMind؟

لأنك تثبّتها مرة واحدة وتستخدمها مع أي نموذج. مهارة Sap Option عبارة عن نص Markdown وليست شيفرة خاصة بمزود بعينه، لذا تعمل المهارة نفسها مع GPT-5 أو Claude أو Gemini أو Grok أو نموذج محلي، ويمكنك تبديل النموذج أثناء المحادثة دون تعطّل المهارة. يعمل TypingMind بمفاتيح API الخاصة بك، فتدفع للمزودين مباشرةً بدلًا من اشتراك لكل مقعد، وتبقى مهاراتك ومحادثاتك في مساحة التخزين الخاصة بك.

كيف أثبّت Sap Option في TypingMind؟

في TypingMind، افتح «الإضافات»، ثم «المهارات»، ثم اختر «التثبيت من GitHub» والصق https://github.com/babamba2/superclaude-for-sap/tree/main/skills/sap-option. يقرأ TypingMind ملف SKILL.md الخاص بالمهارة، ويجمع ملفاتها ويثبّتها كمهارة يمكنك تفعيلها لكل محادثة على حدة.

ما نماذج الذكاء الاصطناعي التي يمكنها استخدام Sap Option؟

أي نموذج تربطه في TypingMind. مهارات الذكاء الاصطناعي عبارة عن تعليمات Markdown وليست شيفرة خاصة بمزود بعينه، لذا يمكن لكل من GPT وClaude وGemini وGrok والنماذج المحلية تحميل هذه المهارة عندما يتوافق الطلب معها.

كم نموذج ذكاء اصطناعي يمكنني استخدامه مع Sap Option؟

أي عدد تريده. ما دام النموذج يدعم المهارات، يمكنك استخدام Sap Option معه، سواء كان GPT أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو غيرها، وكل ذلك على TypingMind باستخدام مفاتيح API الخاصة بك.

هل مهارة الذكاء الاصطناعي Sap Option مجانية؟

نعم. نشرها babamba2 على GitHub بموجب ترخيص MIT. لا تدفع إلا لمزود الذكاء الاصطناعي الخاص بك مقابل التوكنات التي تستخدمها.

ما هي مهارات الذكاء الاصطناعي؟

مهارة الذكاء الاصطناعي حزمة تعليمات قابلة لإعادة الاستخدام تعلّم نموذج الذكاء الاصطناعي كيفية تنفيذ مهمة محددة. وتتبع تنسيق Agent Skills المفتوح: ملف SKILL.md يتضمن اسمًا ووصفًا، إلى جانب أي نصوص برمجية أو قوالب أو ملفات مرجعية قد يحتاج إليها النموذج. لا يقرأ النموذج التعليمات إلا عندما يتوافق طلبك مع المهارة، لذا لا تترتب على المهارة المثبتة أي تكلفة حتى تُستخدم.

كيف تختلف مهارات الذكاء الاصطناعي عن الإضافات أو موصلات MCP؟

تمنح الإضافة أو موصل MCP النموذج أدوات جديدة يمكنه استدعاؤها، وهي شيفرة تُنفَّذ في مكان ما وتُرجع نتيجة. أما مهارة الذكاء الاصطناعي فتزوّد النموذج بالمعرفة ومنهجية العمل: كيفية التعامل مع مهمة، والخطوات التي ينبغي اتباعها، وما ينبغي أن تكون عليه المخرجات الجيدة. المهارات عبارة عن نصوص Markdown، لذا لا تحتاج إلى خادم أو مفتاح API أو بيئة تشغيل، وتعمل مع أي نموذج.

عرض الكل

أنشئ مساحة عملك للذكاء الاصطناعي الآن

اشترك في نشرتنا الإخبارية لتصلك أخبار الميزات الجديدة والهدايا القادمة 👇