egm-structural

egm-structural is an agent for Claude Code from google/elephant-goldfish-model. It costs 22 tokens per session (260 once invoked), scanned A, a copy of egm-codebase-details, Apache-2.0.

A document review agent that checks whether a document has a clear and suitable structure, using supplied standards and referenced files.

In plain words
What is it for?
Use it to review the layout and organization of design documents, specifications, and technical proposals.
Why use it?
It helps expose missing sections, poor organization, or structural problems before the document is used.

Agent for Claude Code ✓ vendor

Written for Claude Code: user-invocable in frontmatter.

Part of the egm plugin — 8 skills, 19 agents shipped together

Good fit Use it to review the layout and organization of design documents, specifications, and technical proposals.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/google/elephant-goldfish-model/egm-structural
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

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/google/elephant-goldfish-model

Made for: Claude Code.

Or install egm, the plugin that ships this one along with the rest of its 8 skills, 19 agents.

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 egm-structural

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/google/elephant-goldfish-model/egm-structural"><img src="https://agentmods.dev/badge/agents/google/elephant-goldfish-model/egm-structural.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 22 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 260 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 89% copy Near-identical to another mod 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.00022 $0.00260
Opus 5.5 $0.00009 $0.00104
Sonnet 5.5 $0.00004 $0.00052
Haiku 4.5 $0.00002 $0.00026

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

Security

Grade A, and why

egm-structural 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 15d 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.

Origin

This is a copy

89% identical to egm-codebase-details — 6 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

com.github.copilot/agents/egm-structural.agent.md · 26 lines

What it actually says

Use only the assigned task and its explicit reading list. Require an absolute EGM package root from the caller. Read <EGM_ROOT>/agents/structural.md before work. Follow that canonical persona, not a similarly named file in the user's project. Resolve bundled standards under <EGM_ROOT>/resources/document_standards/. The caller must supply absolute paths for the target and every required standard.

Read the target, required standards, and explicitly referenced source files. If a required path is absent or unreadable, return an incomplete review. Do not retrieve parent history or memory. Read prior reviewer reports only when explicitly supplied in the reading list and required by the canonical workflow stage. Do not retrieve other prior findings. Do not edit files, run commands, delegate, or use MCP tools. Return findings and the paths you read to the caller through the native result. The caller writes reports. Do not claim independent verification from self-report.

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. 15d ago First seen · 26 lines · 22 tokens per session scan A b2cc67eb8d1d

Subscribe to this mod's changes

egm-structural is an agent published in the GitHub repository google/elephant-goldfish-model (24,121 stars, last pushed today), licensed Apache-2.0. It adds 22 tokens to every session and 260 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 89% identical to egm-codebase-details, differing in 6 lines, and is treated as a copy.

Related

egm-structural compared with agents from other repositories

egm-structural next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
egm-structuralgoogle/elephant-goldfish-modelAgent24ktodayApache-2.0A22Claude Code
gsd-security-auditoropen-gsd/gsd-coreAgent12ktodayMITA49Claude Code
analytics_engineerjosstei/maestro-orchestrateAgent49328d agoApache-2.0A77Claude Code
cloud_architectjosstei/maestro-orchestrateAgent49328d agoApache-2.0A83Claude Code
compliance_reviewerjosstei/maestro-orchestrateAgent49328d agoApache-2.0A86Claude Code
site_reliability_engineerjosstei/maestro-orchestrateAgent49328d agoApache-2.0A87Claude Code
solutions_architectjosstei/maestro-orchestrateAgent49328d agoApache-2.0A88Claude Code