open-ux-tools AGENTS.md

open-ux-tools AGENTS.md is an instructions file for Codex, OpenCode from SAP/open-ux-tools. It costs 7,818 tokens per session, scanned A, original, Apache-2.0.

A set of instructions for AI coding agents working in SAP UX Tools, a monorepo containing multiple related packages for building SAP Fiori applications. A monorepo is one repository that holds several packages.

In plain words
What is it for?
Use it when planning, editing, testing, or reviewing code in the SAP UX Tools repository.
Why use it?
It explains the repository's coding, testing, package-management, and publishing expectations before changes are made.

Instructions file for CodexOpenCode

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 instructions/sap/open-ux-tools/agents-md
Clone the repo
git clone --depth 1 https://github.com/SAP/open-ux-tools

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 open-ux-tools AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/sap/open-ux-tools/agents-md.svg)](https://agentmods.dev/instructions/sap/open-ux-tools/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/sap/open-ux-tools/agents-md"><img src="https://agentmods.dev/badge/instructions/sap/open-ux-tools/agents-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 7,818 This file is loaded in full into every session.
When invoked 7,818 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 $0.07818 $0.07818
Opus 5 $0.03909 $0.03909
Sonnet 5 $0.01564 $0.01564
Haiku 4.5 $0.00782 $0.00782

Measured 4d ago against content hash 325edfb3e6fd, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

open-ux-tools 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 4d 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.

AGENTS.md · 895 lines

How it starts

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

AI Agent Guidelines for SAP UX Tools

This document provides essential guidelines for AI-powered tools working with the SAP UX Tools monorepo. Following these guidelines ensures code quality, maintainability, and consistency across the project.

Table of Contents

Overview

The SAP UX Tools is a monorepo for building SAP Fiori applications. All packages of this monorepo can be found in the /packages folder. The project uses:

  • Package Manager: pnpm (see root package.json for required version)
  • Node Version: >=20.x (see root package.json engines field)
  • Build System: Nx for orchestration
  • Testing: Jest for unit tests, Playwright for integration tests
  • Versioning: Changesets for automated version management
  • Publishing: Automated via GitHub Actions to npmjs.com

AI Agent Behavior

Think Before Coding

Don't assume. Don't hide confusion. Surface tradeoffs.

Before implementing:

  • State your assumptions explicitly. If uncertain, ask.
  • If multiple interpretations exist, present them - don't pick silently.
  • If a simpler approach exists, say so. Push back when warranted.
  • If something is unclear, stop. Name what's confusing. Ask.
  • If mid-task you discover the goal was wrong (e.g. the real issue is elsewhere), stop. Restate the correct goal and confirm before continuing — don't finish the wrong task just because you started it.

Surgical Changes

Touch only what you must. Clean up only your own mess.

When editing existing code:

  • Don't "improve" adjacent code, comments, or formatting.
  • Don't refactor things that aren't broken.
  • Match existing style, even if you'd do it differently.
  • If you notice unrelated dead code, mention it - don't delete it.

Read the full file on GitHub · 895 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. 4d ago First seen · 895 lines · 7,818 tokens per session scan A 325edfb3e6fd

Subscribe to this mod's changes

open-ux-tools AGENTS.md is an instructions file published in the GitHub repository SAP/open-ux-tools (155 stars, last pushed 2d ago), licensed Apache-2.0. It adds 7,818 tokens to every session, about $0.0391 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-30.

Related

Other instructions, from other repositories