keypro-cli: Instructions file for Codex

AGENTS.md

keypro-cli AGENTS.md is an instructions file for Codex, OpenCode from InstaSoft-hu/keypro-cli. It costs 6,469 tokens per session, scanned A, original, MIT.

Project instructions for KeyPro CLI, a command-line tool for buying and managing business software licences from KeyPro.hu.

In plain words
What is it for?
Configuring the KeyPro account, checking identity, placing licence orders, interpreting command results, and handling product options such as tiers or editions.
Why use it?
They explain the setup, authentication, structured JSON output, error handling, and ordering rules an AI agent must follow.

Instructions file for CodexOpenCode

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

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

Reuse

Borrowing it

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

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 keypro-cli AGENTS.md

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/instasoft-hu/keypro-cli/agents-md"><img src="https://agentmods.dev/badge/instructions/instasoft-hu/keypro-cli/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 6,469 This file is loaded in full into every session.
When invoked 6,469 The same file — it is already loaded in full.
Security scan A 1 finding. 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.06469 $0.06469
Opus 5.5 $0.02588 $0.02588
Sonnet 5.5 $0.01294 $0.01294
Haiku 4.5 $0.00647 $0.00647

Measured 1mo ago against content hash 537eb197dde7, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

keypro-cli AGENTS.md scanned grade A with 1 finding 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 1mo 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

`keypro products images 123 | xargs -n1 curl -O`.
AGENTS.md · 396 lines

How it starts

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

KeyPro CLI - AI agent guide

Magyar: ez a KeyPro.hu B2B licencshop parancssori eszkoze; az alabbi angol utmutato AI-agenteknek (ChatGPT, Claude, Gemini, Codex, OpenCode) szol.

Setup

  1. The user needs a KeyPro account (approved reseller) and an API key. Easiest: keypro setup - interactive wizard (asks the server, then API key [default] or email+password). Alternatives:
    • keypro login (email + password, mints + stores a fresh key)
    • a key made on the website under "API, MCP és CLI" (https://keypro.hu/api), stored via keypro config set api-key kp_live_..., the KEYPRO_API_KEY env var (recommended for agents), or ~/.config/keypro/config.json
  2. API base URL: production is the default. For the dev site use keypro setup, KEYPRO_API_BASE=https://dev.keypro.hu, or keypro config set api-base ....
  3. Verify with: keypro whoami --json

Output contract

  • Every command supports --json: machine-readable data on stdout.
  • Errors go to stderr; in --json mode they are JSON with a stable error.code (snake_case English). Key on code, not on the Hungarian message.
  • Exit codes: 0 success, 1 API/business error, 2 usage error, 3 auth error.

Ordering flow (IMPORTANT)

Ordering is a two-step preview + confirm flow to prevent accidental orders:

  1. keypro order preview --item SKU=QTY --payment bacs --json Returns priced lines, fees, shipping, totals and a confirmToken (valid 15 minutes, bound to items + payment method + gross total). ALWAYS show the totals to the user before ordering.
  2. keypro order create --item SKU=QTY --payment bacs --yes --json Without --yes the command only prints the preview and exits with code 1. With --yes it re-runs the preview and submits with the fresh confirmToken. If prices changed between preview and create, the server rejects with confirm_token_invalid and returns the new totals in error.details - re-run preview and show the user the new total.
  3. Retries: pass --idempotency-key <any-unique-string> - the same key never creates a second order (the response has idempotentReplay: true).

Read the full file on GitHub · 396 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. 1mo ago Changed · +15 lines · +251 tokens per session 537eb197dde7
  2. 1mo ago Changed · +52 lines · +1,285 tokens per session 385b1716111d
  3. 1mo ago Changed · +7 lines · +116 tokens per session e794d24d2a6a
  4. 2mo ago First seen · 322 lines · 4,817 tokens per session scan A a56808c7d916

Subscribe to this mod's changes

keypro-cli AGENTS.md is an instructions file published in the GitHub repository InstaSoft-hu/keypro-cli (0 stars, last pushed 1mo ago), licensed MIT. It adds 6,469 tokens to every session, about $0.0259 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

keypro-cli AGENTS.md compared with instructions from other repositories

keypro-cli AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
keypro-cli AGENTS.mdInstaSoft-hu/keypro-cliInstructions file01mo agoMITA6,469Codex, OpenCode
vibetags com-example-service-OrderService.instructions.mdPIsberg/vibetagsInstructions file25yesterdayMITA553GitHub Copilot
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143ktodayMITA7,461Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA5,685GitHub Copilot
langchain AGENTS.mdlangchain-ai/langchainInstructions file149kyesterdayMITA4,680Codex, OpenCode
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA3,093GitHub Copilot