sap-odata

sap-odata is a skill for Claude Code, Codex from efeumutaslan/SAP-SKILLS. It costs 138 tokens per session (3,788 once invoked), scanned A, original, MIT.

A guide to OData, a web standard for exposing and querying structured data, in SAP services and applications.

In plain words
What is it for?
Use it to build or call OData v2 and v4 services, filter and sort results, select fields, expand related data, handle paging and counts, and manage CSRF tokens.
Why use it?
It helps developers design or consume SAP data services and form requests that return only the records and fields they need.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is using { my.db.Products } from '../db/schema';.

Good fit Use it to build or call OData v2 and v4 services, filter and sort results, select fields, expand related data, handle paging and counts, and manage CSRF tokens.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/efeumutaslan/SAP-SKILLS
agentmods
npx agentmods add skills/efeumutaslan/sap-skills/sap-odata

Made for: Claude Code, Codex.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/efeumutaslan/sap-skills/sap-odata"><img src="https://agentmods.dev/badge/skills/efeumutaslan/sap-skills/sap-odata.svg" alt="Reviewed on agentmods" width="80" 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,788 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 original 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.00138 $0.03788
Opus 5 $0.00069 $0.01894
Sonnet 5 $0.00028 $0.00758
Haiku 4.5 $0.00014 $0.00379

Measured 12d ago against content hash 14134f926395, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

sap-odata 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 12d 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.

skills/sap-odata/SKILL.md · 358 lines

How it starts

The opening of the file, as written. The whole thing — 358 lines — stays where its author put it; the contents beside it link to each section on GitHub.

OData Protocol for SAP — Design and Consumption

  • sap-rap-comprehensive — Primary way to build OData v4 services in modern ABAP
  • sap-cap-advanced — Primary way to build OData v4 services in Node.js/Java on BTP
  • sap-ui5-fiori — Biggest OData consumer in the SAP ecosystem
  • sap-integration-suite-advanced — OData in iFlows, API Management, and B2B scenarios
  • sap-s4hana-extensibility — Released OData APIs vs custom OData services

Quick Start

Check a service's metadata (what it exposes):

GET /sap/opu/odata/sap/ZMY_SERVICE/$metadata       # OData v2
GET /odata/v4/my-service/$metadata                 # OData v4

Query entities with common options:

GET /Products?$filter=Price gt 100 and Category eq 'Electronics'
            &$select=ID,Name,Price
            &$expand=Supplier($select=Name,Country)
            &$orderby=Name asc
            &$top=20&$skip=0
            &$count=true

Pick v2 or v4:

Decision Choose
New greenfield backend v4
Modern ABAP (RAP), CAP v4 (RAP v4 is default since 7.54)
Legacy SEGW in S/4 on-prem v2 (some SAP standard services are still v2)
Fiori Elements on S/4HANA 2023+ v4 preferred
UI5 consumer for legacy backend v2 (with sap.ui.model.odata.v2.ODataModel)

Core Concepts

v2 vs v4 — critical differences

Feature OData v2 OData v4
Key syntax /Products('HT-1001') /Products(ID='HT-1001') or /Products('HT-1001')
Filter on navigation $filter=Supplier/Name eq 'X' $filter=Supplier/Name eq 'X' (same)
Count /$count or $inlinecount=allpages $count=true
Batch format multipart/mixed application/json
Function import /GetProducts?name='X' /getProducts(name='X')
Action import POST /SubmitOrder POST /submitOrder
Deep insert Supported Supported
$apply Not standard Standard (aggregations)
JSON format Verbose / light Standard JSON
Type system EDM types EDM types (extended)

Read the full file on GitHub · 358 lines

Files

What ships with it

4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 12d ago First seen · 358 lines · 138 tokens per session scan A 14134f926395

Subscribe to this mod's changes

sap-odata is a skill published in the GitHub repository efeumutaslan/SAP-SKILLS (5 stars, last pushed 5mo ago), licensed MIT. It adds 138 tokens to every session and 3,788 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-08-31.

Related

Other skills, from other repositories

cao-provider

Create a new CLI agent provider for CAO (CLI Agent Orchestrator). Use this skill whenever the user wants to add support for a new CLI-based AI agent (e.g., a new coding assistant CLI), integrate a new provider, or scaffold a provider implementation. Also use when the user asks about the provider architecture, what…

awslabs/cli-agent-orchestrator · 81 tokens

adt-api-discovery

Investigate SAP ADT REST API endpoints. Use when the user asks about ADT API endpoints, request/response XML formats, content types, or how a specific ADT feature works under the hood. Teaches how to trace from discovery documents → RESAPP classes → handler classes → Simple Transformations → XML schemas. Requires the…

marcellourbani/vscode_abap_remote_fs · 108 tokens

api-design

REST/GraphQL/gRPC API design best practices. Use when designing APIs, defining contracts, handling versioning. Covers OpenAPI 3.2, GraphQL Federation, gRPC streaming.

majiayu000/spellbook · 42 tokens

ask-opencli

A helper for asking Grok or Gemini through OpenCLI, which uses an already signed-in Chrome browser session instead of a paid API.

majiayu000/spellbook · 95 tokens

gemma4-local-deploy

A guide for running Gemma 4 12B, an AI language model, locally on a Mac or Apple Silicon computer. It uses downloaded model files and a local service that provides an OpenAI-compatible API or Ollama access when requested.

majiayu000/spellbook · 172 tokens

config-secrets-environments

Design, audit, and verify configuration, environment separation, secrets, BYOK flows, key rotation, config schema validation, and drift checks across local, dev, staging, and production. Use when adding env vars, changing runtime config, handling API keys or user-provided keys, diagnosing config drift, or preparing…

majiayu000/spellbook · 73 tokens