sap-sql-query

sap-sql-query is a skill for Claude Code from sapdev-ai/sap-dev. It costs 312 tokens per session (2,208 once invoked), scanned A, original, GPL-3.0.

A read-only tool for running one database query that joins or summarizes data from SAP through RFC, SAP's remote-call interface.

In plain words
What is it for?
It handles requests such as joining sales-order headers with items or grouping open orders by plant and credit block, and returns tab-separated results with their source details.
Why use it?
It avoids exporting several single tables and matching them manually in a spreadsheet.

Skill for Claude Code

Written for Claude Code: argument-hint in frontmatter.

Part of the sap-dev-core plugin — 61 skills, 1 agent shipped together

Good fit It handles requests such as joining sales-order headers with items or grouping open orders by plant and credit block, and returns tab-separated results with their source details.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/sapdev-ai/sap-dev/sap-sql-query
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 sapdev-ai/sap-dev --skill sap-sql-query
Clone the repo
git clone --depth 1 https://github.com/sapdev-ai/sap-dev

Made for: Claude Code.

Or install sap-dev-core, the plugin that ships this one along with the rest of its 61 skills, 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 sap-sql-query

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/sapdev-ai/sap-dev/sap-sql-query"><img src="https://agentmods.dev/badge/skills/sapdev-ai/sap-dev/sap-sql-query.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 312 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,208 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 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.1 $0.00312 $0.02208
Opus 5.5 $0.00125 $0.00883
Sonnet 5.5 $0.00062 $0.00442
Haiku 4.5 $0.00031 $0.00221

Measured 1mo ago against content hash e9347e322349, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

sap-sql-query 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.

The scan reads SKILL.md. This mod also ships 4 executable files (references/sap_sql_query_exec.ps1, references/sap_sql_query_lowfi.ps1, references/sap_sql_query_parse.ps1, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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-dev-core/skills/sap-sql-query/SKILL.md · 141 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. 1mo ago First seen · 141 lines · 312 tokens per session scan A e9347e322349

Subscribe to this mod's changes

sap-sql-query is a skill published in the GitHub repository sapdev-ai/sap-dev (8 stars, last pushed 1mo ago), licensed GPL-3.0. It adds 312 tokens to every session and 2,208 once invoked, about $0.0012 per session on Opus 5.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

add-sample-data

Use when the user wants to seed Dataverse tables with realistic sample records so a freshly-scaffolded code app shows real-looking data on first launch. Generates contextually appropriate rows from each table's schema and inserts them in dependency order. Mirrors…

microsoft/power-platform-skills · 72 tokens

ecto-patterns

Use when a task touches Ecto, even a how-to question: schemas, changesets, validations, queries, preloads, Multi, migrations, constraints, money fields. Load it before writing Ecto code. Skip for Ash.

oliver-kriska/claude-elixir-phoenix · 51 tokens

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

bun-redis

Use when working with Redis in Bun (ioredis, Upstash), caching, pub/sub, session storage, or key-value operations.

secondsky/claude-skills · 32 tokens

bun-sqlite

Use for bun:sqlite, SQLite operations, prepared statements, transactions, and queries.

secondsky/claude-skills · 22 tokens