origin-heart-gold-EN-translation: Instructions file for Codex

AGENTS.md

origin-heart-gold-EN-translation AGENTS.md is an instructions file for Codex, OpenCode from originheartgold/origin-heart-gold-EN-translation. It costs 3,671 tokens per session, scanned A, original, Apache-2.0.

Repository instructions for translating a Pokémon HeartGold fan project from Simplified Chinese into English. They define translation rules, protected files, download restrictions, and project decisions.

In plain words
What is it for?
Use them when translating the project's English text batches and deciding how to handle canon dialogue, ROM files, patches, and generated files.
Why use it?
They prevent agents from publishing game data, changing tools unnecessarily, or using inconsistent English wording during translation work.

Instructions file for CodexOpenCode

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

This is originheartgold/origin-heart-gold-EN-translation's own configuration. It tells Codex and OpenCode how to work on origin-heart-gold-EN-translation 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 origin-heart-gold-EN-translation configures →

Reuse

Borrowing it

Nothing to install: this file belongs to originheartgold/origin-heart-gold-EN-translation. 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/originheartgold/origin-heart-gold-EN-translation/main/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/originheartgold/origin-heart-gold-EN-translation

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 origin-heart-gold-EN-translation AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/originheartgold/origin-heart-gold-en-translation/agents-md/github.svg)](https://agentmods.dev/instructions/originheartgold/origin-heart-gold-en-translation/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/originheartgold/origin-heart-gold-en-translation/agents-md"><img src="https://agentmods.dev/badge/instructions/originheartgold/origin-heart-gold-en-translation/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 origin-heart-gold-EN-translation AGENTS.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/originheartgold/origin-heart-gold-en-translation/agents-md"><img src="https://agentmods.dev/badge/instructions/originheartgold/origin-heart-gold-en-translation/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 3,671 This file is loaded in full into every session.
When invoked 3,671 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.03671 $0.03671
Opus 5.5 $0.01468 $0.01468
Sonnet 5.5 $0.00734 $0.00734
Haiku 4.5 $0.00367 $0.00367

Measured yesterday against content hash 0efa152ff746, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

origin-heart-gold-EN-translation 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 yesterday.

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

How it starts

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

Instructions for AI agents

This repo is the English translation of 起源心金 (Pokémon Origin HeartGold) v4.0.3, a Simplified Chinese hack of Pokémon HeartGold. Run every command from the repo root. All project files live under work/.

Rules for every agent

  • Never commit or publish game data. Keep ROMs (*.nds), the hack's .delta patches, work/extract/, work/build/, work/release/, work/snapshots/ and the seeding inputs (work/translate/ref/, us_ref.json, us_reuse.jsonl, tm_v3.jsonl, tm_v4_matches.jsonl) out of git. .gitignore already covers them. Don't git add -f around it. If a new file holds official game text or third-party text and the tools don't need it, add it to .gitignore too.
  • Never download anything (ROMs, patches, tools, datasets) without the user asking for it.
  • Don't build ROMs or change tools/scripts unless that is your task. Translator agents never do either.
  • Canon English for anime/manga quotes (user decision D-1436): the hack is built on canon events. Where the Chinese quotes the Chinese dub of the anime or the Chinese manga (mottos, catchphrases, famous lines), use the official English dub/manga wording, not invented wording. Team Rocket's motto and "blasting off again" line are in D-1437/D-1438. Use only canon wording you can verify; if unsure, translate the Chinese and add a question. Hack-original lines and the hack's own variations are still translated from the Chinese.
  • Song lyrics: never translate or quote song lyrics: replace them with a hum or a description line and record that as a content decision (D-0368). Don't paste official text from other games outside the rules in STYLE.md.
  • Faithful tone (user decision D-0627): never tone down or sanitise, and never avoid adult (21+) content. Swearing, insults, innuendo, sex, violence, and dark or political jokes keep their full strength. Don't add crudeness that isn't in the source.

Project decisions made by the user

These are settled. Don't reopen them without asking the user. Each one is recorded in the decision register (python3 work/tools/decisions.py show <id>).

Read the full file on GitHub · 92 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. yesterday First seen · 92 lines · 3,671 tokens per session scan A 0efa152ff746

Subscribe to this mod's changes

origin-heart-gold-EN-translation AGENTS.md is an instructions file published in the GitHub repository originheartgold/origin-heart-gold-EN-translation (37 stars, last pushed 9d ago), licensed Apache-2.0. It adds 3,671 tokens to every session, about $0.0147 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-11-07.

Related

origin-heart-gold-EN-translation AGENTS.md compared with instructions from other repositories

origin-heart-gold-EN-translation AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
origin-heart-gold-EN-translation AGENTS.mdoriginheartgold/origin-heart-gold-EN-translationInstructions file379d agoApache-2.0A3,671Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA9,719GitHub Copilot
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA5,516GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143ktodayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149ktodayMITA4,680Codex, OpenCode
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA3,093GitHub Copilot
vscode model-prompts.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA2,022GitHub Copilot