Skip to main content
skill CX Codex

sap-sqlscript — Claude Code skill for SQLScript, AMDP, HANA

A skill with SQLScript patterns for HANA procedures, functions, and AMDP methods. It helps an agent write database-layer code without hunting through SAP docs.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add secondsky/sap-skills --skill sap-sqlscript -a claude-code
Open on GitHub

What sap-sqlscript does

The skill covers the SQLScript syntax an agent needs most: anonymous blocks, stored procedures, scalar and table functions, table types, cursors, and exception handlers. It also explains the language quirks that trip people up — variables take a colon when referenced, statements end with semicolons, and everything is case-insensitive.

A section on AMDP shows how to call HANA procedures from ABAP. The guide stresses the code-to-data paradigm: push computation into the database instead of moving data to the application layer. Imperative logic runs sequentially and blocks parallel execution, so performance-sensitive code should stay declarative where possible.

For the browser-based Datasphere editor, the skill delegates to sap-browser-automation, which handles manual authentication, Edge startup with CDP, and approved screenshots. CDP inspection is limited to local UI diagnostics; actual database validation belongs in SQL/HANA tooling. Version 2.4.1, no live HANA runtime evidence — documentation and community references only.

What it helps with

  • write a stored procedure with IN, OUT, and INOUT parameters
  • implement an AMDP method that calls a HANA procedure from ABAP
  • handle SQLScript exceptions with EXIT HANDLER
  • spot imperative logic that blocks parallel execution
  • get variable and table declaration syntax right

Example prompts for the agent

  • write a SQLScript procedure that counts records by status
  • create a table function that returns employees with a filter
  • show an AMDP method example that calls a HANA procedure

How to install sap-sqlscript

1Skills CLI (Vercel)

npx skills add secondsky/sap-skills --skill sap-sqlscript -a claude-code

2Manually: put the files in place

~/.claude/skills/sap-sqlscript/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/sap-sqlscript/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about sap-sqlscript

How do I install sap-sqlscript in Claude Code?

Run npx skills add secondsky/sap-skills --skill sap-sqlscript -a claude-code. The skill lands in ~/.claude/skills/sap-sqlscript/SKILL.md.

What does sap-sqlscript do?

It gives the agent a reference for SQLScript: procedure and function syntax, cursors, exception handling, and AMDP. The goal is code that runs inside the HANA database.

Can I debug the Datasphere editor with this skill?

The skill points you to sap-browser-automation for the browser-based Datasphere editor. CDP is for local UI inspection only; database validation stays with SQL/HANA tooling.

Similar skills

All skills for Data and databases →
sap-fiori-app-development sap-fiori-tools A skill that tells the agent how to build SAP Fiori Elements apps: List Report, Object Page, Worklist, wired to CAP or an OData service. CX Codex +1 595installs sap-fiori-add-visual-filter sap-fiori-tools Adds chart-based visual filters to SAP Fiori Elements filter bars and value help dialogs using CAP or ABAP RAP. Configures CDS aggregation annotations and UI charts. CX Codex +1 601installs xlsx official anthropics Creates, reads, edits, and converts spreadsheet files. Use it when the requested deliverable is an Excel workbook or another tabular file. 187,223installs google-agents-cli-observability official Google This skill guides you through tracing and monitoring AI agents, including ADK agents. Use it when you need to inspect agent execution or monitor a deployed agent. CX Codex +1 511,300installs caveman-evidence-review JuliusBrussee A read-only skill reviews Caveman Cloud evidence on LLM spend, traces, and routing. Use it to see where a project’s model budget goes. CX Codex +1 104,500installs migration JuliusBrussee Enforces reversible, compatibility-safe transitions for schema, data, and API updates. Useful whenever data loss or rollout downtime is unacceptable. CX Codex +1 103,900installs performance-optimization addyosmani An agent skill that measures before it changes code: Core Web Vitals budgets, N+1 queries, missing indexes and slow endpoints. CX Codex +1 65,200installs supabase official supabase Guides the agent through database configuration and strict RLS policies in Supabase. CX Codex GP ChatGPT 8installs

From the same set20

sap-btp-cloud-logging Guides SAP Cloud Logging setup on SAP BTP, from Cloud Foundry and Kyma ingestion to OpenSearch dashboards. CX Codex +1 851installs sap-api-style Guides developers in documenting REST, OData, and native code APIs using SAP API Style Guide rules. Useful when preparing specs for SAP API Business Hub. CX Codex +1 785installs sap-ai-core Guides development of machine learning and generative pipelines on SAP BTP. Useful when configuring model endpoints, grounding flows, or prompt filters. CX Codex +1 723installs sap-hana-cli This skill teaches your agent to drive hana-cli: inspect tables and views, run SQL, manage HDI containers, and export metadata to CDS, EDMX or OpenAPI. CX Codex +1 717installs sapui5 A skill that helps AI agents build SAP UI5 apps: XML views, controllers, data binding, OData, Fiori Elements and tests. CX Codex +1 697installs sap-btp-business-application-studio Guides development and administration in SAP Business Application Studio on SAP BTP. Useful when creating dev spaces, wiring destinations, and deploying MTA packages. CX Codex +1 677installs sap-btp-build-work-zone-advanced Guides configuration and development for SAP Build Work Zone, advanced edition on SAP BTP. Useful when building UI Integration Cards, workspace templates, and external integrations. CX Codex +1 674installs sap-btp-master-data-integration Walks you through setting up an SAP Master Data Integration tenant, connecting applications and fixing master data replication. CX Codex +1 659installs

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor