abap-performance-hana

abap-performance-hana is a skill for Claude Code from marcellourbani/vscode_abap_remote_fs. It costs 0 tokens per session (2,512 once invoked), scanned A, original, MIT.

Performance guidance for ABAP programs running on SAP S/4HANA or the HANA database, which stores and processes data in memory using a column-based design.

In plain words
What is it for?
Use it when writing or reviewing ABAP code for HANA systems, especially code involving database queries, joins, calculations, grouping, or large datasets.
Why use it?
It helps avoid moving large amounts of data into ABAP when HANA can filter, join, sort, or aggregate it more efficiently.

Skill for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter.

Good fit Use it when writing or reviewing ABAP code for HANA systems, especially code involving database queries, joins, calculations, grouping, or large datasets.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/marcellourbani/vscode_abap_remote_fs/abap-performance-hana
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 marcellourbani/vscode_abap_remote_fs --skill abap-performance-hana
Clone the repo
git clone --depth 1 https://github.com/marcellourbani/vscode_abap_remote_fs

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 abap-performance-hana

README.md
[![agentmods](https://agentmods.dev/badge/skills/marcellourbani/vscode_abap_remote_fs/abap-performance-hana/github.svg)](https://agentmods.dev/skills/marcellourbani/vscode_abap_remote_fs/abap-performance-hana)
Your own site
<a href="https://agentmods.dev/skills/marcellourbani/vscode_abap_remote_fs/abap-performance-hana"><img src="https://agentmods.dev/badge/skills/marcellourbani/vscode_abap_remote_fs/abap-performance-hana/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 abap-performance-hana

Your own site · 80×15
<a href="https://agentmods.dev/skills/marcellourbani/vscode_abap_remote_fs/abap-performance-hana"><img src="https://agentmods.dev/badge/skills/marcellourbani/vscode_abap_remote_fs/abap-performance-hana.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,512 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
  • 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.00000 $0.02512
Opus 5 $0.00000 $0.01256
Sonnet 5 $0.00000 $0.00502
Haiku 4.5 $0.00000 $0.00251

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

Security

Grade A, and why

abap-performance-hana 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 12d 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.

client/media/skills/abap-performance-hana/SKILL.md · 273 lines

How it starts

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

ABAP Performance — S/4HANA / HANA Database

These rules apply to SAP S/4HANA systems or any ABAP system running on HANA DB.

Before using this skill: Call the SAP system info tool. If the system is ECC on a traditional DB, use the abap-performance-ecc skill instead.

Core philosophy on HANA: Push data-intensive operations to the database. HANA is a columnar in-memory DB optimized for set-based operations, aggregations, and complex SQL. Let it do the heavy lifting. Keep ABAP for business logic, authorization, and exception handling.


Code Pushdown — The #1 Rule

Move data-intensive operations to the database layer.

Push down to HANA:

  • Aggregations (SUM, COUNT, AVG, MIN, MAX)
  • Filtering (WHERE clauses — the more selective, the better)
  • Sorting (ORDER BY)
  • JOINs (HANA handles complex multi-table JOINs efficiently)
  • String operations and arithmetic in SQL
  • CASE expressions / conditional logic on data
  • Grouping and HAVING
  • Window functions (OVER/PARTITION BY)
  • UNION / INTERSECT / EXCEPT

Keep in ABAP:

  • Complex business logic with many branches
  • Authority checks, messages, exceptions
  • Small dataset processing where pushdown overhead exceeds benefit
  • Operations requiring ABAP runtime features (RFC calls, file I/O, etc.)

Avoid:

  • Reading all rows to ABAP and filtering/aggregating in loops
  • Using internal tables as intermediate storage for what SQL can do in one statement
  • Multiple sequential SELECTs that could be a single JOIN

Database Access

SELECT Patterns

  • Select only the fields you need. Never SELECT * in production.

    SELECT matnr, maktx FROM mara INTO TABLE @DATA(itab).
    
  • Always use a WHERE clause. Always use @ escaped host variables.

  • Use JOINs aggressively — HANA handles complex JOINs very well, even 5+ tables.

    SELECT m~matnr, t~maktx, p~werks, p~ekgrp
      FROM mara AS m
      INNER JOIN makt AS t ON t~matnr = m~matnr AND t~spras = @sy-langu
      INNER JOIN marc AS p ON p~matnr = m~matnr
      LEFT OUTER JOIN mvke AS s ON s~matnr = m~matnr
      WHERE m~mtart = @material_type
      INTO TABLE @DATA(materials).
    

Read the full file on GitHub · 273 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. 12d ago First seen · 273 lines · 0 tokens per session scan A a6bbc491896b

Subscribe to this mod's changes

abap-performance-hana is a skill published in the GitHub repository marcellourbani/vscode_abap_remote_fs (390 stars, last pushed 3d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 2,512 tokens. 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

sap-abap-cds

Comprehensive SAP ABAP CDS (Core Data Services) reference for data modeling, view development, and semantic enrichment. Use when creating CDS views or view entities, defining data models with annotations, working with associations and cardinality, implementing input parameters, using built-in functions, writing CASE…

secondsky/sap-skills · 113 tokens

no-bare-casts

Writing as in TypeScript or TSX production code, modifying a file that contains a bare as cast, silencing a type error with a cast, encountering as unknown as, or reviewing a cast site.

prisma/orm · 52 tokens

ast-grep

Guide for writing ast-grep rules to perform structural code search and analysis. Use when users need to search codebases using Abstract Syntax Tree (AST) patterns, find specific code structures, or perform complex code queries that go beyond simple text search. This skill should be used when users ask to search for…

JanDeDobbeleer/oh-my-posh · 80 tokens

azure-resource-manager-postgresql-dotnet

Azure PostgreSQL Flexible Server SDK for .NET. Database management for PostgreSQL Flexible Server deployments. Use for creating servers, databases, firewall rules, configurations, backups, and high availability. Triggers: "PostgreSQL", "PostgreSqlFlexibleServer", "PostgreSQL Flexible Server", "Azure Database for…

microsoft/skills · 97 tokens

azure-data-tables-java

Build table storage applications with Azure Tables SDK for Java. Use when working with Azure Table Storage or Cosmos DB Table API for NoSQL key-value data, schemaless storage, or structured data at scale.

microsoft/skills · 47 tokens

azure-cosmos-java

Azure Cosmos DB SDK for Java. NoSQL database operations with global distribution, multi-model support, and reactive patterns. Triggers: "CosmosClient java", "CosmosAsyncClient", "cosmos database java", "cosmosdb java", "document database java".

microsoft/skills · 59 tokens