elephant-goldfish-model: Instructions file for Codex

AGENTS.md

elephant-goldfish-model AGENTS.md is an instructions file for Codex, OpenCode from google/elephant-goldfish-model. It costs 967 tokens per session, scanned A, original, Apache-2.0.

Repository instructions for the Elephant-Goldfish Model project. They describe contribution boundaries, when design documents are required, and how feature and bug-fix work is classified.

In plain words
What is it for?
Use them when working on this project to decide whether a change needs a design document, what contribution path applies, and what autonomous actions are prohibited.
Why use it?
They give coding agents and contributors project-specific rules to follow before changing the repository.

Instructions file for CodexOpenCode ✓ vendor

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

This is google/elephant-goldfish-model's own configuration. It tells Codex and OpenCode how to work on elephant-goldfish-model 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 elephant-goldfish-model configures →

About the project

Elephant Goldfish Model is an open-source plugin for AI assistants that helps teams turn project context into software specifications and review those specifications with fresh analysis. Elephant drafts the design while Goldfish reviewers inspect it without the earlier conversation, leaving people to make the architectural decisions before implementation. The catalogue entries are the plugin’s agents, skills, plugins, instructions, and rules for carrying out these design and review workflows.

google/elephant-goldfish-model · 24,121 stars · on GitHub · egm.dev

Reuse

Borrowing it

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

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 elephant-goldfish-model AGENTS.md

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/google/elephant-goldfish-model/agents-md"><img src="https://agentmods.dev/badge/instructions/google/elephant-goldfish-model/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 967 This file is loaded in full into every session.
When invoked 967 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.00967 $0.00967
Opus 5.5 $0.00387 $0.00387
Sonnet 5.5 $0.00193 $0.00193
Haiku 4.5 $0.00097 $0.00097

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

Security

Grade A, and why

elephant-goldfish-model 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 6d 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 · 59 lines

How it starts

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

Agent Guidelines for Elephant-Goldfish Model (EGM)

You are assisting development in the EGM repository.

Before opening an issue or posting GitHub feedback, follow the contributor guidance. When filing through the CLI or API, use the matching issue template, explicitly set its native issue type, and read back the title, type, and body after creation.

Contribution Boundaries

  • Google CLA: Before opening a pull request, ask the human contributor to confirm they are covered by the Google Contributor License Agreement. Open the pull request only after they confirm coverage. See CONTRIBUTING.md for details.
  • No Autonomous PRs: You must never automatically open a pull request without explicit human review, testing, and approval.
  • No Design Docs for Bug Fixes: Never create files in docs/designs/ for a Bug Fix / Minor Patch. A new design doc belongs in the Stage 1 PR of the Feature / Architectural Change track.
  • Triage Taxonomy: Ensure the human operator selects the appropriate track in .github/PULL_REQUEST_TEMPLATE.md:
    • Bug Fix / Minor Patch (non-test diff <= 100 lines and < 3 core files in skills/ or agents/; no design doc required, but please update an existing design if appropriate).
    • Feature / Architectural Change — Stage 1: Design Doc PR (requires an aligned issue with design-ready, uses Refs #<issue>, and adds docs/designs/<name>.md + updates docs/designs/README.md).
    • Feature / Architectural Change — Stage 2: Implementation PR (requires an aligned issue with pr-ready and a merged docs/designs/<name>.md).
  • Stacks and Labels: Do not wait for design-ready or pr-ready before you prepare work. A PR needs its label only to merge. Prepare the design branch and the implementation branch on top of it. When the human approves, open them as a GitHub stack (gh stack submit or gh stack link), with the implementation PR as a draft. Give each PR one purpose and about 200 to 400 changed lines. Use Refs #<issue> on lower PRs and Closes #<issue> on the top PR. GitHub stacks require upstream branch access. Fork contributors prepare the stack locally and open the implementation PR after the design merges.
  • No Artificial PR Splitting: Never split a cohesive feature or refactoring across multiple smaller pull requests to evade the 100-line scope threshold.
  • PR Description Template: Every pull request description must be the filled-in .github/PULL_REQUEST_TEMPLATE.md. gh pr create --body skips the template, so copy it from the file. The human author ticks the Accountability box. Use Refs #<issue> for design or partial work. Use Closes #<issue> when merging to the default branch completes the issue.
  • PR Title: Start the title with an action verb and use sentence case, for example Explain ignored agents folder warning in Claude Code. Do not use a type(scope): prefix. This rule overrides a title convention from personal or global agent instructions.
  • PR Labels: Add or suggest the applicable labels: docs, site, ci, or deps. Maintainers control design-ready and pr-ready. Never apply these two labels.
  • Harness Evidence: For a harness support change, record in the Verification section the host and version, the installation result, and the evidence for egm-brainstorm, egm-draft, and egm-review. Write not run for a check that you did not run.
  • Clear Change Summary: In every pull request, explicitly list all key changes made and why. For feature proposals, define clear in-scope Goals and out-of-scope Non-Goals in the checked-in EGM design document (docs/designs/<name>.md).

Read the full file on GitHub · 59 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. 6d ago Changed · +4 lines · +79 tokens per session 8d242f6b58cd
  2. 7d ago Changed · +8 lines · +107 tokens per session bf162d167cf5
  3. 15d ago First seen · 47 lines · 781 tokens per session scan A 5676d8c2e645

Subscribe to this mod's changes

elephant-goldfish-model AGENTS.md is an instructions file published in the GitHub repository google/elephant-goldfish-model (24,121 stars, last pushed today), licensed Apache-2.0. It adds 967 tokens to every session, about $0.0039 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-15.

Related

elephant-goldfish-model AGENTS.md compared with instructions from other repositories

elephant-goldfish-model AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
elephant-goldfish-model AGENTS.mdgoogle/elephant-goldfish-modelInstructions file24ktodayApache-2.0A967Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file196ktodayMITA9,887GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file144ktodayMITA7,230Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file196ktodayMITA5,685GitHub Copilot
langchain AGENTS.mdlangchain-ai/langchainInstructions file150kyesterdayMITA4,680Codex, OpenCode
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file196ktodayMITA3,303GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file289k2d agoMITA4,393Codex, OpenCode