Skip to main content
skill CX Codex

sap-sac-custom-widget — Claude Code skill for SAC widgets

Guides custom widget development for SAP Analytics Cloud: Web Components, data feeds, styling panels. Useful when the built-in visualizations fall short.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add secondsky/sap-skills --skill sap-sac-custom-widget -a claude-code
Open on GitHub

What sap-sac-custom-widget does

The skill walks a SAC custom widget from brief to upload artifacts. It starts by classifying the widget role and data-source mode, suggests a few role-aware options, then generates the chosen package. SAC-bound widgets get asked for dimensions, measures, dates, versions and feed order; pure UI controls get interaction, navigation, state, method and event requirements instead.

Bundled templates cover widgets, charts and KPI cards, plus templates/local-builder/ — static HTML/CSS/vanilla JS with no public CDNs. That builder exports two artifacts separately: widget.json and a Resource-ZIP holding only root-level component JavaScript. If direct file:// access is blocked, a Node fallback server.mjs runs instead.

You need a SAC tenant with Optimized Story Experience or Analytics Designer, plus JavaScript and Web Components knowledge. Hosting is either external (GitHub Pages, AWS S3, Azure) or SAC-hosted resources. The skill points to SAP's official docs and a samples repository, and asks you to confirm technical IDs, feed mappings and asset rights before it writes code.

What it helps with

  • build a custom visualization SAC does not ship
  • wire ECharts, D3.js or Chart.js into a widget
  • set up data binding through feeds and field order
  • keep the styling panel and builder panel in separate files
  • export widget.json and a Resource-ZIP for SAC import

Example prompts for the agent

  • Build a SAC custom widget for a sales-by-region chart with data coming through feeds
  • Create a KPI card as a Web Component with a styling panel and a builder panel
  • Prepare widget.json and the Resource-ZIP for uploading the widget to SAC

How to install sap-sac-custom-widget

1Skills CLI (Vercel)

npx skills add secondsky/sap-skills --skill sap-sac-custom-widget -a claude-code

2Manually: put the files in place

~/.claude/skills/sap-sac-custom-widget/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/sap-sac-custom-widget/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about sap-sac-custom-widget

How do I install sap-sac-custom-widget in Claude Code?

Run npx skills add secondsky/sap-skills --skill sap-sac-custom-widget -a claude-code. The skill file lands at ~/.claude/skills/sap-sac-custom-widget/SKILL.md.

What does sap-sac-custom-widget do?

It helps you develop custom widgets for SAP Analytics Cloud: generating the widget package, handling data binding, styling and builder panels, and packaging artifacts for import.

What do I need before using it?

A SAC tenant with Optimized Story Experience or Analytics Designer, JavaScript and Web Components knowledge, and either external hosting or SAC-hosted resources.

Similar skills

Everything for Frontend and UI →

From the same set40

sap-btp-intelligent-situation-automation This skill helps maintain existing SAP BTP Intelligent Situation Automation setups, export data, and unsubscribe from the service. ISA is archived and deprecated. CX Codex +1 637installs sap-btp-cloud-platform A reference skill for SAP Business Technology Platform: accounts, Cloud Foundry, Kyma, ABAP Environment, MTA deployments and on-premise connectivity. CX Codex +1 636installs sap-sac-scripting A skill for writing and debugging scripts in SAP Analytics Cloud. Covers Analytics Designer and Optimized Story Experience. CX Codex +1 634installs sap-sac-planning Guides agents through SAP Analytics Cloud planning models, data actions, and version workflows. Useful for debugging allocations and Datasphere connections. CX Codex +1 612installs sap-btp-integration-suite A skill that helps your agent build SAP Integration Suite artifacts on BTP: iFlows, API Management proxies, Event Mesh topics and B2B flows. CX Codex +1 590installs sap-btp-cloud-identity-services This skill guides authentication and access-control work for SAP BTP apps. Use it to configure IAS, IPS, or AMS, or investigate token and trust errors. CX Codex +1 585installs sap-dependency-security Guards SAP projects against supply chain risks and enforces strict executable rules for MCP servers. Useful when upgrading libraries in SAP CAP or BTP. CX Codex +1 558installs sap-cloud-sdk-ai-python Integrates sap-ai-sdk-gen into Python applications. It guides foundation model connectivity and request orchestration via SAP AI Core. CX Codex +1 545installs

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor