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.
npx skills add BoxLogoDev/sapstack --skill sap-hcmgit clone --depth 1 https://github.com/BoxLogoDev/sapstackWrote 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/boxlogodev/sapstack/sap-hcm)<a href="https://agentmods.dev/skills/boxlogodev/sapstack/sap-hcm"><img src="https://agentmods.dev/badge/skills/boxlogodev/sapstack/sap-hcm.svg" alt="Measured on agentmods" height="20"></a>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.00133 | $0.03282 |
| Opus 5 | $0.00067 | $0.01641 |
| Sonnet 5 | $0.00027 | $0.00656 |
| Haiku 4.5 | $0.00013 | $0.00328 |
Grade A, and why
sap-hcm 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 2d 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.
How it starts
The opening of the file, as written. The whole thing — 308 lines — stays where its author put it; the contents beside it link to each section on GitHub.
1. Environment Detection (Critical — Ask First)
□ Scenario A — ECC HCM (classic on-premise, pre-S/4HANA)
□ Scenario B — HCM Compatibility Pack on S/4HANA (2020 / 2021)
□ Scenario C — HCM for S/4HANA / H4S4 (S/4HANA 2022+, BF H4S4_1 active)
□ Payroll country? (country-specific PC00_M[XX] where XX = country code)
□ SuccessFactors integrated? (hybrid or standalone HCM?)
⚠️ Strategic Context — Always Share with User
- ECC HCM mainstream support ends 2027 (extended maintenance to 2030 with additional fee)
- HCM Compatibility Pack usage rights expired end of 2025
- H4S4_1 business function activation is IRREVERSIBLE — warn before recommending activation
- H4S4 is a bridge — no major new functionality planned by SAP; SuccessFactors is strategic direction
- For SuccessFactors-specific topics, refer to the sap-sfsf skill
2. Personnel Administration (PA)
Core concept: infotype-based data model — all employee data stored in versioned, date-effective records
Key T-codes:
- PA20: display HR master data
- PA30: maintain HR master data (create / change / delete infotypes)
- PA40: personnel actions (hire / transfer / terminate)
Key Infotypes
| IT | Name | Key Fields |
|---|---|---|
| 0000 | Actions | Action type, reason |
| 0001 | Org Assignment | Company code, pers.area, EG, ESG, position |
| 0002 | Personal Data | Name, birth date, nationality |
| 0006 | Addresses | Address type, street, city, country |
| 0007 | Planned Working Time | Work schedule rule, time mgmt status |
| 0008 | Basic Pay | Pay scale type/area/group, wage types, amounts |
| 0009 | Bank Details | Bank key, account number, payment method |
| 0014 | Recurring Payments/Deductions | Wage type, amount, frequency |
| 0015 | Additional Payments | One-time wage type, amount |
| 0027 | Cost Distribution | Cost center / order split for payroll posting |
Common Errors
| Error | Root Cause | Fix |
|---|---|---|
| "Infotype record not found" | IT does not exist for employee | PA30 → create new record |
| "Feature ABKRS not maintained" | Payroll area derivation feature | PE03 → feature ABKRS → edit decision tree |
| "Time constraint violation" | Overlapping date-effective records | PA30 → delimit existing record before creating new |
| "No authorization" | Missing P_PERNR or PLOG auth | SU53 → check missing auth object |
What ships with it
17 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.
- references/best-practices/governance.md 7.2 KB
- references/best-practices/operational.md 5.9 KB
- references/best-practices/period-end.md 8.3 KB
- references/de/quick-guide-de.md 1.5 KB
- references/en/quick-guide-en.md 1.4 KB
- references/finance-integration.md 4.6 KB
- references/img/organizational-management.md 10 KB
- references/img/overview.md 5.3 KB
- references/img/payroll-area.md 9.2 KB
- references/img/personnel-administration.md 6.5 KB
- references/img/time-management.md 9.1 KB
- references/ja/quick-guide-ja.md 1.5 KB
- references/ko/quick-guide.md 1.4 KB
- references/ko/SKILL-ko.md 4.2 KB
- references/payroll-guide.md 4.8 KB
- references/vi/quick-guide-vi.md 1.6 KB
- references/zh/quick-guide-zh.md 1.4 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.
- 2d ago First seen · 308 lines · 133 tokens per session scan A f50406244a4f
sap-hcm is a skill published in the GitHub repository BoxLogoDev/sapstack (18 stars, last pushed 6d ago), licensed MIT. It adds 133 tokens to every session and 3,282 once invoked, about $0.0007 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-09-04.
Other skills, from other repositories
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…
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…
sap-sac-custom-widget
SAP Analytics Cloud (SAC) Custom Widget development. Use when building custom visualizations, extending SAC with Web Components, or creating Widget Add-Ons. Covers JSON metadata, JavaScript Web Components, lifecycle functions, data binding with feeds, styling/builder panels, property/event/method definitions…
sap-dependency-security
SAP dependency security and MCP executable trust policy with secure upgrades, cooldowns, staged rollout, and supply-chain protection. Use when upgrading deps, configuring security policies, preventing supply chain attacks, pinning SAP MCP servers, or reviewing SAP CAP/UI5/Fiori/HANA/Datasphere/SAC/BTP/ABAP dependency…
dependency-upgrade
Secure dependency upgrades with supply chain protection, cooldowns, and staged rollout. Use when upgrading deps, configuring security policies, or preventing supply chain attacks.
sap-abap-cds
Comprehensive SAP ABAP CDS (Core Data Services) reference for data modeling, view development, and semantic enrichment. Use when creating CDS views or view entities, defining data models with annotations, working with associations and cardinality, implementing input parameters, using built-in functions, writing CASE…