/egm:egm-resolvefrom Elephant-Goldfish Model
Ingests flat deficiency reports from concurrent Goldfish reviewers, applies automated fixes for PROPOSE FIX items via UI multiple-choice gates, and presents interactive negotiation/re-sync checkpoints.
Ships in Elephant-Goldfish Model. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
When running in Codex or ChatGPT Work, first read Codex integration.
In Claude Code or Cowork, read ${CLAUDE_PLUGIN_ROOT}/docs/claude.md first.
This skill instructs the agent on how to operate within the primary Elephant context window to parse flat deficiency reports from concurrent Goldfish reviewers. It defends accurate design choices, applies automated textual repairs, and manages interactive negotiation checkpoints.
The caller or orchestration driver provides exactly these parameters:
TargetFile: Absolute or relative path to target document.LineRange: Exact line numbers (or full file).FindingsList: Aggregated flat list of findings from Goldfish
reviewers.Hybrid Execution UX: Detect if execution arguments are present:
Read TargetFile at LineRange by reading it and parse the FindingsList.
Give each finding exactly one category:
Apply these rules:
Construct the final report and save it named
goldfish_review_report.md in the working directory (or your harness's artifact directory, if it has one)
using your file-writing tool. Use this layout:
# Goldfish Annotated Review Report
**Target:** `[TargetFile]` (`[LineRange]`)
## Prioritized Findings & AI Suggestions
{{range findings, ordered by Severity}}
### [Issue 1] [`[ReviewerPersona]`] - Severity: [Blocker | Major | Nit]
* **Affected Scope:** [Lines Start-End]([RelativePath]#L[Start]-L[End]) ([Sub-header])
* **Discrepancy Description:** [copied from FindingsList]
* **Rationale:** [copied from FindingsList]
* ***AI Suggestion:*** [CONTEST | ESCALATE | PROPOSE FIX | DECLINE]
* ***Justification:*** [Detailed reason]
* ***Proposed Edit:***
* Location: [Line/Header]
* Change: [Precise replacement string or deletion note]
{{end}}
If any finding is ESCALATE, list those findings first in the chat message.
They need the user's knowledge, not only approval.
Before proceeding, output a visible chat message to the user: *"I have compiled
the audit findings into goldfish_review_report.md. Please review the findings there and choose how you would like to
proceed:
goldfish_review_report.md in
chat or the file and leave comments/edits to approve, reject, or contest
specific items.You MUST immediately yield active execution by calling zero tools in this turn payload. You must stop execution and go idle, waiting for the human developer to comment on/edit the artifact or reply in the chat.
Interpret the user's action/response as follows:
"Auto accept" / "Accept all suggestions" / User clicks "Proceed" without
contesting: Apply all fixes where the AI suggestion was PROPOSE FIX
directly to TargetFile at LineRange in a single batch using
your file-editing tool. Any items categorized as CONTEST, ESCALATE, or
DECLINE are explicitly bypassed. Then proceed to Step 5.
"Continue to next phase" / "No changes": Do not apply any automated fixes. Then proceed to Step 5.
"Interactive breakdown": Enter a sequential breakdown loop over ALL
finding items (all categories except DECLINE):
For each item i, output a visible chat message formatting the full
finding details and explanation in rich markdown:
### Breakdown Item [i]: [Issue Title] [`[ReviewerPersona]`]
* **Scope:** [Lines Start-End]([RelativePath]#L[Start]-L[End]) ([Sub-header])
* **Description:** [Description]
* **AI Suggestion:** [CONTEST | ESCALATE | PROPOSE FIX]
* **Explanation & Justification:** [Detailed reason and background explaining why the fix is proposed or why the finding is contested]
* **Proposed Edit:** [Precise replacement text or deletion note]
Then prompt the user in chat for their decision on this item (calling zero tools and going idle):
PROPOSE FIX: Ask the user to reply with Accept proposed
fix, Skip / ignore, or Discuss.CONTEST: Ask the user to reply with Skip / agree with
contest, Overrule contest (propose fix), or Discuss.ESCALATE: Ask the user to reply with Confirm (no change),
Add the fact to the document, or Discuss.Record the user's decisions in an internal memory checklist (e.g., Item 1: Accepted, Item 2: Ignored, Item 3: Overruled). Do NOT call any file editing tools during this sequential loop.
Once all items have been decided, summarize the accepted edits, execute them using your file-editing tool, and proceed to Step 5.
Custom instruction / Out-of-band edit: If the user provides targeted instructions, apply them and proceed.
TargetFile, verify that the
file remains structurally coherent and valid markdown.Status: resolved line at the top).egm-review-loop)
with the count of accepted fixes, contested items, escalated items,
declined items, and remaining unaddressed issues.What SKILL.md sets; muted values are Claude Code's defaults
8 skills in this plugin
/egm-bootstrapBootstrap directory README.md files across a repository subtree./egm-brainstormInteractive ideation and brainstorming skill for the Elephant & Goldfish Model (EGM). Helps turn half-baked concepts into structured hypotheses via clarifying questions, review, and iterative refinement. Produces an RFC summary for human review or more detailed design with egm-draft./egm-draftDrafts a design document section-by-section using the concepts brief from egm-brainstorm (or user notes). This is the second step in the Elephant-Goldfish (EGM) feature flow. Use when you are ready to write a design doc after aligning on requirements + solution./egm-drift-reportRuns drift detection on all design documents to check for document and code consistency. Produces an actionable report with differences. Use when the user asks to detect drift or check for consistency across all design documents or READMEs in a directory./egm-liteExecutes a lightweight 5-step EGM (Elephant-Goldfish-Model) protocol for small, rapid iterations, specification revisions, code refactors, and bug fixes. Use when the user invokes /egm-lite, issues a phase command (checklist, exec, review, goldfish), or resolves a subagent review response. Don't use for large multi-component features requiring a formal design doc (use egm-brainstorm)./egm-reviewOrchestrates the EGM Goldfish Review Protocol. Used as part of the EGM process to perform design document reviews. Executes five review phases: Initial Zoom Out Review, Comprehension Review, Design Critique, Intermediate Zoom Out Review, and Implementation Readiness.npx claudepluginhub google/elephant-goldfish-model --plugin egm5 plugins ship this exact skill · first indexed Nov 5, 2026
Other plugins' skills for the same job