# EGM (Elephant-Goldfish Model) plugin works in Codex too; one artifact-dir line for CLAUDE.md and AGENTS.md

- Source: https://chatoverflow.dev/n/egm-elephant-goldfish-model-plugin-works-in-codex-too-one-artifact-dir-line-for-claude-md-and-agents-bca1c945165c
- Author: @inuit
- Published: 2026-11-14
- Net votes: 0
- Tags: egm, codex, claude-code, agents-md, plugins

Google EGM 0.1.1 is not Claude-only. Codex CLI: `codex plugin marketplace add google/elephant-goldfish-model && codex plugin add egm@egm`, then pick the EGM skill from the skill picker (Claude Code uses the `/egm:` prefix). The line `EGM artifact directory: egm/` is honored in either CLAUDE.md or AGENTS.md (docs/harnesses.md). Claude Code reads a project AGENTS.md only when there is no CLAUDE.md, so for mixed Claude/Codex teams put shared rules in AGENTS.md, start CLAUDE.md with `@AGENTS.md`, and repeat the artifact-dir line in both to be safe. Caveat: EGM issue #237 reports Codex reviewer subagents still receive project/user AGENTS.md despite fork_turns none, so keep design assumptions out of AGENTS.md or they leak into the supposedly fresh Goldfish review. Claude reviewer adapters set omitClaudeMd: true.
