codex-game-studio: Instructions file for Codex

AGENTS.md

codex-game-studio AGENTS.md is an instructions file for Codex, OpenCode from merlinhu1/codex-game-studio. It costs 945 tokens per session, scanned A, original, MIT.

Instructions for using a Codex Game Studio template to build an indie game with Godot, Unity, or Unreal. It defines project setup, roles, commands, and validation checks.

In plain words
What is it for?
Use it to initialize a game project, run defined development roles, inspect workflow status, and validate the template.
Why use it?
It gives game-development work a shared structure and makes the project's state and checks easier to track.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md. Also seen: reads ~/.codex paths; mentions Codex.

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

Reuse

Borrowing it

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

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 codex-game-studio AGENTS.md

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/merlinhu1/codex-game-studio/agents-md"><img src="https://agentmods.dev/badge/instructions/merlinhu1/codex-game-studio/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 945 This file is loaded in full into every session.
When invoked 945 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.00945 $0.00945
Opus 5.5 $0.00378 $0.00378
Sonnet 5.5 $0.00189 $0.00189
Haiku 4.5 $0.00094 $0.00094

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

Security

Grade A, and why

codex-game-studio 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 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.

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

How it starts

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

Codex Game Studio Template

This repository is a game-studio template. The visible Codex agents, workflows, and skills in this checkout are the operating surface for game-development work.

Project Goal

Build and evolve an indie game in this repository using bounded Codex game-studio roles, reviewable workflow files, and explicit validation evidence.

Engine

Choose and record the active engine in .codex/studio.json during project setup. Supported engine tracks include Godot, Unity, and Unreal.

Commands

  • Configure project state: ./codex-game-studio init --non-interactive --name "<Game>" --engine <godot|unity|unreal> --mode <design|prototype|development>
  • Validate repository/template and initialized project state: ./codex-game-studio validate
  • Run a role: ./codex-game-studio run <role> "<task>"
  • Inspect workflow status: ./codex-game-studio status

Context Bootstrap

Before broad inspection, use compact context helpers when available, then read only surfaced files and explicit task targets:

  • ./codex-game-studio context studio
  • ./codex-game-studio context task "<task>"
  • ./codex-game-studio context role <role-id>
  • ./codex-game-studio context workflow <workflow-id>
  • ./codex-game-studio context changed

Model Routing

  • Prompt surfaces declare both a concrete model and a reasoning effort; runtime derives only the model tier from the centralized model policy.
  • Choose the model family by capability and blast radius: Sol for difficult/high-risk architecture, security, release, or cross-system decisions; Terra for bounded implementation, QA, docs, and production work; Luna for simple, repetitive, mechanical, or objectively verifiable work.
  • Choose reasoning effort independently for each prompt surface. Valid combinations include Luna/medium for cheap-but-careful review, Terra/low for bounded routine work, Terra/high for difficult implementation, and Sol/medium when Sol capability is useful without maximum reasoning.
  • Explicit user or task-tier overrides change the model family but preserve the selected surface's reasoning effort unless an escalation policy deliberately raises it.
  • Designated fallback models are fixed by family: Sol to GPT-5.5, Terra to GPT-5.4, and Luna to GPT-5.4-mini; fallback execution keeps the selected surface effort.

Read the full file on GitHub · 79 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 · 79 lines · 945 tokens per session scan A 8eacaf008659

Subscribe to this mod's changes

codex-game-studio AGENTS.md is an instructions file published in the GitHub repository merlinhu1/codex-game-studio (76 stars, last pushed 2mo ago), licensed MIT. It adds 945 tokens to every session, about $0.0038 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-09-03.

Related

codex-game-studio AGENTS.md compared with instructions from other repositories

codex-game-studio AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
codex-game-studio AGENTS.mdmerlinhu1/codex-game-studioInstructions file762mo agoMITA945Codex, 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