sap-sac-scripting — Claude Code skill: SAP Analytics Cloud scripting
A skill for writing and debugging scripts in SAP Analytics Cloud. Covers Analytics Designer and Optimized Story Experience.
npx skills add secondsky/sap-skills --skill sap-sac-scripting -a claude-codeWhat sap-sac-scripting does
sap-sac-scripting handles script writing for Analytics Designer and Optimized Story Experience. Inside there are API reference files, templates, and four agents: a debugger, a performance optimizer, a planning assistant, and an API finder.
The skill connects to the secondsky/sap_analytics_cloud_mcp server, which exposes 90 REST API tools across 11 areas: content, data export and import, calendar, user management, translations, and more. The server is installed from source, so you need Node.js and a built project. Environment variables include SAC_BASE_URL, SAC_TOKEN_URL, SAC_CLIENT_ID, SAC_CLIENT_SECRET, and the repository path.
Four slash commands are available: /sac-script-template for generating templates, /sac-debug for debugging, /sac-optimize for performance analysis, and /sac-planning for planning operations. A hook validates scripts on write.
The skill status is docs audited, runtime pending. Live checks against a working tenant are not confirmed yet, so if you need production guarantees, test it yourself first.
What it helps with
- write a data filtering script in SAC
- debug an Analytics Designer error
- find the right OSE API method
- set up planning operations and versions
- check story script performance
Example prompts for the agent
- Help me debug a filtering error in Analytics Designer
- Find the API method for exporting data in Optimized Story Experience
- Generate a planning script template with versions and data locking
How to install sap-sac-scripting
1Skills CLI (Vercel)
npx skills add secondsky/sap-skills --skill sap-sac-scripting -a claude-code2Manually: put the files in place
~/.claude/skills/sap-sac-scripting/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/sap-sac-scripting/
1Skills CLI (Vercel)
npx skills add secondsky/sap-skills --skill sap-sac-scripting -a codex2Manually: put the files in place
.agents/skills/sap-sac-scripting/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add secondsky/sap-skills --skill sap-sac-scripting -a cursor2Manually: put the files in place
.cursor/skills/sap-sac-scripting/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install secondsky/sap-skills sap-sac-scripting2Manually: put the files in place
.github/skills/sap-sac-scripting/SKILL.md1Skills CLI (Vercel)
npx skills add secondsky/sap-skills --skill sap-sac-scripting -a gemini-cli2Platform CLI
gemini skills install https://github.com/secondsky/sap-skills --path plugins/sap-sac-scripting/skills/sap-sac-scriptingManually: put the files in place
.devin/skills/sap-sac-scripting/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add secondsky/sap-skills --skill sap-sac-scripting -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about sap-sac-scripting
How do I install sap-sac-scripting in Claude Code?
Run npx skills add secondsky/sap-skills --skill sap-sac-scripting -a claude-code. The skill lands in ~/.claude/skills/sap-sac-scripting/SKILL.md. After that, set up the MCP server if it is not connected yet.
What does sap-sac-scripting do?
It helps write, debug, and optimize scripts for SAP Analytics Cloud. It works with Analytics Designer and Optimized Story Experience and includes API references, templates, agents, and commands.
What do I need to run the MCP server?
The server is source-installed: clone the repo, pin commit 2020235505d98111c2889598ab2217c1619b6943, run npm ci --ignore-scripts and npm run build. Then set SAC_BASE_URL, SAC_TOKEN_URL, SAC_CLIENT_ID, SAC_CLIENT_SECRET, SAC_MCP_PATH, and SAC_MCP_COMMIT.