Skip to content
Skill

Performance tuning

Guides measurement-first diagnosis and tuning of slow SAP transactions and ABAP code

Performance tuning is an open-source agent skill for developer tools. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

Scripts
None
Platforms
Claude Code, Codex, Cursor
GitHub stars
14
Last commit
License
MIT
Listing updated

Similar skills

About Performance tuning

This skill walks an agent through diagnosing SAP performance problems in a measurement-first order: record a baseline over several runs, collect runtime and SQL trace data, then pinpoint a single bottleneck before touching any code. It covers the standard SAP tools for this work, including SAT for ABAP runtime analysis, ST05 for SQL traces, ST02 for buffer statistics, the system performance monitor and SM50/SM66 for process checks.

The skill sorts bottlenecks into categories such as SQL, ABAP logic, memory and locking, and matches each category to a specific fix, for example replacing selects inside loops, choosing a better internal table type, or processing large result sets in packages. It insists on changing one thing at a time, re-measuring after each change, and validating at production-like data volume, with a report template that captures before and after metrics.

It expects an SAP system with access to these transactions and a representative data set. The skill ends by handing off to code review and then to the standard transport path.

When your agent uses it

Use when diagnosing or resolving SAP performance problems — slow transactions, long-running batch jobs, expensive SQL, HANA resource issues, or general ABAP runtime bottlenecks.

From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.

What it can access

From a static check of its 1 file (17 KB) on GitHub on 3 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.

Check another skill before you install it.

Install

This skill ships in the sap-superpowers plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

/plugin marketplace add vigneshbarani24/sap-superpowers
/plugin install sap-superpowers@sap-superpowers

Or copy only this skill to ~/.claude/skills/performance-tuning:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/vigneshbarani24/sap-superpowers.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/performance-tuning &&
cp -R "$tmp/skills/development/performance-tuning" ~/.claude/skills/performance-tuning &&
rm -rf "$tmp"

For one project only, put the folder in .claude/skills/performance-tuning inside it instead.

Claude Code docs on skills

Copy the skill folder to ~/.agents/skills/performance-tuning to use it in every repository:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/vigneshbarani24/sap-superpowers.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/performance-tuning &&
cp -R "$tmp/skills/development/performance-tuning" ~/.agents/skills/performance-tuning &&
rm -rf "$tmp"

For one repository only, put the folder in .agents/skills/performance-tuning inside it instead.

Codex docs on skills

Copy the skill folder to ~/.cursor/skills/performance-tuning to use it in every project:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/vigneshbarani24/sap-superpowers.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/performance-tuning &&
cp -R "$tmp/skills/development/performance-tuning" ~/.cursor/skills/performance-tuning &&
rm -rf "$tmp"

For one project only, put the folder in .cursor/skills/performance-tuning inside it instead.

Cursor docs on skills

Run in a terminal (add --scope workspace to install it for the current workspace only):

gemini skills install https://github.com/vigneshbarani24/sap-superpowers.git --path skills/development/performance-tuning

Or copy the folder to ~/.gemini/skills/performance-tuning yourself.

Gemini CLI docs on skills

For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/performance-tuning:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/vigneshbarani24/sap-superpowers.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/performance-tuning &&
cp -R "$tmp/skills/development/performance-tuning" ~/.copilot/skills/performance-tuning &&
rm -rf "$tmp"

For one project only, put the folder in .github/skills/performance-tuning inside it instead.

VS Code docs on skills

Get the folder:

git clone --depth 1 https://github.com/vigneshbarani24/sap-superpowers.git

Then copy sap-superpowers/skills/development/performance-tuning into your agent's skills folder as performance-tuning. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

Baseline measurement first
Records repeated run times and median values before any change is made.
ABAP runtime analysis
Uses SAT traces to rank the top time consumers by gross and net time.
SQL trace review
Checks ST05 output for full table scans, repeated statements and fetch volume.
Bottleneck categorisation
Sorts problems into SQL, ABAP logic, memory, locking or system resource causes.
Targeted optimisation techniques
Matches each bottleneck type to a specific fix such as FOR ALL ENTRIES or package-size reads.
Production volume validation
Requires testing at realistic data volumes or documenting the extrapolation risk.
Performance report template
Provides a structured report covering baseline, changes, post-change metrics and transport.

Good for

  • Find out why a month-end batch job takes hours to finish
  • Diagnose a slow SAP transaction using runtime and SQL traces
  • Remove a SELECT inside a loop that hits the database thousands of times
  • Choose the right internal table type for a lookup-heavy ABAP report
  • Write a performance report with before and after measurements for a transport

Performance tuning FAQ

When does Performance tuning trigger?

It is meant for diagnosing or resolving SAP performance problems such as slow transactions, long-running batch jobs, expensive SQL, HANA resource issues or general ABAP runtime bottlenecks.

Which SAP tools does Performance tuning rely on?

It references SAT, ST05, ST02, the system performance monitor /SDF/MON, and SM50 and SM66 for process checks.

Does Performance tuning change code automatically?

No. It instructs the agent to measure first, identify a specific bottleneck and then apply one change at a time, with the changes documented in a report.

What happens after the optimisation work?

The skill hands off to the code-review skill, then to the standard DEV, QAS and PRD transport path.

How do I install Performance tuning in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/performance-tuning to use it in all your projects, or to .claude/skills/performance-tuning in one project. Or install the sap-superpowers plugin, which includes it: /plugin marketplace add vigneshbarani24/sap-superpowers, then /plugin install sap-superpowers@sap-superpowers.

Does Performance tuning run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

Which AI agents can use Performance tuning?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

What are the best alternatives to Performance tuning?

The closest alternatives to Performance tuning are Performance audit edho ferdian, Optimize, Performance reasoning, Testing strategy and Clean core processes.

Where this comes from

  • Description: from the skill's own SKILL.md.

More from vigneshbarani24/sap-superpowers

  1. Category folder grouping nine SAP consulting sub-skills in SAP Superpowers

    • Open source
    • 14 GitHub stars
    • Enterprise it
  2. Structured SAP solution ideation with SAP standard checks, feasibility and prioritization

    • Open source
    • 14 GitHub stars
    • Developer tools
  3. Guides an agent through SAP change management: stakeholders, readiness, comms, training

    • Open source
    • 14 GitHub stars
    • Productivity
  4. Runs a structured Socratic interview to turn vague SAP project ideas into complete

    • Open source
    • 14 GitHub stars
    • Developer tools
  5. Produces range-based SAP effort estimates with work breakdown, risk buffers and timelines

    • Open source
    • 14 GitHub stars
    • Productivity
  6. Classifies SAP business requirements as fit, gap or partial fit for an Explore phase

    • Open source
    • 14 GitHub stars
    • Productivity