solvapay-sdk: Instructions file for Codex

AGENTS.md

solvapay-sdk AGENTS.md is an instructions file for Codex, OpenCode from solvapay/solvapay-sdk. It costs 484 tokens per session, scanned A, original, MIT.

Repository instructions for a payment SDK project, covering its TypeScript, Python and Go SDKs, API contract and conformance tests.

In plain words
What is it for?
They guide work on SDK behaviour, API specifications, conformance cases, language packages, examples and documentation.
Why use it?
They give coding agents project-specific rules for keeping the language implementations consistent and for separating contract changes from SDK changes.

Instructions file for CodexOpenCode

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

This is solvapay/solvapay-sdk's own configuration. It tells Codex and OpenCode how to work on solvapay-sdk 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 solvapay-sdk configures →

Reuse

Borrowing it

Nothing to install: this file belongs to solvapay/solvapay-sdk. 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/solvapay/solvapay-sdk/main/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/solvapay/solvapay-sdk

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 solvapay-sdk AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/solvapay/solvapay-sdk/agents-md/github.svg)](https://agentmods.dev/instructions/solvapay/solvapay-sdk/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/solvapay/solvapay-sdk/agents-md"><img src="https://agentmods.dev/badge/instructions/solvapay/solvapay-sdk/agents-md/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 solvapay-sdk AGENTS.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/solvapay/solvapay-sdk/agents-md"><img src="https://agentmods.dev/badge/instructions/solvapay/solvapay-sdk/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 484 This file is loaded in full into every session.
When invoked 484 The same file — it is already loaded in full.
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.00484 $0.00484
Opus 5.5 $0.00194 $0.00194
Sonnet 5.5 $0.00097 $0.00097
Haiku 4.5 $0.00048 $0.00048

Measured 6d ago against content hash d3083186fa0f, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

solvapay-sdk 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 6d 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 · 36 lines

How it starts

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

AGENTS.md — solvapay-sdk

One repo for every SolvaPay SDK. TypeScript is the reference: it owns the shared contract, and every other language must behave the same. Each folder has its own AGENTS.md with the rules for working there.

openapi/sdk-v1.json   the API spec, synced from the platform; CI checks for drift
conformance/          cases, schema and cases.lock; owned by the TypeScript SDK
packages/             the TypeScript SDK
python/               the Python SDK, with its conformance runner and pin
go/                   the Go SDK, with its conformance runner and pin
mcp-app/              the MCP App (checkout, account, top-up), built once and copied into each package
examples/  docs/  scripts/

Rules

  • Work in one area per PR. A PR that changes the contract (conformance/cases, conformance/cases.lock, conformance/case.schema.json, openapi/) and a language folder (python/, later go/, ruby/) together fails the "Contract boundary" check, unless it is labelled contract-change.
  • Behaviour changes start in TypeScript. Change packages/, add or update a case, record it, and merge. Each language then adopts the new cases in its own PR by making them pass and updating its pin.
  • A language publishes only when its pin matches conformance/cases.lock.
  • Never hand-edit generated files: openapi/sdk-v1.json, conformance/cases.lock, a language's pin, generated clients, the widget copy in a package.
  • Payload types come from the spec. Request, response and webhook payload types are generated from openapi/sdk-v1.json wherever feasible, in every language. Don't hand-write one. If a payload is missing from the spec, add its schema in the platform first, then sync and regenerate. Hand-write a type only where a schema is not feasible, and say why in the PR. The webhook payload types in packages/server/src/types/webhook.ts are hand-written for now, because the spec does not describe webhook payloads yet.

Read the full file on GitHub · 36 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. 6d ago Changed · +7 lines · +124 tokens per session d3083186fa0f
  2. 18d ago First seen · 29 lines · 360 tokens per session scan A d3e97ca82d51

Subscribe to this mod's changes

solvapay-sdk AGENTS.md is an instructions file published in the GitHub repository solvapay/solvapay-sdk (5 stars, last pushed yesterday), licensed MIT. It adds 484 tokens to every session, about $0.0019 per session on Opus 5.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-11-16.

Related

solvapay-sdk AGENTS.md compared with instructions from other repositories

solvapay-sdk AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
solvapay-sdk AGENTS.mdsolvapay/solvapay-sdkInstructions file5yesterdayMITA484Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file196ktodayMITA9,887GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file144ktodayMITA7,230Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file196ktodayMITA5,685GitHub Copilot
langchain AGENTS.mdlangchain-ai/langchainInstructions file150ktodayMITA4,680Codex, OpenCode
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file196ktodayMITA3,303GitHub Copilot
deno copilot-instructions.mddenoland/denoInstructions file109kyesterdayMITA3,077GitHub Copilot