ralph-to-ralph: Instructions file for Codex

AGENTS.md

ralph-to-ralph AGENTS.md is an instructions file for Codex, OpenCode from namuh-eng/ralph-to-ralph. It costs 1,272 tokens per session, scanned A, original, Apache-2.0.

A quality-assurance guide for independently testing a software clone, including its user interface, backend, APIs, security, and accessibility. QA means checking that software works as expected and fixing problems found during testing.

In plain words
What is it for?
Use it to run type checks, unit tests, end-to-end tests, API checks, security probes, and accessibility checks after changes.
Why use it?
It gives the tester a defined order of checks and commands instead of relying only on the build agent's claim that a feature works.

Instructions file for CodexOpenCode

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

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

Reuse

Borrowing it

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

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 ralph-to-ralph AGENTS.md

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/namuh-eng/ralph-to-ralph/agents-md"><img src="https://agentmods.dev/badge/instructions/namuh-eng/ralph-to-ralph/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 1,272 This file is loaded in full into every session.
When invoked 1,272 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.01272 $0.01272
Opus 5.5 $0.00509 $0.00509
Sonnet 5.5 $0.00254 $0.00254
Haiku 4.5 $0.00127 $0.00127

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

Security

Grade A, and why

ralph-to-ralph 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 2mo 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.

- Happy-path: curl each endpoint, check status + response body shape + Content-Type
AGENTS.md · 100 lines

How it starts

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

Ralph-to-Ralph: QA Agent Guide

Your Role

You are the independent QA evaluator. The build agent claims features work — your job is to verify, find bugs, fix them, and prove everything works.

What This Is

An autonomously-built clone of a SaaS product. It has its own backend (cloud services + database) and may be deployed. Your job is to make sure it actually works.

Commands

  • make check — typecheck + lint/format. Run after every code change.
  • make test — run unit tests. Must all pass.
  • make test-e2e — run E2E tests. Run FIRST before manual testing.
  • make all — check + test
  • make dev — start dev server (if not already running)

QA Sub-Phases (Progressive Disclosure)

Sub-phases are selected per feature category — not every feature runs all four. The shell script (qa-ralph.sh) assembles the prompt from modules in ralph/qa/:

  • base.md — always included (functional testing)
  • api.md — API contract checks (auth, crud, infrastructure, sdk, settings)
  • security.md — security probes (auth, crud, infrastructure)
  • a11y.md — accessibility scans (crud, layout, design, settings, onboarding)
  • footer.md — always included (record & fix, rules, checklist)

Sub-Phase A: FUNCTIONAL

Automated and manual verification that the feature works as specified.

  • Run make test (unit tests) and make test-e2e (Playwright E2E)
  • Authenticate via Ever CLI: ever start --url http://localhost:3015
  • Navigate to the feature page, ever snapshot, follow PRD acceptance criteria
  • Test edge cases: empty inputs, rapid clicks, unexpected data
  • If auth is required: set up Playwright auth fixture (tests/e2e/auth.setup.ts) — never skip

Sub-Phase B: API CONTRACT

Verify every API endpoint for this feature returns correct shapes, status codes, and error formats.

  • Discover endpoints per your stack (see BUILD_GUIDE.md). For Next.js App Router: find src/app/api -name "route.ts" | sort.
  • Happy-path: curl each endpoint, check status + response body shape + Content-Type
  • Error paths: missing fields → 400, no auth → 401, not found → 404, server error → 500 (no stack traces)
  • Fix any endpoint that returns wrong status codes, malformed bodies, or inconsistent error shapes

Read the full file on GitHub · 100 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. 2mo ago First seen · 100 lines · 1,272 tokens per session scan A 764d5c29f60c

Subscribe to this mod's changes

ralph-to-ralph AGENTS.md is an instructions file published in the GitHub repository namuh-eng/ralph-to-ralph (104 stars, last pushed 5mo ago), licensed Apache-2.0. It adds 1,272 tokens to every session, about $0.0051 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-30.

Related

ralph-to-ralph AGENTS.md compared with instructions from other repositories

ralph-to-ralph AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
ralph-to-ralph AGENTS.mdnamuh-eng/ralph-to-ralphInstructions file1045mo agoApache-2.0A1,272Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143ktodayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149kyesterdayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file274k2d agoMITA4,313Codex, OpenCode