# sap-sac-scripting

A skill for writing and debugging scripts in SAP Analytics Cloud. Covers Analytics Designer and Optimized Story Experience.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode · 634 installs · ★ 475
- Author: secondsky
- License: GPL-3.0 · policy=link-only · description only; the file stays with the author
- Source: https://github.com/secondsky/sap-skills/tree/HEAD/plugins/sap-sac-scripting/skills/sap-sac-scripting/SKILL.md
- Updated: 2026-10-21
- HTML: https://affpapa.org/en/nevibecode/skills/sap-sac-scripting

## What it 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.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add secondsky/sap-skills --skill sap-sac-scripting -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/sap-sac-scripting/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/sap-sac-scripting/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add secondsky/sap-skills --skill sap-sac-scripting -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/sap-sac-scripting/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add secondsky/sap-skills --skill sap-sac-scripting -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/sap-sac-scripting/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install secondsky/sap-skills sap-sac-scripting
```

2. **Manually: put the files in place**
- File: `.github/skills/sap-sac-scripting/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add secondsky/sap-skills --skill sap-sac-scripting -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/secondsky/sap-skills --path plugins/sap-sac-scripting/skills/sap-sac-scripting
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/sap-sac-scripting/SKILL.md` — The legacy .windsurf/skills/ path still works

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add secondsky/sap-skills --skill sap-sac-scripting -a opencode
```

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/secondsky/sap-skills/tree/HEAD/plugins/sap-sac-scripting/skills/sap-sac-scripting/SKILL.md

## When to use it
- 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
- 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

## Similar
- [bash-scripting](https://affpapa.org/en/nevibecode/skills/bash-scripting.md) — skill · 875 installs
- [sap-fiori-app-development](https://affpapa.org/en/nevibecode/skills/sap-fiori-app-development.md) — skill · 595 installs
- [huggingface-tool-builder](https://affpapa.org/en/nevibecode/skills/huggingface-tool-builder.md) — skill · 1600 installs
- [spinning-up-deep-rl](https://affpapa.org/en/nevibecode/skills/spinning-up-deep-rl.md) — skill · 8 installs
- [just](https://affpapa.org/en/nevibecode/skills/just.md) — skill · 1000 installs
- [short-form-video-script](https://affpapa.org/en/nevibecode/skills/short-form-video-script.md) — skill · 1000 installs

From the same set: [secondsky/sap-skills](https://affpapa.org/en/nevibecode/by/secondsky/sap-skills.md) — 24 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
