sap-sqlscript

sap-sqlscript is a skill for Claude Code, Codex from secondsky/sap-skills. It costs 138 tokens per session (3,973 once invoked), scanned A, original, GPL-3.0.

A guide for writing SQLScript, SAP HANA's SQL-based language for database procedures, functions, and table functions.

In plain words
What is it for?
Use it to create or debug HANA procedures, write table functions, optimize SQLScript, and work in a browser-based Datasphere SQL editor.
Why use it?
It helps with the database-specific syntax, errors, exceptions, performance work, and AMDP methods that standard SQL knowledge may not cover.

Skill for Claude CodeCodex

Part of the sap-sqlscript plugin — 1 skill, 4 commands, 3 agents 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 skills/secondsky/sap-skills/sap-sqlscript
Any agent
npx skills add secondsky/sap-skills --skill sap-sqlscript
Clone the repo
git clone --depth 1 https://github.com/secondsky/sap-skills

Made for: Claude Code, Codex.

Or install sap-sqlscript, the plugin that ships this one along with the rest of its 1 skill, 4 commands, 3 agents.

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-sqlscript

README.md
[![agentmods](https://agentmods.dev/badge/skills/secondsky/sap-skills/sap-sqlscript.svg)](https://agentmods.dev/skills/secondsky/sap-skills/sap-sqlscript)
Your own site
<a href="https://agentmods.dev/skills/secondsky/sap-skills/sap-sqlscript"><img src="https://agentmods.dev/badge/skills/secondsky/sap-skills/sap-sqlscript.svg" alt="Measured on agentmods" height="20"></a>
Per session 138 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,973 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.00138 $0.03973
Opus 5 $0.00069 $0.01987
Sonnet 5 $0.00028 $0.00795
Haiku 4.5 $0.00014 $0.00397

Measured yesterday against content hash 776a5ec453e8, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

sap-sqlscript 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 yesterday.

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-sqlscript/skills/sap-sqlscript/SKILL.md · 608 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. yesterday First seen · 608 lines · 138 tokens per session scan A 776a5ec453e8

Subscribe to this mod's changes

sap-sqlscript is a skill published in the GitHub repository secondsky/sap-skills (433 stars, last pushed yesterday), licensed GPL-3.0. It adds 138 tokens to every session and 3,973 once invoked, about $0.0007 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 skills, from other repositories

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

abap-sql-amdp

Help with modern ABAP SQL features and AMDP (ABAP Managed Database Procedures) including inline declarations, window functions, GROUP BY, HAVING, PRIVILEGED ACCESS, string functions, aggregate expressions, common table expressions (CTE), AMDP classes, AMDP procedures, AMDP table functions, CDS table functions, and…

likweitan/abap-skills · 201 tokens

migration-patterns

Zero-downtime DB migrations: expand-contract, double-write, backfill, blue-green. Triggers: migration, schema change, backfill, ALTER TABLE, online DDL.

softspark/ai-toolkit · 41 tokens

btp-diagram-generator

Generate SAP BTP (Business Technology Platform) solution architecture diagrams as native draw.io (.drawio) files following the official SAP BTP Solution Diagram guidelines (Fiori Horizon design system) and open them via a configured draw.io MCP server. USE WHEN: user asks to create/draw/design/sketch a BTP diagram…

likweitan/abap-skills · 178 tokens

abapgit

Help with abapGit workflows including repository setup, cloning, serialization, branching strategies, transport-vs-git workflows, CI/CD integration, and .abapgit.xml configuration. Use when users ask about abapGit, git for ABAP, ABAP version control, abapGit clone, abapGit pull, abapGit push, branching strategy for…

likweitan/abap-skills · 165 tokens

authorization-iam

Help with ABAP authorization and IAM (Identity and Access Management) including authorization objects, authorization checks, IAM apps, business catalogs, business roles, restriction types, CDS access control (DCL), privilege access annotations, and role-based access in ABAP Cloud and on-premise. Use when users ask…

likweitan/abap-skills · 163 tokens