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,572 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,572 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.02572
Opus 5.5 $0.00000 $0.01029
Sonnet 5.5 $0.00000 $0.00514
Haiku 4.5 $0.00000 $0.00257

Measured 1mo ago against content hash e5d808201bf9, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 1mo 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 · 275 lines

How it starts

The opening of the file, as written. The whole thing — 275 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 writing, optimizing, or reviewing ABAP code, read the abap-code-review-helper skill in full (skip if skill is unavailable), unless its complete contents are already available in your current context. Preserve its correctness safeguards; an optimization must not change result semantics. Keep passed checks internal.

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).
    

Read the full file on GitHub · 275 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. 1mo ago Changed e5d808201bf9
  2. 1mo ago Changed · +2 lines 69b36da8c0a5
  3. 1mo 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 (402 stars, last pushed yesterday), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 2,572 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

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

efcore-patterns

Entity Framework Core best practices including NoTracking by default, query splitting for navigation collections, migration management, dedicated migration services, and common pitfalls to avoid.

Aaronontheweb/dotnet-skills · 35 tokens

redux-to-swr

Migrate React components from Redux + Saga to SWR hooks. Use when converting data fetching from Redux store (reducers, sagas, selectors, connect HOC) to SWR-based hooks in CockroachDB DB Console or cluster-ui.

cockroachdb/cockroach · 53 tokens