automations-toolkit

automations-toolkit is a skill for Claude Code from SAP/leanix-ai-plugins. It costs 93 tokens per session (6,036 once invoked), scanned A, original, Apache-2.0.

Build, debug, and create LeanIX Automations using built-in actions when possible and scripts only when needed. Use when creating new automations, debugging failing scripts, understanding triggers, deploying via API, converting Azure Functions, syncing subscriptions, managing tags based on relations, working with…

Skill for Claude Code ✓ vendor

Written for Claude Code: allowed-tools in frontmatter. Also seen: names the AskUserQuestion tool; mentions Claude Code.

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is See [MCP Setup](../../MCP-SETUP.md) for full instructions..

Install

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.

Clone the repo
git clone --depth 1 https://github.com/SAP/leanix-ai-plugins
agentmods
npx agentmods add skills/sap/leanix-ai-plugins/automations-toolkit

Made for: Claude Code.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/sap/leanix-ai-plugins/automations-toolkit/github.svg)](https://agentmods.dev/skills/sap/leanix-ai-plugins/automations-toolkit)
Your own site
<a href="https://agentmods.dev/skills/sap/leanix-ai-plugins/automations-toolkit"><img src="https://agentmods.dev/badge/skills/sap/leanix-ai-plugins/automations-toolkit/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.

agentmods 80×15 button for automations-toolkit

Your own site · 80×15
<a href="https://agentmods.dev/skills/sap/leanix-ai-plugins/automations-toolkit"><img src="https://agentmods.dev/badge/skills/sap/leanix-ai-plugins/automations-toolkit.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 93 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 6,036 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00093 $0.06036
Opus 5.5 $0.00037 $0.02414
Sonnet 5.5 $0.00019 $0.01207
Haiku 4.5 $0.00009 $0.00604

Measured today against content hash ee8d08426c30, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

automations-toolkit scanned grade A with 1 finding 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.

The scan reads SKILL.md. This mod also ships 32 executable files (examples/api-calls/fetch-fact-sheets.js, examples/archive/archive-initiative-after-eol.js, examples/basic/hello-world.js, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

**All LeanIX API calls use MCP tools.** No shell commands, no token exchange, no curl.
skills/automations-toolkit/SKILL.md · 523 lines

How it starts

The opening of the file, as written. The whole thing — 523 lines — stays where its author put it; the contents beside it link to each section on GitHub.

LeanIX Automation Assistant

Comprehensive help for LeanIX Run Script automations: create, debug, design, optimize, and learn.

CRITICAL: API Access

All LeanIX API calls use MCP tools. No shell commands, no token exchange, no curl.

  • Authentication is handled internally by the MCP server
  • No bearer tokens need to be managed in the skill workflow
  • No .mcp.json parsing is required — MCP handles credentials automatically

Anti-Patterns (Don't Do This)

Pattern Why It Fails
function main(data) or function main(context) main() takes zero parameters. data and context are injected globals at runtime.
function main(){}; export { main } (re-export) or export default function main() The save-time validator requires direct export: export function main(), export async function main(), or export const main = ....
async function main() with no await inside require-await lint rule blocks save. Drop async if no await.
Top-level await outside main() Rejected by TS1308. await only works inside the async main() body.
import statements The runner blocks module imports and remote code fetches; rejected by TS2307. Only fetch, data, context, and standard JS built-ins are available.
TS-style type annotations in .js (e.g. function f(x: string)) Rejected by TS8010.
Calling Deno, setTimeout, setInterval, eval, Function, WebAssembly These globals are deleted at runtime. ReferenceError at execute time.
Relying on console.log for visible output Captured to stdout (returned in execution result), but NOT shown prominently in the Automations UI. For visible failure, throw new Error(...).
relApplicationToITComponent without wrapper Must use ... on Application { relApplicationToITComponent { } }
Mutations without currentRev tracking Revision conflict errors
No idempotency check Infinite loop when automation re-triggers itself
Using name for ITComponent matching Use displayName to include Provider prefix
Returning relations/subscriptions Return object can't update these - use GraphQL
Using a technical/service identity as ownerId Shows "null null" in UI — use set_owner_to_current_user=True (on update_automation only) or a real human user's ID
Guessing API endpoints (e.g., /scripts/{id}, /technicalUsers) Use MCP tools — they handle endpoints internally
Setting creatorId on template update Immutable; silently ignored (API returns 200 but no change)
Investigating UUIDs before comparing with working automations Slow; comparison-first debugging is faster
Re-fetching templates without caching Redundant MCP calls; cache list_automations() result in context for the session
Building the secret key dynamically ("default_" + "auto...") Reference the secret key literally as "default_automations_secret" so it resolves. Dynamic construction means the secret is not attached — context.secrets ends up empty.
LIFECYCLE_PHASE_CHANGE trigger combined with IGNORE_TECHNICAL_USERS condition Service rejects: technical-user condition is not allowed on job-type triggers.
Multiple actions with startsAfter: null (or zero such actions) Exactly one first action is allowed per template. All others must chain via startsAfter.
Inline script: "..." field on an action payload Service strips it. Always create scripts separately via POST /scripts and reference by scriptId.
Using console.warn / console.info / console.debug for diagnostics Not captured by the runner; output is silently dropped. Only console.log and console.error are captured (to stdout / stderr).
Mutating data or context in place The runner process is reused across executions and globals are restored between runs. Treat both as read-only.

Read the full file on GitHub · 523 lines

Files

What ships with it

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

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. today First seen · 523 lines · 93 tokens per session scan A ee8d08426c30

Subscribe to this mod's changes

automations-toolkit is a skill published in the GitHub repository SAP/leanix-ai-plugins (10 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 93 tokens to every session and 6,036 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-07.

Related

automations-toolkit compared with skills from other repositories

automations-toolkit next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
automations-toolkitSAP/leanix-ai-pluginsSkill101mo agoApache-2.0A93Claude Code
api-errorscyanheads/obsidian-mcp-serverSkill7027d agoApache-2.0A54Claude Code
debugging-mutationsserac-labs/seracSkill7717d agoApache-2.0A41Claude Code
diagnose-connectivitypyworkload/3x-ui-mcpSkill721d agoMITA83Claude Code, Codex
sn-safe-writeIvanBBaev/servicenow-mcp-aiSkill116d agoGPL-3.0A43Claude Code
sn-triageIvanBBaev/servicenow-mcp-aiSkill116d agoGPL-3.0A50Claude Code
sn-impactIvanBBaev/servicenow-mcp-aiSkill116d agoGPL-3.0A47Claude Code