agentleFS
chuanglibschuanglibs/Claude-Code-Game-Studios-Codex/AGENTS.md

Claude-Code-Game-Studios-Codex

AGENTS.md1 starsChanged 59 days agoMITView on GitHub

This repository is a game-development studio template for Codex and Claude Code. It contains workflows, role briefs, document templates, and engine references; a fresh clone has no selected engine or playable game. - Read docs/codex/runtime.md before using a studio workflow or role. It explains how the shared Claude-oriented instructions apply in Codex. - Read .claude/docs/technical-preferences.md for the project's engine, language, platforms, and specialist routing. Unconfigured fields mean not selected; the bundled Godot references do not select Godot for the project.…

The file

We split this AGENTS.md into the rules it gives an agent

8 rules. About 0 are common, 3 are distinctive, and 5 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈3

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 5

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Read docs/codex/runtime.md before using a studio workflow or role.

    line 9
  2. Very specific:

    Read .claude/docs/technical-preferences.md for the project's engine, language, platforms, and specialist routing.

    line 11
  3. Distinctive:

    Ask about missing game requirements.

    line 15
  4. Very specific:

    Use .claude/docs/coding-standards.md for code changes and .claude/docs/context-management.md for larger workflows.

    line 31
  5. Distinctive:

    Before editing a file, read the AGENTS.md files along its directory path, even when the session started at the repository root.

    line 38
  6. Very specific:

    Read docs/codex/README.md for setup, compatibility limits, and manual checks.

    line 68
  7. Very specific:

    When changing commands, source attribution, directory layout, setup, or compatibility behavior, update README.md and README.zh-CN.md in the …

    line 69
  8. Distinctive:

    Verify adapter changes with:

    line 73

≈ “Common” is an estimate: at least 1 in 5 of the 40,246 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
AGENTS.md

Game Studios — Codex instructions

This repository is a game-development studio template for Codex and Claude Code. It contains workflows, role briefs, document templates, and engine references; a fresh clone has no selected engine or playable game.

Start here

  • Read docs/codex/runtime.md before using a studio workflow or role. It explains how the shared Claude-oriented instructions apply in Codex.
  • Read .claude/docs/technical-preferences.md for the project's engine, language, platforms, and specialist routing. Unconfigured fields mean not selected; the bundled Godot references do not select Godot for the project.
  • For a new game, use $studio-start. For workflow navigation, use $studio-help. Ask about missing game requirements; do not run onboarding when the user is asking to maintain the template itself.
  • Reply in the user's language. Keep code identifiers and document IDs stable.
  • Exclude AGENTS.md, AGENTS.override.md, CLAUDE.md, and CLAUDE.local.md from game-document counts and asset audits. An instruction-only directory is not evidence of implemented systems or game progress.

Working agreements

The user owns game direction, scope, and substantive design decisions. Clarify missing requirements and present concrete drafts when a decision is needed. An explicit request authorizes the edits needed to complete that task; do not ask for file-by-file approval again. Preserve any explicit review gates the user chooses. Skills and role briefs do not override user instructions or grant new execution permissions. Do not commit, push, publish, or deploy unless requested.

Use .claude/docs/coding-standards.md for code changes and .claude/docs/context-management.md for larger workflows. Use the domain ownership rules in .claude/docs/coordination-rules.md, applying the runtime guide's Codex translations for models, tools, and delegation.

Directory rules

Before editing a file, read the AGENTS.md files along its directory path, even when the session started at the repository root. Those files explicitly link to shared instructions; read the linked sources. Rules are scoped as follows:

DirectoryShared rule
src/src/CLAUDE.md
src/gameplay/.claude/rules/gameplay-code.md
src/core/.claude/rules/engine-code.md
src/ai/.claude/rules/ai-code.md
src/networking/.claude/rules/network-code.md
src/ui/.claude/rules/ui-code.md
design/design/CLAUDE.md
design/gdd/.claude/rules/design-docs.md
design/narrative/.claude/rules/narrative.md
assets/data/.claude/rules/data-files.md
assets/shaders/.claude/rules/shader-code.md
tests/.claude/rules/test-standards.md
prototypes/.claude/rules/prototype-code.md
docs/docs/CLAUDE.md
CCGS Skill Testing Framework/its CLAUDE.md

Maintaining this template

  • .claude/skills/, .claude/agents/, .claude/rules/, and .claude/docs/ are shared sources, usable without installing Claude Code. Preserve their paths so upstream changes remain easy to merge.
  • Edit shared sources and scripts/sync_codex.py, then regenerate. Do not edit files marked Generated by scripts/sync_codex.py directly. Keep custom Codex skills/roles under distinct names; regeneration preserves unmanaged files.
  • Read docs/codex/README.md for setup, compatibility limits, and manual checks.
  • When changing commands, source attribution, directory layout, setup, or compatibility behavior, update README.md and README.zh-CN.md in the same changeset. Identify upstream-derived content versus fork additions, and keep the Claude-to-Codex usage mappings aligned with actual skill entry points.
  • Verify adapter changes with:
python3 scripts/sync_codex.py --check
python3 -m unittest discover -s tests/template -v
git diff --check

Game builds and tests depend on the selected engine. Never report them as passing when no engine/project exists. For an authorized commit or push, run python3 scripts/studio_check.py commit or python3 scripts/studio_check.py push and the configured game tests. The adapter does not register Claude hooks in Codex.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.