raydium-docs-v1: Instructions file for Codex

AGENTS.md

raydium-docs-v1 AGENTS.md is an instructions file for Codex, OpenCode from raydium-io/raydium-docs-v1. It costs 1,143 tokens per session, scanned A, original, MIT.

Project instructions for Raydium's documentation repository, a Mintlify-based site whose pages use Markdown with embedded components. They define the project's terminology, structure, language rules, and link checks.

In plain words
What is it for?
Use them when authoring or editing Raydium documentation, checking its architecture, handling translated pages, or validating links.
Why use it?
They provide the local rules needed to write consistent documentation and avoid terminology, navigation, translation, or broken-link problems.

Instructions file for CodexOpenCode

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

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

Reuse

Borrowing it

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

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 raydium-docs-v1 AGENTS.md

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/raydium-io/raydium-docs-v1/agents-md"><img src="https://agentmods.dev/badge/instructions/raydium-io/raydium-docs-v1/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 1,143 This file is loaded in full into every session.
When invoked 1,143 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.01143 $0.01143
Opus 5.5 $0.00457 $0.00457
Sonnet 5.5 $0.00229 $0.00229
Haiku 4.5 $0.00114 $0.00114

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

Security

Grade A, and why

raydium-docs-v1 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 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.

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 · 58 lines

How it starts

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

Documentation project instructions

About this project

  • This is the Raydium documentation set, built on Mintlify.
  • Pages are MDX files with YAML frontmatter; navigation lives in docs.json.
  • The information architecture, audience model, and chapter map are defined in ARCHITECTURE.mdx — consult that before authoring any new page.
  • The English tree at the repo root is the source of truth. Thirteen locales (zh, zh-Hant, ja, ko, ru, es, de, fr, pt, tr, vi, id, ar) mirror it; locale pages that don't exist on disk are auto-redirected to English by rules generated in docs.json — see "Multi-language hygiene" below.
  • Run mint dev to preview locally, mint broken-links to check links.

Terminology

  • Prefer CPMM (constant-product market maker) for the new default pool, not "v5" or "raydium-cp-swap" outside of code references.
  • AMM v4 is the original constant-product + OpenBook pool — always written with the version suffix.
  • CLMM is the concentrated-liquidity program; positions are NFTs, not LP tokens.
  • Stable AMM is the StableSwap-style pool program. It is still a current product — the docs cover it as a live integration target. Don't add deprecation banners.
  • Farm v6 is the current farm generation; v3/v5 are wind-down only.
  • LaunchLab is the bonding-curve launch program; the user-facing brand is "LaunchLab", not "launchpad".
  • Perps are powered by Orderly Network (white-label backend); refer to "Raydium Perps" for the product surface and "Orderly" for the underlying venue.
  • Use liquidity provider or LP for stakers in pools/farms; trader for swap users.

Style preferences

  • Use active voice and second person ("you").
  • Keep sentences concise — one idea per sentence.
  • Use sentence case for headings.
  • Bold for UI elements: Click Settings.
  • Code formatting for file names, commands, paths, program IDs, and code references.
  • Every code block that targets the SDK or a program ID should pin a version (SDK version, program ID, Solana cluster, last-verified date) per the convention in ARCHITECTURE.mdx. The current canonical pin is @raydium-io/[email protected] (advanced from 0.2.42-alpha on 2026-09-09); if you bump it, run a global search to keep every code-demo page in lock-step, and leave historical changelog entries on the pin they were verified against.

Read the full file on GitHub · 58 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 · +2 lines · +145 tokens per session 3fa2ff33ce97
  2. 1mo ago Changed · +34 tokens per session e9f6877465e5
  3. 2mo ago First seen · 56 lines · 964 tokens per session scan A 3c0a5a8c7800

Subscribe to this mod's changes

raydium-docs-v1 AGENTS.md is an instructions file published in the GitHub repository raydium-io/raydium-docs-v1 (3 stars, last pushed 10d ago), licensed MIT. It adds 1,143 tokens to every session, about $0.0046 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-08-31.

Related

raydium-docs-v1 AGENTS.md compared with instructions from other repositories

raydium-docs-v1 AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
raydium-docs-v1 AGENTS.mdraydium-io/raydium-docs-v1Instructions file310d agoMITA1,143Codex, OpenCode
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,516GitHub Copilot
langchain AGENTS.mdlangchain-ai/langchainInstructions file149ktodayMITA4,680Codex, OpenCode
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file275k3d agoMITA4,313Codex, OpenCode