sap-hcm

sap-hcm is a skill for Claude Code from BoxLogoDev/sapstack. It costs 133 tokens per session (3,282 once invoked), scanned A, original, MIT.

A guide to SAP Human Capital Management (HCM), the part of SAP used for employee records, organisation structures, payroll, time, and benefits. It covers older ECC systems and HCM options on S/4HANA.

In plain words
What is it for?
Use it for personnel administration, hiring and termination actions, organisational management, payroll, time management, benefits, and FI/CO postings.
Why use it?
It helps identify which HCM setup and country-specific rules apply before changing employee or payroll data.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Part of the sap-hcm plugin — 1 skill shipped together

Good fit Use it for personnel administration, hiring and termination actions, organisational management, payroll…

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/boxlogodev/sapstack/sap-hcm
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.

Any agent
npx skills add BoxLogoDev/sapstack --skill sap-hcm
Clone the repo
git clone --depth 1 https://github.com/BoxLogoDev/sapstack

Made for: Claude Code.

Or install sap-hcm, the plugin that ships this one along with the rest of its 1 skill.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/boxlogodev/sapstack/sap-hcm.svg)](https://agentmods.dev/skills/boxlogodev/sapstack/sap-hcm)
Your own site
<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>
Per session 133 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,282 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.00133 $0.03282
Opus 5 $0.00067 $0.01641
Sonnet 5 $0.00027 $0.00656
Haiku 4.5 $0.00013 $0.00328

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

Security

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.

plugins/sap-hcm/skills/sap-hcm/SKILL.md · 308 lines

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

Read the full file on GitHub · 308 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. 2d ago First seen · 308 lines · 133 tokens per session scan A f50406244a4f

Subscribe to this mod's changes

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.

Related

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…

personamanagmentlayer/pcl · 92 tokens

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…

secondsky/sap-skills · 110 tokens

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…

secondsky/sap-skills · 103 tokens

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…

secondsky/sap-skills · 71 tokens

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.

secondsky/sap-skills · 34 tokens

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…

secondsky/sap-skills · 113 tokens