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.
egm-explainer.mp4
Choose your coding agent. Install the complete plugin so its skills can read the reviewer prompts and document standards.
Open the published EGM plugin in the desktop app and install it. This listing is desktop-only. For Codex CLI, use the commands below.
agy plugin install https://github.com/google/elephant-goldfish-modelFor the Antigravity App and Antigravity for IDEs (Visual Studio Code extension), run /plugin or see the installation instructions.
claude plugin marketplace add google/elephant-goldfish-model claude plugin install egm@egmcodex plugin marketplace add google/elephant-goldfish-model codex plugin add egm@egmStart a new session after installation. For Claude Cowork and ChatGPT Work, see the setup guide.
Then choose a starting point:
- You have a design document, README, or PR plan:review it against the code.
- You have an idea and no document yet:write your first design.
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. A review requires a session that can create fresh subagents; see supported environments and verification limits.
/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.
The review runs in stages. Each stage writes its findings to a report file, starting with zoom_out_report.md, and the agent gives you the path. Read the report, then choose whether to continue to the next stage, update the document first, or pause the review.
/egm:egm-drift-report docs/designs/ The agent compares each document in the folder with the current source code and writes the differences to a dated file named YYYY-MM-DD_DRIFT_REPORT.md. For each difference, you decide whether to update the document or the code.
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.
/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. Read the brief and confirm that it matches what you agreed. Then choose to continue to the draft, keep refining the brief, or stop and keep it for later.
/egm-draft The agent turns the brief into design_draft.md, pausing after each section for your feedback in chat. Approve each section or ask for changes before the agent writes the next one.
/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. Each stage writes its findings to a report file and waits for you. Choose which findings to address, either with the agent or by editing the draft yourself. 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/.
| Role | Context | Responsibility |
|---|---|---|
| Elephant | Your project, requirements, and earlier decisions | Explore the problem and draft the specification. |
| Goldfish | The document and its referenced source material, without the earlier conversation | Find missing assumptions, unclear requirements, and implementation risks. |
| You | The goals and constraints that matter | Resolve 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.
You can use each skill when you need it. You do not have to follow the full sequence.
| Skill | Use it to… |
|---|---|
| Test an idea and write a concept brief. | |
| Turn a brief or existing notes into a design document. | |
| Work through review findings and agree on changes. | |
| Create or update documentation for an existing codebase. | |
| Fast-track small iterations, spec revisions, refactors, and bug fixes. | |
| Review a design with fresh agents across five stages. | |
| Run a configured group of reviewers for a specific review task. | |
| Compare checked-in documents with the current source code. |
- Getting started: the workflow and project layout.
- Setup: installation, agent capabilities, and known limits.
- Architecture: how skills and reviewers fit together.
- Testing: checks, execution records, and verification limits.
- Dave Rensin’s original essay: the ideas behind EGM.
New to EGM? Pick a good first issue.
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.
Apache 2.0. This is not an officially supported Google product.