godogen AGENTS.md

Repository instructions for Godogen, a source project that publishes game repositories for different game engines and coding agents. It explains the source layout and how the publishing process renders a runtime project.

In plain words
What is it for?
Editing engine-specific game guides, runtime instructions, asset-generation documentation, and the scripts used to publish Godot, Bevy, or Babylon.js projects.
Why use it?
They prevent edits from being made in generated output or in folders that this source repository does not maintain. They also keep guides focused on problems an agent may not quickly discover itself.

Instructions file for CodexOpenCode

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add instructions/htdt/godogen/agents-md
Clone the repo
git clone --depth 1 https://github.com/htdt/godogen

Made for: Codex, OpenCode.

Per session 304 This file is loaded in full into every session.
When invoked 304 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
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 $0.00304 $0.00304
Opus 5 $0.00152 $0.00152
Sonnet 5 $0.00061 $0.00061
Haiku 4.5 $0.00030 $0.00030

Measured 2d ago against content hash 68a99d75b8ac, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

godogen 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 2d 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 · 18 lines

What it actually says

Godogen Source Repo

This repository is not a published game repo. It is the source that publish.sh renders into a runtime game repo for a chosen engine and host agent.

Source Layout

  • prompts/runtime.md — the engine-agnostic runtime manifest text
  • asset-gen/ — the asset-generation skill (CLI tools + docs), the one skill every published repo carries
  • engines/babylon.md, engines/godot.md, engines/bevy.md — per-engine guides (stack, project sketch, capture recipe, silent-failure traps)
  • publish.sh — renders a runtime repo with --engine {godot,bevy,babylon}, --agent {claude,codex}
  • scripts/ — render helpers: render_dir.py (token substitution), generate_codex_metadata.py (Codex openai.yaml)

Editing Rules

  • Do not create or maintain .claude/skills/ or .agents/skills/ in this source repo.
  • Don't give obvious guidance. The agent is a highly capable LLM, and the deliverable (a recorded video, or a live URL the user watches) surfaces its own mistakes — so keep the guides to what the model can't infer or discover fast.
  • When you change or remove a feature, describe the new state on its own terms. Name the new thing as if it were always the design.
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. 2d ago First seen · 18 lines · 304 tokens per session scan A 68a99d75b8ac

Subscribe to this mod's changes

godogen AGENTS.md is an instructions file published in the GitHub repository htdt/godogen (6,644 stars, last pushed 1mo ago), licensed MIT. It adds 304 tokens to every session, about $0.0015 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-30.