sapcc-skill: Instructions file for Codex

AGENTS.md

sapcc-skill AGENTS.md is an instructions file for Codex, OpenCode from eljoujat/sapcc-skill. It costs 4,923 tokens per session, scanned A, original, MIT.

Repository instructions for sapcc-skill, a tool that lets an AI agent interact with SAP Commerce Cloud, an online commerce platform, using natural language.

In plain words
What is it for?
Use them when changing or reviewing the SAP Commerce Cloud skill, especially scripts/execute.js, FlexibleSearch queries, Groovy scripts, and HAC authentication.
Why use it?
They explain the project structure and execution flow so an agent can work with the codebase and safely choose between read-only searches and Groovy scripts that can perform business operations.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md. Also seen: mentions AGENTS.md; mentions Codex.

This is eljoujat/sapcc-skill's own configuration. It tells Codex and OpenCode how to work on sapcc-skill itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything sapcc-skill configures →

Reuse

Borrowing it

Nothing to install: this file belongs to eljoujat/sapcc-skill. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/eljoujat/sapcc-skill/main/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/eljoujat/sapcc-skill

Made for: Codex, OpenCode.

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 sapcc-skill AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/eljoujat/sapcc-skill/agents-md.svg)](https://agentmods.dev/instructions/eljoujat/sapcc-skill/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/eljoujat/sapcc-skill/agents-md"><img src="https://agentmods.dev/badge/instructions/eljoujat/sapcc-skill/agents-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 4,923 This file is loaded in full into every session.
When invoked 4,923 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
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.04923 $0.04923
Opus 5 $0.02462 $0.02462
Sonnet 5 $0.00985 $0.00985
Haiku 4.5 $0.00492 $0.00492

Measured yesterday against content hash c03d60b09cb7, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

sapcc-skill AGENTS.md 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.

AGENTS.md · 460 lines

How it starts

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

AGENTS.md

This file helps AI agents (Claude, Copilot, Cursor, Codex, Pi, Gemini…) understand this codebase quickly and work on it effectively. Following the agents.md standard.


Project Overview

sapcc-skill is an Agent Skills-compatible skill that lets any AI agent interact with a SAP Commerce Cloud (Hybris / CCv2) instance using natural language, across two complementary surfaces:

  1. HAC (Hybris Administration Console) — application data & business logic. The agent translates intent into either:

    • a FlexibleSearch query (SQL-like, read-only, fast)
    • a Groovy script (business logic, service calls, writes, ImpEx, cronjobs)

    …executed via sapcc-hac-client (handles HAC authentication: CSRF token, JSESSIONID, ROUTE cookie).

  2. Cloud Portal API — CCv2 DevOps/platform operations (environments, builds, deployments, backups, scaling, endpoints, certificates, scheduled activities, service properties, user roles), executed via sapcc-portal-cli (handles OAuth2 client_credentials auth).

The skill is designed to keep growing with additional SAP CC capabilities over time (monitoring, etc.).


Repository Structure

sapcc-skill/
├── SKILL.md                          # Agent Skills manifest — name, description, metadata
├── package.json                      # npm package (name: sapcc-skill, v2.1.0)
├── .env.example                      # Credentials template (HAC_* and PORTAL_*)
├── .gitignore                        # Excludes .env, node_modules, *.stamp
│
├── scripts/
│   ├── execute.js                    # ★ HAC ENTRY POINT — Groovy / FlexSearch CLI runner
│   ├── portal.js                     # ★ CLOUD PORTAL ENTRY POINT — builds/deployments/envs/... CLI runner
│   └── setup.js                      # Setup health checker (deps + .env validation, both HAC & Portal)
│
├── references/                       # Agent-readable reference docs (loaded on demand)
│   ├── decision-guide.md             # FlexSearch vs Groovy decision matrix
│   ├── flexsearch-guide.md           # FlexibleSearch syntax, types, 30+ example queries
│   ├── groovy-patterns.md            # Groovy patterns, Spring bean names, service examples
│   ├── sap-cc-types.md               # SAP CC type reference (Product, Order, User…)
│   └── portal-guide.md               # Cloud Portal command reference & DevOps workflows
│
├── .github/
│   ├── ISSUE_TEMPLATE/
│   │   ├── bug_report.md
│   │   └── feature_request.md
│   └── PULL_REQUEST_TEMPLATE.md
│
├── CODE_OF_CONDUCT.md
├── CONTRIBUTING.md
├── SECURITY.md
├── LICENSE                           # MIT
├── README.md                         # English documentation
└── README_AR.md                      # Arabic documentation

Read the full file on GitHub · 460 lines

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 Changed · +109 lines · +1,424 tokens per session c03d60b09cb7
  2. 6d ago First seen · 351 lines · 3,499 tokens per session scan A c801a34d743d

Subscribe to this mod's changes

sapcc-skill AGENTS.md is an instructions file published in the GitHub repository eljoujat/sapcc-skill (3 stars, last pushed yesterday), licensed MIT. It adds 4,923 tokens to every session, about $0.0246 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 instructions, from other repositories

next.js AGENTS.md

AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.

vercel/next.js · 7,296 tokens

codex AGENTS.md

AGENTS.md instructions for openai/codex, covering rust/codex-rs, the codex-core crate, code review rules, crate api surface and model visible context.

openai/codex · 5,182 tokens

vscode buildNext.instructions.md

Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).

microsoft/vscode · 6,785 tokens

vscode oss-third-party-notices.instructions.md

Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, applying the notice (cutover) and fallback chain (never fail the build).

microsoft/vscode · 5,001 tokens

langchain AGENTS.md

AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.

langchain-ai/langchain · 4,469 tokens

spec-kit AGENTS.md

AGENTS.md instructions for github/spec-kit, covering agents.md, about spec kit and specify, quickstart — add a new integration in 5 steps, integration architecture and integrationmanifest — file tracking.

github/spec-kit · 7,104 tokens