Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/likweitan/abap-skillsnpx agentmods add skills/likweitan/abap-skills/btp-diagram-generatorWrote 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.
[](https://agentmods.dev/skills/likweitan/abap-skills/btp-diagram-generator)<a href="https://agentmods.dev/skills/likweitan/abap-skills/btp-diagram-generator"><img src="https://agentmods.dev/badge/skills/likweitan/abap-skills/btp-diagram-generator/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.
<a href="https://agentmods.dev/skills/likweitan/abap-skills/btp-diagram-generator"><img src="https://agentmods.dev/badge/skills/likweitan/abap-skills/btp-diagram-generator.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector warn
SkillSpector: 24 findings, up to medium
These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →
- medium Excessive Agency · line 124 Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.Fix: Add human-in-the-loop confirmation for destructive, irreversible, or high-impact operations. Never auto-execute commands that modify files, send data, or alter system state.
- medium Prompt Injection · line 58 Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.Fix: Remove the large whitespace padding (blank-line blocks or long space runs) and review any content hidden below or to the right of it. Keep skill files compact and reviewable so no instructions can be
- medium Prompt Injection · line 60 Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.Fix: Remove the large whitespace padding (blank-line blocks or long space runs) and review any content hidden below or to the right of it. Keep skill files compact and reviewable so no instructions can be
- medium Prompt Injection · line 61 Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.Fix: Remove the large whitespace padding (blank-line blocks or long space runs) and review any content hidden below or to the right of it. Keep skill files compact and reviewable so no instructions can be
- medium Prompt Injection · line 486 Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.Fix: Remove the large whitespace padding (blank-line blocks or long space runs) and review any content hidden below or to the right of it. Keep skill files compact and reviewable so no instructions can be
- medium Prompt Injection · line 494 Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.Fix: Remove the large whitespace padding (blank-line blocks or long space runs) and review any content hidden below or to the right of it. Keep skill files compact and reviewable so no instructions can be
- medium Prompt Injection · line 498 Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.Fix: Remove the large whitespace padding (blank-line blocks or long space runs) and review any content hidden below or to the right of it. Keep skill files compact and reviewable so no instructions can be
- medium Prompt Injection · line 62 Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.Fix: Remove the large whitespace padding (blank-line blocks or long space runs) and review any content hidden below or to the right of it. Keep skill files compact and reviewable so no instructions can be
- medium Prompt Injection · line 63 Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.Fix: Remove the large whitespace padding (blank-line blocks or long space runs) and review any content hidden below or to the right of it. Keep skill files compact and reviewable so no instructions can be
- medium Prompt Injection · line 70 Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.Fix: Remove the large whitespace padding (blank-line blocks or long space runs) and review any content hidden below or to the right of it. Keep skill files compact and reviewable so no instructions can be
- medium Prompt Injection · line 65 Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.Fix: Remove the large whitespace padding (blank-line blocks or long space runs) and review any content hidden below or to the right of it. Keep skill files compact and reviewable so no instructions can be
- medium Prompt Injection · line 66 Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.Fix: Remove the large whitespace padding (blank-line blocks or long space runs) and review any content hidden below or to the right of it. Keep skill files compact and reviewable so no instructions can be
- medium Prompt Injection · line 67 Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.Fix: Remove the large whitespace padding (blank-line blocks or long space runs) and review any content hidden below or to the right of it. Keep skill files compact and reviewable so no instructions can be
- medium Prompt Injection · line 68 Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.Fix: Remove the large whitespace padding (blank-line blocks or long space runs) and review any content hidden below or to the right of it. Keep skill files compact and reviewable so no instructions can be
- medium Prompt Injection · line 113 Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.Fix: Remove the large whitespace padding (blank-line blocks or long space runs) and review any content hidden below or to the right of it. Keep skill files compact and reviewable so no instructions can be
- medium Prompt Injection · line 117 Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.Fix: Remove the large whitespace padding (blank-line blocks or long space runs) and review any content hidden below or to the right of it. Keep skill files compact and reviewable so no instructions can be
- medium Prompt Injection · line 118 Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.Fix: Remove the large whitespace padding (blank-line blocks or long space runs) and review any content hidden below or to the right of it. Keep skill files compact and reviewable so no instructions can be
- medium Prompt Injection · line 119 Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.Fix: Remove the large whitespace padding (blank-line blocks or long space runs) and review any content hidden below or to the right of it. Keep skill files compact and reviewable so no instructions can be
- medium Prompt Injection · line 120 Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.Fix: Remove the large whitespace padding (blank-line blocks or long space runs) and review any content hidden below or to the right of it. Keep skill files compact and reviewable so no instructions can be
- medium Prompt Injection · line 121 Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.Fix: Remove the large whitespace padding (blank-line blocks or long space runs) and review any content hidden below or to the right of it. Keep skill files compact and reviewable so no instructions can be
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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00178 | $0.09913 |
| Opus 5 | $0.00089 | $0.04956 |
| Sonnet 5 | $0.00036 | $0.01983 |
| Haiku 4.5 | $0.00018 | $0.00991 |
Grade A, and why
btp-diagram-generator 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 today.
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.
How it starts
The opening of the file, as written. The whole thing — 513 lines — stays where its author put it; the contents beside it link to each section on GitHub.
BTP Solution Diagram Generator
Produces a .drawio file in the workspace that conforms to the SAP BTP Solution Diagram guidelines and opens it through whichever draw.io MCP server is configured.
Its validation and delivery discipline is informed by Archify: deterministic artifacts, machine-readable repair receipts, explicit quality gates, last-good preservation, and separate automated versus perceptual review claims.
⚡ Quick Path (use this first)
For the vast majority of diagrams, do not hand-write XML. Use the btp_builder Python package — it owns icon lookup, SAP palette, port pinning, label HTML, A4 sizing, SVG upscaling, and validation. A typical L1 diagram is ~20 lines.
# scripts/examples/task_center_arch.py — runnable end-to-end
import sys
from pathlib import Path
# Add the skill's scripts/ dir to sys.path so `btp_builder` imports work
# regardless of where the skill is installed
sys.path.insert(0, str(Path(__file__).resolve().parent.parent))
from btp_builder import BtpDiagram
d = BtpDiagram(level="L1", title="Task Center Reference Architecture")
btp = d.btp_container(x=260, y=80, w=560, h=440)
sub = d.subaccount(parent=btp, label="Subaccount",
x=btp.x + 24, y=btp.y + 110, w=520, h=170)
wz = d.service("work zone", in_=sub, x=sub.x + 60, y=sub.y + 60)
tc = d.service("task center", right_of=wz)
ci = d.service("cloud identity", below=tc)
eu = d.user("End User", x=60, y=btp.y + 100)
ac = d.app_client("Application Clients\n(Mobile or Desktop)", below=eu)
s4 = d.external("SAP S/4HANA\nOn-Premise Solutions",
x=btp.right_edge() + 40, y=btp.y + 70, kind="sap")
third = d.external("3rd Party\nApplications", below=s4, kind="non-sap")
cloud = d.external("SAP Cloud\nApplications", below=third, kind="sap")
idp = d.idp("3rd-party Identity Provider",
x=ci.center_x() - 140, y=btp.bottom_edge() + 60)
d.connect(eu, ac, direction="down")
d.connect(ac, wz, direction="right")
d.connect(wz, tc, kind="dblhd")
d.connect(tc, ci, kind="dblhd", direction="down")
d.connect(tc, s4); d.connect(tc, third); d.connect(tc, cloud)
d.connect(idp, ci, kind="dashed", direction="up")
d.save("btp-task-center-architecture.drawio") # validates, then atomically commits
What ships with it
60 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.
- reference/example-patterns.md 14 KB
- reference/examples/SAP_Build_Process_Automation_L2.drawio 307 KB
- reference/examples/SAP_Build_Work_Zone_L2.drawio 260 KB
- reference/examples/SAP_Cloud_Identity_Services_Authentication_L2.drawio 89 KB
- reference/examples/SAP_Cloud_Identity_Services_Authentication_preset_L2.drawio 66 KB
- reference/examples/SAP_Cloud_Identity_Services_Authorization_L1.drawio 96 KB
- reference/examples/SAP_Cloud_Identity_Services_Identity_Lifecycle_L1.drawio 99 KB
- reference/examples/SAP_Private_Link_Service_L2.drawio 165 KB
- reference/examples/SAP_Start_L2.drawio 112 KB
- reference/examples/SAP_Task_Center_L0.drawio 61 KB
- reference/examples/SAP_Task_Center_L1.drawio 87 KB
- reference/examples/SAP_Task_Center_L2.drawio 124 KB
- reference/icon-aliases.json 8.1 KB
- reference/icon-cheatsheet.md 6.9 KB
- reference/icon-index.json 656 KB
- reference/libraries/20-02-00-02-sap-btp-service-icons-foundational-size-M.xml 290 KB
- reference/libraries/20-02-01-02-sap-btp-service-icons-integration_suite-size-M.xml 119 KB
- reference/libraries/20-02-02-02-sap-btp-service-icons-app-dev-automation-size-M.xml 115 KB
- reference/libraries/20-02-04-02-sap-btp-service-icons-data-analytics-size-M.xml 54 KB
- reference/libraries/20-02-05-02-sap-btp-service-icons-ai-size-M.xml 106 KB
- reference/libraries/20-02-06-02-sap-btp-service-icons-btp-saas-set-size-M.xml 129 KB
- reference/libraries/20-02-99-02-sap-btp-service-icons-all-size-M.xml 682 KB
- reference/sap-btp-palette.json 1.4 KB
- reference/sap-logo.b64.txt 3.1 KB
- reference/styles.json 4.9 KB
- reference/svg/10001-placeholder-icon-for-sap-btp-services_sd.svg 4.0 KB
- reference/svg/10002-cloud-integration-automation_sd.svg 2.3 KB
- reference/svg/10004-document-information-extraction_sd.svg 6.4 KB
- reference/svg/10007-intelligent-situation-automation_sd.svg 7.8 KB
- reference/svg/10009-object-store-on-sap-btp_sd.svg 6.3 KB
- reference/svg/10010-personalized-recommendation_sd.svg 2.6 KB
- reference/svg/10013-sap-analytics-cloud-embedded-edition_sd.svg 2.3 KB
- reference/svg/10014-sap-audit-log-service_sd.svg 4.0 KB
- reference/svg/10017-sap-btp_cloud-foundry-runtime_sd.svg 6.7 KB
- reference/svg/10022-sap-continuous-integration-and-delivery_sd.svg 3.4 KB
- reference/svg/10023-sap-data-privacy-integration_sd.svg 5.0 KB
- reference/svg/10025-sap-datasphere_sd.svg 12 KB
- reference/svg/10028-sap-feature-flags-service_sd.svg 2.5 KB
- reference/svg/10030-sap-html5-application-repository-service-for-sap-btp_sd.svg 4.0 KB
- reference/svg/10035-sap-keystore-service_sd.svg 3.3 KB
- reference/svg/10037-sap-malware-scanning-service_sd.svg 5.4 KB
- reference/svg/10039-sap-master-data-integration_sd.svg 5.4 KB
- reference/svg/10041-sap-print-service_sd.svg 3.1 KB
- reference/svg/10042-sap-private-link-service_sd.svg 5.3 KB
- reference/svg/10044-sap-s4hana-cloud-for-intelligent-intercompany-reconciliation_sd.svg 6.4 KB
- reference/svg/20016-sap-btp_abap-environment_sd.svg 4.6 KB
- reference/svg/20036-sap-landscape-management-cloud_sd.svg 6.7 KB
- reference/svg/20049-ui5-flexibility-for-key-users_sd.svg 7.4 KB
- reference/svg/20051-application-autoscaler_sd.svg 4.1 KB
- reference/svg/20053-sap-cloud-management-service-for-sap-btp_sd.svg 7.7 KB
- reference/svg/20054-data-attribute-recommendation_sd.svg 1.8 KB
- reference/svg/20056-document-classification_sd.svg 3.5 KB
- reference/svg/20058-sap-ai-core_sd.svg 6.6 KB
- reference/svg/20059-sap-ai-launchpad_sd.svg 6.9 KB
- reference/svg/20061-sap-analytics-cloud_sd.svg 2.3 KB
- reference/svg/20062-sap-application-logging-service-for-sap-btp_sd.svg 4.2 KB
- reference/svg/20064-sap-btp-bandwidth_sd.svg 3.8 KB
- reference/svg/20065-sap-btp_kyma-runtime_sd.svg 3.9 KB
- reference/svg/20069-sap-business-application-studio_sd.svg 4.0 KB
- reference/svg/20070-oauth-20-on-sap-btp_sd.svg 3.5 KB
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.
- today Changed · +13 lines be2ca0bc3160
- 13d ago First seen · 500 lines · 178 tokens per session scan A 485361bfa167
btp-diagram-generator is a skill published in the GitHub repository likweitan/abap-skills (60 stars, last pushed yesterday), licensed MIT. It adds 178 tokens to every session and 9,913 once invoked, about $0.0009 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.
Other skills, from other repositories
sap-transport-gate
Use for SAP Transport Request pre-release gate review (QAS/PRD). Triggers on any TR number in input (pattern: uppercase letters + K + 6 digits, e.g., DEVK900123, ECDK943668). Asks user: code-quality-only or functional+code review. Performs 10-dimension risk review of ABAP/CDS/DDIC source, object list, dependencies…
sap-expert
Expert in SAP ERP systems, ABAP programming, SAP HANA, S/4HANA, Fiori applications, and SAP integration patterns including OData, RFC, and IDoc. Use when the user mentions ERP, enterprise, business apps, ABAP, HANA, or S/4HANA, or when the task involves SAP Ecosystem, ABAP Development, Integration Technologies, or…
abap-code-review
Performs structured pre-release security and quality review of SAP ABAP programs across 9 dimensions (SEC, AUTH, DATA, PERF, STD, INTERFACE, CHANGE, COMP, FUNC), producing a formal sign-off-ready Markdown assessment report. Trigger when the user asks to review, audit, assess, or check ABAP code before release …
sap-fiori-ios
SAP Fiori for iOS Design Skill — Converts Figma designs from the Fiori iOS UI Kit into SwiftUI prototypes with animations and interactions. Use this skill when a designer provides a Figma node ID or component name and wants working SwiftUI code, when asking which Fiori iOS component to use, when mapping Figma variants…
sap-integration-wiki
Comprehensive integration guide for connecting external systems (Java, Python, .NET, Node.js, low-code platforms, etc.) to SAP (ECC, S/4HANA On-Premise, S/4HANA Cloud). Covers OData V2/V4, RFC/JCo, SOAP over HTTP RFC (no-JCo RFC calls via standard HTTPS), IDoc/PI-PO, BAPI, RAP REST APIs, BTP Integration Suite, SAP…
sap-sac-planning
SAP Analytics Cloud (SAC) planning guidance for planning models, planning-enabled stories, data actions, multi actions, version management, data locking, calendar/input workflows, allocations, value driver trees, BPC live planning, and Seamless Planning with SAP Datasphere. Use this for planning design, planning APIs…