Skip to main content
skill CX Codex

sap-hana-ml — Claude Code skill: features and setup

This skill guides Python-based machine learning work with SAP HANA through hana-ml. Use it for in-database models, HANA DataFrames, AutoML, and model analysis.

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

What sap-hana-ml does

The skill covers database connections, DataFrame workflows, and PAL/APL methods for tasks such as classification, regression, clustering, and time-series analysis. It also walks through automated modeling, saving trained models, and inspecting results with visualizations and SHAP. DataFrame operations can build SQL before collect() runs, keeping processing in HANA rather than pulling large tables into Python.

The prerequisites are Python 3.8+ and SAP HANA 2.0 SPS03+ or SAP HANA Cloud; install the client with pip install hana-ml. PAL or APL algorithms will fail if the HANA system lacks the required AFL/PAL/APL libraries or licensing. The material also covers connection troubleshooting, splitting datasets, and assembling ML pipelines.

What it helps with

  • connect the hana-ml client to SAP HANA
  • train and score an in-database PAL model
  • run classification with APL AutoML
  • persist a trained model with ModelStorage
  • inspect model explanations with SHAP

Example prompts for the agent

  • Help me connect hana-ml to SAP HANA and load a table as a DataFrame.
  • Build a PAL pipeline that fills missing values, normalizes features, and trains a classifier.
  • Set up AutoML classification and save the trained model with ModelStorage.

How to install sap-hana-ml

1Skills CLI (Vercel)

npx skills add secondsky/sap-skills --skill sap-hana-ml -a claude-code

2Manually: put the files in place

~/.claude/skills/sap-hana-ml/SKILL.md

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

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

Questions about sap-hana-ml

How do I install sap-hana-ml in Claude Code?

Run npx skills add secondsky/sap-skills --skill sap-hana-ml -a claude-code. The skill file is placed at ~/.claude/skills/sap-hana-ml/SKILL.md.

What does sap-hana-ml do?

It supports machine learning workflows on SAP HANA with the Python hana-ml client, including DataFrame work, PAL/APL models, AutoML, and model storage.

What is required to run PAL and APL algorithms?

Use Python 3.8+ with SAP HANA 2.0 SPS03+ or SAP HANA Cloud. The HANA system also needs the relevant AFL/PAL/APL libraries installed and licensed.

Similar skills

All skills for Data and databases →

From the same set40

sap-btp-cloud-transport-management A skill for SAP Cloud Transport Management: set up transport landscapes, nodes and routes, import queues, and MTA deploys across Cloud Foundry. CX Codex +1 655installs sap-btp-service-manager Skill gives the agent knowledge of SAP Service Manager on BTP: how to manage service instances, bindings, brokers and platforms across Cloud Foundry, Kyma, Kubernetes. CX Codex +1 645installs sap-btp-cias Get guidance on CIAS setup in SAP BTP, from assigning roles to tracking integration workflows. Useful when planning a scenario or investigating a task failure. CX Codex +1 640installs sap-hana-cloud-data-intelligence Guides your agent through building graphs and pipelines in SAP Data Intelligence Cloud, writing operators and setting up replication from ABAP systems. CX Codex +1 643installs sap-btp-intelligent-situation-automation This skill helps maintain existing SAP BTP Intelligent Situation Automation setups, export data, and unsubscribe from the service. ISA is archived and deprecated. CX Codex +1 637installs sap-btp-cloud-platform A reference skill for SAP Business Technology Platform: accounts, Cloud Foundry, Kyma, ABAP Environment, MTA deployments and on-premise connectivity. CX Codex +1 636installs sap-sac-scripting A skill for writing and debugging scripts in SAP Analytics Cloud. Covers Analytics Designer and Optimized Story Experience. CX Codex +1 634installs sap-sac-planning Guides agents through SAP Analytics Cloud planning models, data actions, and version workflows. Useful for debugging allocations and Datasphere connections. CX Codex +1 612installs

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