Skip to content
English

Switch theme

// Add skills & rules

Elephant-Goldfish Model (EGM)v0.1.1

Elephant-Goldfish Model (EGM) is an Apache-2.0 plugin published under Google's GitHub organization (not an officially supported Google product) for designing and reviewing software specifications with coding agents. The Elephant holds project context and drafts the spec; Goldfish reviewers inspect the draft and referenced source in fresh subagent contexts without the earlier conversation to surface hidden assumptions; you approve the design. Skills cover brainstorm, draft, five-stage review, resolve, bootstrap docs for existing code, custom review loops and doc-vs-code drift reports. Installs into Claude Code, Codex CLI, Antigravity and the ChatGPT/Codex desktop apps.

Open source Maintained For agents

IN ONE PARAGRAPH

Elephant-Goldfish Model (EGM) is elephant-Goldfish Model (EGM) is an Apache-2.0 plugin published under Google's GitHub organization (not an officially supported Google product) for designing and reviewing software specifications with coding agents. The Elephant holds project context and drafts the spec; Goldfish reviewers inspect the draft and referenced source in fresh subagent contexts without the earlier conversation to surface hidden assumptions; you approve the design. Skills cover brainstorm, draft, five-stage review, resolve, bootstrap docs for existing code, custom review loops and doc-vs-code drift reports. Installs into Claude Code, Codex CLI, Antigravity and the ChatGPT/Codex desktop apps.

Good for: Developers who want their agent (Claude Code, Codex, Cursor…) to add skills & rules.

Not for: people who don’t want to install and run tools themselves.

01How to start

  1. 1Read the official README for requirements and permissions.
  2. 2Install it as the official guide describes.
  3. 3Tell your agent the command exists (e.g. in AGENTS.md / CLAUDE.md) so it knows when to call it.

02README (from the project)

The following is from the README of google/elephant-goldfish-model, licensed under Apache-2.0; copyright belongs to the original authors. View original ↗

Elephant-Goldfish Model

Design with an elephant. Review with a goldfish.

Install  ·  Quickstart  ·  Documentation  ·  Website


Develop ideas with context and review documents with fresh eyes. EGM is an open-source plugin for AI assistants.

Elephant holds your project context and drafts the specification. Goldfish reviewers examine the draft and referenced source material without the earlier conversation, helping expose unstated assumptions and blind spots. You make the architectural trade-offs and approve the specification before implementing.

The built-in draft and design-review workflow targets software specifications. For other documents, choose reviewers and standards with /egm-review-loop. Bootstrap and drift reporting apply to software codebases.

https://github.com/user-attachments/assets/93c799a2-10a3-4266-af02-eb79dd33a9a2

Install

Choose your coding agent. Install the complete plugin so its skills can read the reviewer prompts and document standards.

ChatGPT and Codex desktop

Open the published EGM plugin in the desktop app and install it. This listing is desktop-only. For Codex CLI, use the commands below.

Antigravity CLI
agy plugin install https://github.com/google/elephant-goldfish-model

For the Antigravity App and Antigravity for IDEs (Visual Studio Code extension), run /plugin or see the installation instructions.

Claude Code
claude plugin marketplace add google/elephant-goldfish-model
claude plugin install egm@egm
Codex CLI
codex plugin marketplace add google/elephant-goldfish-model
codex plugin add egm@egm

Start a new session after installation. For Claude Cowork and ChatGPT Work, see the setup guide.

Try a 60-second review on existing code

Review an existing design document, README, or PR plan against the live code. You do not need to write a new specification. The commands below use the /egm: prefix for Antigravity (agy CLI) and Claude Code. In Codex, select the corresponding EGM skill from the skill picker.

Review an existing document

/egm:egm-review docs/designs/webhooks.md

Use the path to your design doc, or to a PR plan saved as Markdown. Fresh reviewers check the design, its clarity, its fit with the code, and its implementation plan.

Check for drift

/egm:egm-drift-report docs/designs/

The agent compares each document in the folder with the current source code and reports where they diverge. You decide whether to update the document or the code.

Try your first design

Open your project in your coding agent and choose a feature that needs design decisions. This example adds webhook delivery: what should happen when a delivery fails, or the same event arrives twice?

The commands below are shown without a prefix. In Antigravity (agy CLI) and Claude Code, add the /egm: prefix, for example /egm:egm-brainstorm. On agy CLI 1.4.10 an unprefixed name is completed to the prefixed command (#220), but 1.4.8 does not (#196), so keep the prefix. In Codex, select the corresponding EGM skill from the skill picker. Brainstorming and review require a session that can create fresh subagents.

Explore the idea

/egm-brainstorm Add webhook delivery to this project.

Discuss requirements and trade-offs with the agent. Fresh reviewers challenge the proposal, and the agent saves the agreed direction in concepts_brief.md.

Draft the specification

/egm-draft

The agent turns the brief into design_draft.md, pausing after each section for your feedback in chat.

Review the draft

/egm-review design_draft.md

Use the draft path returned by the agent.

Fresh reviewers check the design, its clarity, its fit with the code, and its implementation plan. Choose which findings to address. When you approve the design, ask your coding agent to implement it.

See the workflow guide for the full process, including saving approved specifications under docs/designs/.

How it works

RoleContextResponsibility
ElephantYour project, requirements, and earlier decisionsExplore the problem and draft the specification.
GoldfishThe document and its referenced source material, without the earlier conversationFind missing assumptions, unclear requirements, and implementation risks.
YouThe goals and constraints that matterResolve trade-offs, approve the design, and decide what to build.

Goldfish reviews require fresh subagent contexts. If your agent cannot create them, EGM stops the review. A review does not replace tests or human judgment. See supported environments and verification limits.

Choose a skill

You can use each skill when you need it. You do not have to follow the full sequence.

SkillUse it to…
 BrainstormTest an idea and write a concept brief.
 DraftTurn a brief or existing notes into a design document.
 ResolveWork through review findings and agree on changes.
 BootstrapCreate or update documentation for an existing codebase.
 ReviewReview a design with fresh agents across five stages.
 Review loopRun a configured group of reviewers for a specific review task.
 Drift reportCompare checked-in documents with the current source code.

Learn more

Contribute

See the accessibility statement for accessibility goals, known limits, and how to report barriers.

Read contributing for PRs, issues for bugs, and discussions for questions.

License

Apache 2.0. This is not an officially supported Google product.

03Alternatives & comparison

Compare side by side →

04Related

Versions, why it is listed, for AI to read

For AI agents

Data updated: AI software & hot ranks · Software profiles & needs · Official software downloads(UTC+8)