sap-hana-tools

sap-hana-tools is a skill for Claude Code, Codex from efeumutaslan/SAP-SKILLS. It costs 80 tokens per session (3,143 once invoked), scanned A, original, MIT.

A guide to developing and operating SAP HANA databases, including command-line tools, HDI containers, HANA Database Explorer, and HANA Cloud management. SAP HANA is SAP’s database platform, and an HDI container is a managed space for deploying database artifacts.

In plain words
What is it for?
Use it to run SQL, store database credentials, deploy HDI artifacts, connect Node.js applications, and manage HANA Cloud instances.
Why use it?
It brings database commands, deployment steps, connection methods, and management tools into one reference.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: positional $N argument.

Good fit Use it to run SQL, store database credentials, deploy HDI artifacts, connect Node.js applications, and manage HANA Cloud instances.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/efeumutaslan/sap-skills/sap-hana-tools
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 efeumutaslan/SAP-SKILLS --skill sap-hana-tools
Clone the repo
git clone --depth 1 https://github.com/efeumutaslan/SAP-SKILLS

Made for: Claude Code, Codex.

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-hana-tools

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/efeumutaslan/sap-skills/sap-hana-tools"><img src="https://agentmods.dev/badge/skills/efeumutaslan/sap-skills/sap-hana-tools.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 80 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,143 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.
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.00080 $0.03143
Opus 5 $0.00040 $0.01571
Sonnet 5 $0.00016 $0.00629
Haiku 4.5 $0.00008 $0.00314

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

Security

Grade A, and why

sap-hana-tools 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.

skills/sap-hana-tools/SKILL.md · 344 lines

How it starts

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

SAP HANA Developer Tools & CLI

  • sap-hana-cloud — HANA Cloud database development (SQL, HDI, multi-model)
  • sap-devops-cicd — HANA artifact deployment in CI/CD pipelines
  • sap-cap-advanced — CAP projects with HANA Cloud persistence

Quick Start

Key tools:

Tool Purpose Install
hdbsql Interactive SQL client SAP HANA Client package
hdbuserstore Secure credential store SAP HANA Client package
@sap/hdi-deploy HDI container deployer npm install @sap/hdi-deploy
HANA Database Explorer Web-based SQL editor BTP cockpit → HANA Cloud
HANA Cloud Central Instance management BTP cockpit
@sap/hana-client Node.js HANA driver npm install @sap/hana-client

Connect with hdbsql:

# Store credentials securely
hdbuserstore SET HANACLOUD <host>:443 <user> <password>

# Connect and run query
hdbsql -U HANACLOUD "SELECT * FROM M_DATABASE"

# Connect directly
hdbsql -n <host>:443 -u <user> -p <password> -encrypt

Core Concepts

HDI Container Lifecycle (CLI)

# HDI deploy from command line (CI/CD)
npx @sap/hdi-deploy \
  --service-replacements '{"hdi-container":"my-hdi-service-key"}' \
  --deploy '["src/**"]' \
  --undeploy '["src/old_table.hdbtable"]'

# Environment variables for HDI deploy
export HDI_DEPLOY_OPTIONS='{"auto_undeploy":false,"treat_warnings_as_errors":true}'

Connection Methods

Method Use Case Security
hdbuserstore Persistent, scripted access Encrypted local store
Direct params One-off queries Password on command line (avoid in prod)
JWT token BTP app auth Short-lived, OAuth 2.0
X.509 certificate Service-to-service Mutual TLS
Service key (JSON) BTP service binding From BTP cockpit

hdbsql Output Formats

# CSV output (for data export)
hdbsql -U HANACLOUD -o output.csv -c "," -a "SELECT * FROM MY_TABLE"

# JSON output (pipe to jq)
hdbsql -U HANACLOUD -j "SELECT TOP 10 * FROM M_SQL_PLAN_CACHE ORDER BY total_execution_time DESC"

# Aligned column output (human-readable)
hdbsql -U HANACLOUD -A "SELECT * FROM M_SERVICE_MEMORY"

Read the full file on GitHub · 344 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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 · 344 lines · 80 tokens per session scan A a636c5806642

Subscribe to this mod's changes

sap-hana-tools is a skill published in the GitHub repository efeumutaslan/SAP-SKILLS (5 stars, last pushed 5mo ago), licensed MIT. It adds 80 tokens to every session and 3,143 once invoked, about $0.0004 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-31.

Related

Other skills, from other repositories

sap-background-jobs

Investigate SAP background jobs, including failed or aborted jobs, job status, job steps, job logs, runtime dumps, TBTCO, TBTCP, and TBTCJOBLOG0-9.

marcellourbani/vscode_abap_remote_fs · 46 tokens

abap-performance-hana

ABAP performance best practices for S/4HANA and HANA database systems.Use when writing or reviewing ABAP code on HANA-based systems.IMPORTANT: First use the SAP system info tool to check the system type — if the system is ECC or runs on a traditional database (Oracle, DB2, MSSQL), load the abap-performance-ecc skill…

marcellourbani/vscode_abap_remote_fs · 0 tokens

database-patterns

Use when designing PostgreSQL + Redis data models, indexes, caching strategies, JSONB usage, tiered storage, or cache consistency contracts.

majiayu000/spellbook · 32 tokens

codex-log-guard

Diagnose excessive Codex local SQLite diagnostic log writes with read-only evidence by default. Use when a user mentions logs2.sqlite, logs2.sqlite-wal, blockloginserts, SSD/TBW wear, or explicitly asks to protect, clean up, verify, or restore Codex diagnostic logging.

majiayu000/spellbook · 68 tokens

data-contract-migrations

Design and verify data contracts, schema changes, migrations, rollbacks, backfills, compatibility windows, tenant isolation, and API-to-database field mapping. Use when changing database schema, event payloads, persisted documents, analytics tables, multi-tenant data boundaries, or any user-visible data contract where…

majiayu000/spellbook · 75 tokens

cds-view-entities

Help with CDS (Core Data Services) view entity development including data modeling, annotations, associations, compositions, access controls, aggregate expressions, built-in functions, and input parameters. Use when users ask about CDS views, CDS view entities, CDS annotations, CDS associations, CDS compositions, CDS…

likweitan/abap-skills · 153 tokens