SAP Automation Pilot is an automation engine for SAP Business Technology Platform in which Commands define operational workflows. SAP teams use it to generate, review, deploy, run, monitor, and troubleshoot these automations. The catalogue skills provide an AI-assisted workflow for developing and operating SAP Automation Pilot Commands.
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.
git clone --depth 1 https://github.com/SAP/automation-pilot-agent-skillsWrote 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/commands/sap/automation-pilot-agent-skills/iteration)<a href="https://agentmods.dev/commands/sap/automation-pilot-agent-skills/iteration"><img src="https://agentmods.dev/badge/commands/sap/automation-pilot-agent-skills/iteration/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/commands/sap/automation-pilot-agent-skills/iteration"><img src="https://agentmods.dev/badge/commands/sap/automation-pilot-agent-skills/iteration.svg" alt="Reviewed on agentmods" width="80" 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.00000 | $0.01447 |
| Opus 5.5 | $0.00000 | $0.00579 |
| Sonnet 5.5 | $0.00000 | $0.00289 |
| Haiku 4.5 | $0.00000 | $0.00145 |
Grade A, and why
iteration 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 27d 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 — 119 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Iteration: ForEach & ParallelForEach
Run a sub-command once per item of a list. Use when a step must repeat over a resolved set (apps in a space, rows from a query, IDs from an API) rather than once.
Resolve the executor contract live before use (autopi commands contract). Field tables are
a 2026-10-14 snapshot, not proof of the target tenant's contract.
Contents
- When to use
- Executor IDs and variants
- Shared inputs
- Parallel-only inputs
- Outputs
- Minimal snippets
- Gotchas
When to use
- Order matters, or later items depend on earlier side effects, or you want one execution →
utils-sapcp:ForEach:2(runs the sub-command sequentially, inside the current execution). - Independent items, throughput, and per-child execution IDs →
utils-sapcp:ParallelForEach:1(triggers separate child executions in batches and polls them).
Executor IDs & variants
| Executor | Model |
|---|---|
utils-sapcp:ForEach:2 |
Sequential, in-execution. Use :2, not the deprecated :1. |
utils-sapcp:ParallelForEach:1 |
Parallel child executions, batched + polled |
Shared inputs
Required: command and inputs.
| Field | Notes |
|---|---|
command |
ID of the sub-command. Must be a literal, not a dynamic expression. |
inputs |
Expression resolving to an array — one entry per iteration. |
inputMapping |
Stringified JSON object; every value must be a quoted string ("key":"$(expr)"). An unquoted value is rejected at deploy ("must be a valid JSON object with static keys"). A quoted $(expr) resolving to an object or array is passed to the sub-command typed, so no toEscapedJson is needed. Default {}. |
Reach the current element with the ForEach step's own alias:
$(.<thisAlias>.current.item) (object items: $(.<thisAlias>.current.item.name)). Do not
use the list step's alias.
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.
- 27d ago First seen · 119 lines · 0 tokens per session scan A 1a85cdfb0998
iteration is a command published in the GitHub repository SAP/automation-pilot-agent-skills (15 stars, last pushed 4d ago), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 1,447 tokens. 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-11-03.
iteration compared with commands from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| iterationSAP/automation-pilot-agent-skills | Command | 15 | 4d ago | Apache-2.0 | A | 0 | Claude Code |
| generate-commandTheBeardedBearSAS/claude-craft | Command | 108 | 14d ago | MIT | A | 6 | Claude Code |
| initDataZooDE/flapi | Command | 75 | 4d ago | none | A | 21 | Claude Code |
| flow-nexus-user-toolsruvnet/sublinear-time-solver | Command | 102 | 19d ago | MIT | A | 14 | Claude Code |
| add-email-railwayLarouexNonprofitConsulting/larouex-fullstack-plugin | Command | 8 | 1y ago | MIT | A | 0 | Claude Code |
| add-email-railwayAshikparvez89/larouex-fullstack-plugin | Command | 3 | 1mo ago | MIT | A | 0 | Claude Code |
| codernatea/ExoMind | Command | 21 | 1y ago | MIT | A | 0 | Claude Code |