sap-fiori-analytical-chart

sap-fiori-analytical-chart is a skill for Claude Code from SAP/open-ux-tools. It costs 40 tokens per session (2,548 once invoked), scanned A, original, Apache-2.0.

Instructions for adding an analytical chart and table view to an SAP Fiori Elements List Report. The chart groups records by a dimension and summarizes a numeric measure, making aggregated data easier to compare.

In plain words
What is it for?
Use them to configure bar, column, line, pie, heat-map, or waterfall charts in CAP or ABAP RAP OData V4 applications, either beside a table or in separate tabs.
Why use it?
They ensure the data service supports aggregation and that the chart metadata matches the requested fields, chart type, and display layout.

Skill for Claude Code ✓ vendor

Written for Claude Code: argument-hint in frontmatter.

Part of the sap-fiori-mcp-server plugin — 7 skills, 2 MCP servers shipped together

Good fit Use them to configure bar, column, line, pie, heat-map, or waterfall charts in CAP or ABAP RAP OData V4 applications, either beside a table or in separate tabs.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/sap/open-ux-tools/sap-fiori-analytical-chart
About the project

Open UX Tools is a collection of open-source modules for building SAP Fiori applications more efficiently. SAP Fiori developers and related projects use the reusable modules to create development tools and to contribute fixes, findings, and improvements through community collaboration.

SAP/open-ux-tools · 158 stars · on GitHub

Install

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.

Any agent
npx skills add SAP/open-ux-tools --skill sap-fiori-analytical-chart
Clone the repo
git clone --depth 1 https://github.com/SAP/open-ux-tools

Made for: Claude Code.

Or install sap-fiori-mcp-server, the plugin that ships this one along with the rest of its 7 skills, 2 MCP servers.

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 sap-fiori-analytical-chart

README.md
[![agentmods](https://agentmods.dev/badge/skills/sap/open-ux-tools/sap-fiori-analytical-chart/github.svg)](https://agentmods.dev/skills/sap/open-ux-tools/sap-fiori-analytical-chart)
Your own site
<a href="https://agentmods.dev/skills/sap/open-ux-tools/sap-fiori-analytical-chart"><img src="https://agentmods.dev/badge/skills/sap/open-ux-tools/sap-fiori-analytical-chart/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 sap-fiori-analytical-chart

Your own site · 80×15
<a href="https://agentmods.dev/skills/sap/open-ux-tools/sap-fiori-analytical-chart"><img src="https://agentmods.dev/badge/skills/sap/open-ux-tools/sap-fiori-analytical-chart.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 40 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,548 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • Socket pass 24 Jun 2026
  • Snyk pass 24 Jun 2026
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00040 $0.02548
Opus 5 $0.00020 $0.01274
Sonnet 5 $0.00008 $0.00510
Haiku 4.5 $0.00004 $0.00255

Measured 4d ago against content hash 7eac93a2176c, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

sap-fiori-analytical-chart 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 4d 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.

packages/fiori-mcp-server/skills/sap-fiori-analytical-chart/SKILL.md · 362 lines

How it starts

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

SAP Fiori Analytical Chart

Purpose

Add analytical chart + table (hybrid view) to visualize aggregated data.


MANDATORY: Gather Required Inputs First

STOP and ASK the user for ALL of these inputs if ANY are missing from the prompt:

  1. Entity - Which entity to add the analytical chart to
  2. Dimension field - The field to group by (e.g., Category, Status, Destination)
  3. Measure field - The numeric field to aggregate (e.g., Amount, TotalPrice, ReservationPrice)
  4. Aggregation method - How to aggregate (see valid values below)
  5. Chart type - Bar, Column, Line, Pie, HeatMap, Waterfall, HorizontalWaterfall
  6. Display mode - How the chart should be shown:
    • Separate tabs (Approach 2)
    • Hybrid view (Approach 1)

DO NOT proceed with implementation until all inputs are confirmed.


CAP Implementation

Enable Aggregation

@Aggregation.ApplySupported: {
  Transformations: ['aggregate','groupby'],
  AggregatableProperties: [{Property: Amount}],
  GroupableProperties: [Category]
}

Aggregated Property

Analytics.AggregatedProperty #Amount_avg: {
  Name: 'Amount_avg',
  AggregatableProperty: Amount,
  AggregationMethod: 'average',
  ![@Common.Label]: 'Average Amount'
}

Valid AggregationMethod values (lowercase string):

  • sum - Sum of the non-null values
  • min - Smallest of the non-null values
  • max - Largest of the non-null values
  • average - Sum of non-null values divided by count of non-null values
  • countdistinct - Count of distinct values, omitting null values

⚠️ CRITICAL: Must be a lowercase string (e.g., 'sum'), NOT an enum (e.g., #SUM). Using an enum will cause SQL generation errors.

Chart

UI.Chart #AnalyticalChart: {
  $Type: 'UI.ChartDefinitionType',
  Title: 'Chart Title',
  ChartType: #Column,
  Dimensions: [Category],
  DynamicMeasures: ['@Analytics.AggregatedProperty#Amount_avg'],
  MeasureAttributes: [{
    $Type: 'UI.ChartMeasureAttributeType',
    DynamicMeasure: '@Analytics.AggregatedProperty#Amount_avg',
    Role: #Axis1
  }],
  DimensionAttributes: [{
    $Type: 'UI.ChartDimensionAttributeType',
    Dimension: Category,
    Role: #Category
  }]
},
UI.PresentationVariant #ChartView: {
  $Type: 'UI.PresentationVariantType',
  Text: 'Chart View',
  Visualizations: ['@UI.Chart#AnalyticalChart']
},
UI.PresentationVariant #TableView: {
  $Type: 'UI.PresentationVariantType',
  Text: 'Table View',
  Visualizations: ['@UI.LineItem']
}

Read the full file on GitHub · 362 lines

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. 4d ago Changed · +33 lines 7eac93a2176c
  2. 13d ago First seen · 329 lines · 40 tokens per session scan A 79b0ba700043

Subscribe to this mod's changes

sap-fiori-analytical-chart is a skill published in the GitHub repository SAP/open-ux-tools (158 stars, last pushed today), licensed Apache-2.0. It adds 40 tokens to every session and 2,548 once invoked, about $0.0002 per session on Opus 5. 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-08-30.

Related

Other skills, from other repositories

fix-xml-globals

Fix XML view/fragment issues that UI5 linter reports but cannot auto-fix. Use this skill when linter outputs these rules: no-globals - For ALL global variable access in XML views — sap., jQuery., AND app-namespace globals (e.g., com.example.app.utils.Handler.onPress, my.app.formatter.method) no-ambiguous-event-handler…

UI5/plugins-coding-agents · 231 tokens

fix-linter-blind-spots

Fix runtime-breaking patterns in JS files that the UI5 linter does NOT report. Use this skill when: Tests fail after modernization with "ReferenceError", "TypeError: Cannot read properties of undefined", or "X is not defined" The linter shows zero remaining errors but tests still crash at runtime Phase 3, Step 3.2 of…

UI5/plugins-coding-agents · 234 tokens

modernize-flp-sandbox

Use when migrating UI5 apps from legacy FLP sandbox to the new sandbox (New Sandbox). Triggers on /modernize-flp-sandbox, mentions of "flpSandbox.html", "sap-ushell-config", or requests to update sandbox configuration.

UI5/plugins-coding-agents · 58 tokens

fix-control-renderer

Fix Control renderer issues that UI5 linter reports but cannot auto-fix. Use this skill when linter outputs these rules: no-deprecated-control-renderer-declaration - For missing renderer declaration, string-based renderer declaration, implicit renderer auto-discovery (removed in modern UI5) no-deprecated-api - For…

UI5/plugins-coding-agents · 196 tokens

fix-deprecated-controls

Fix deprecated control/class/interface/type issues that UI5 linter reports but cannot auto-fix. Use this skill when linter outputs: no-deprecated-api with messages about deprecated class, interface, type, property, or property of class Messages like "Use of deprecated class '...'", "Use of deprecated interface '...'"…

UI5/plugins-coding-agents · 175 tokens

fix-fiori-elements-extensions

Handle Fiori Elements V2 controller extensions during UI5 modernization. Use this skill when: Extension controllers use sap.ui.controller() AND the manifest has a matching controllerName entry (Case B → report only, do not modernize) Extension controllers use Controller.extend() with manifest controllerName…

UI5/plugins-coding-agents · 204 tokens