ai-marketplace: Instructions file for Codex

AGENTS.md

ai-marketplace AGENTS.md is an instructions file for Codex, OpenCode from Kong/ai-marketplace. It costs 5,562 tokens per session, scanned A, original, MIT.

Repository instructions for creating Kong-specific skills, which are reusable guides that help an AI agent perform specialized tasks. They explain what belongs in the marketplace and how to design skills around Kong products and workflows.

In plain words
What is it for?
Use them when adding or revising skills for Kong gateways, plugins, Konnect, DataKit flows, or related platform tasks.
Why use it?
They help authors capture Kong conventions, APIs, deployment practices, and common failure points instead of writing generic guidance. This makes new skills more relevant to Kong-related work.

Instructions file for CodexOpenCode

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

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

Reuse

Borrowing it

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

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 ai-marketplace AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/kong/ai-marketplace/agents-md.svg)](https://agentmods.dev/instructions/kong/ai-marketplace/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/kong/ai-marketplace/agents-md"><img src="https://agentmods.dev/badge/instructions/kong/ai-marketplace/agents-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 5,562 This file is loaded in full into every session.
When invoked 5,562 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.05562 $0.05562
Opus 5 $0.02781 $0.02781
Sonnet 5 $0.01112 $0.01112
Haiku 4.5 $0.00556 $0.00556

Measured 8d ago against content hash 08c95bc7ae18, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

ai-marketplace 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 8d 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 · 643 lines

How it starts

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

Skill Authoring Guide

This repo is for high-signal Kong skills. If you are using an LLM to add a new skill here, the main job is not to create more text. The job is to create a skill that helps an agent do Kong-specific work better than general model knowledge already would.

If your host environment exposes a built-in skill-authoring helper or skill such as skill-creator, build-a-skill, or similar, consult it before drafting or revising a skill. Use it to improve structure and calibration, then apply this repo's Kong-specific rules as the final authority. If the helper conflicts with this file, follow this file.

What Belongs Here

A skill in this repo should do at least one of these well:

  • encode Kong-specific workflows that are easy to get wrong without guidance
  • capture product or platform conventions that are not obvious from generic reasoning
  • turn a broad request into a repeatable operating procedure
  • point agents toward the right artifacts, constraints, or failure modes

Good examples:

  • designing or debugging DataKit flows
  • working with Konnect concepts, APIs, or configuration patterns
  • handling Kong-specific deployment, gateway, plugin, or control-plane workflows

Weak examples:

  • generic web research
  • generic coding advice
  • generic debugging advice that is not Kong-specific

If the skill would be equally useful in any repo, it probably does not belong here.

Before You Create A Skill

Before creating a new skill, check whether the repo already has one that should be extended instead.

  • inspect docs/skills.md and the existing plugins/<plugin>/skills/ trees before adding a new folder
  • extend an existing skill when the new request fits the same trigger class, same layer, and same operating procedure
  • create a new skill only when the workflow, ownership boundary, or trigger surface is meaningfully different
  • avoid near-duplicates with slightly different names or product wording

Useful decision rule:

  • if the main difference is product surface, operator workflow, or diagnosis order, extend or create a domain skill
  • if the main difference is config tool, file format, plan/apply workflow, or import/adoption path, extend or create a tool skill
  • if both apply, keep diagnosis in the domain skill and hand off implementation to the tool skill

Read the full file on GitHub · 643 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. 8d ago First seen · 643 lines · 5,562 tokens per session scan A 08c95bc7ae18

Subscribe to this mod's changes

ai-marketplace AGENTS.md is an instructions file published in the GitHub repository Kong/ai-marketplace (5 stars, last pushed 19d ago), licensed MIT. It adds 5,562 tokens to every session, about $0.0278 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,153 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