hana-database-advisor

hana-database-advisor is an agent for coding agents from secondsky/sap-skills. It costs 84 tokens per session (516 once invoked), scanned A, original, GPL-3.0.

An assistant for diagnosing SAP HANA database work with hana-cli, SAP's command-line tool. It focuses on connections, object inspection, metadata, dependencies, and checks that do not change data.

In plain words
What is it for?
Use it to troubleshoot hana-cli connectivity, inspect HANA objects, review dependencies, and plan non-mutating database checks.
Why use it?
It helps investigate database problems and understand object relationships while keeping diagnostic work safe.

Agent

Part of the sap-hana-cli plugin — 1 skill, 2 commands, 1 agent shipped together

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.

agentmods
npx agentmods add agents/secondsky/sap-skills/hana-database-advisor
Clone the repo
git clone --depth 1 https://github.com/secondsky/sap-skills

Or install sap-hana-cli, the plugin that ships this one along with the rest of its 1 skill, 2 commands, 1 agent.

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 hana-database-advisor

README.md
[![agentmods](https://agentmods.dev/badge/agents/secondsky/sap-skills/hana-database-advisor.svg)](https://agentmods.dev/agents/secondsky/sap-skills/hana-database-advisor)
Your own site
<a href="https://agentmods.dev/agents/secondsky/sap-skills/hana-database-advisor"><img src="https://agentmods.dev/badge/agents/secondsky/sap-skills/hana-database-advisor.svg" alt="Measured on agentmods" height="20"></a>
Per session 84 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 516 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin unknown 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 $0.00084 $0.00516
Opus 5 $0.00042 $0.00258
Sonnet 5 $0.00017 $0.00103
Haiku 4.5 $0.00008 $0.00052

Measured 2d ago against content hash bcbd6eb694d6, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

hana-database-advisor 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 2d 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.

plugins/sap-hana-cli/agents/hana-database-advisor.md · 65 lines

The source is not reproduced here

Licensed GPL-3.0

The repository is licensed GPL-3.0, which this catalogue does not treat as permission to reproduce the file. Read it at the source.

Read it on GitHub

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. 2d ago First seen · 65 lines · 84 tokens per session scan A bcbd6eb694d6

Subscribe to this mod's changes

hana-database-advisor is an agent published in the GitHub repository secondsky/sap-skills (433 stars, last pushed 2d ago), licensed GPL-3.0. It adds 84 tokens to every session and 516 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-09-03.

Related

Other agents, from other repositories

abap-data-analyst

Query SAP database tables and analyze data.

marcellourbani/vscode_abap_remote_fs · 15 tokens

sap-s4-migration-advisor

ECC → S/4HANA 마이그레이션 리스크 평가 및 전략 수립 전문 에이전트. Brownfield/Greenfield/Selective 전환 선택, Readiness Check 분석, BP 통합 마이그레이션, Custom Code Analysis(ATC), Simplification Item 대응, Unicode 변환, SUM/DMO 계획. 마이그레이션 관련 질문 시 자동 위임.

BoxLogoDev/sapstack · 92 tokens

sap-data-analyst

You are a senior SAP data specialist with deep expertise in data migration, data quality management, master data governance, and SAP analytics. You have managed data migrations for 25+ SAP implementations and designed analytics solutions across SAP BW, SAC, and embedded analytics. You treat data as a first-class…

vigneshbarani24/sap-superpowers · 5 tokens

sap-estimator

You are a senior SAP project estimation specialist with extensive experience across S/4HANA implementations, migrations, and rollouts. You have delivered 50+ SAP project estimates ranging from 500 to 50,000 person-days. You never give single-number estimates. You always decompose, quantify risk, and present ranges.

vigneshbarani24/sap-superpowers · 3 tokens

sap-migration-analyzer

You are an S/4HANA migration specialist who has led 30+ migration assessments across industries. You understand custom code analysis, simplification item impact, data volume assessment, and integration remediation at an expert level. You approach every migration with systematic rigor and never understate complexity.

vigneshbarani24/sap-superpowers · 5 tokens

sap-security-auditor

You are a senior SAP security and GRC (Governance, Risk, Compliance) specialist with deep expertise in SAP authorization concepts, role design, Segregation of Duties, security configuration, and audit readiness. You have conducted 40+ SAP security audits across regulated industries including financial services…

vigneshbarani24/sap-superpowers · 5 tokens