Open-source skills for designing and reviewing software with AI agents
Python agent-skillsai-agentsantigravityclaude-codeclaude-code-pluginclaude-skillscodexcodex-plugincoding-agentscontext-engineeringdeveloper-toolsgeminillmmulti-agentprompt-engineeringspec-driven-development
EGM Synthesizer Persona (Swarm Orchestration & Output Aggregation)
- Author: Brian Suchy (@briansuchy)
- Status: Current
- Date: 2026-07-31
Overview
The EGM Synthesizer Persona (synthesizer) is an intermediate
orchestration layer, responsible for starting multiple subagents and
deduplicating feedback across them. It is used to consolidate feedback across
the various subagents started by EGM skills and prevent context window bloat in
runtimes that support nested subagents (e.g., Antigravity).
The Problem
Directly managing a multi-agent review swarm from the primary user conversation has challenges:
- Context Pollution & Token Bloat: Spawning 6 to 12 parallel reviewers directly in the root session floods the primary context window with thousands of tokens of raw, verbose tool outputs and intermediate subagent chatter, degrading the model's reasoning capacity.
- Redundant & Overlapping Critiques: Multiple reviewers examining the same document frequently identify the same underlying issue from slightly different perspectives (e.g., structural vs. design). Unfiltered output overwhelms the human engineer with duplicate findings.
- Inconsistent Link Formatting: Stateless subagents often construct inconsistent or broken relative file links.
- Chat Stream Interruption: Dumping raw review traces into the user chat violates the Artifact-First UX principle.
System Architecture & Dataflow
sequenceDiagram
autonumber
participant Elephant as Root Elephant Context
participant Synth as Synthesizer Persona (Intermediate Orchestrator)
participant Swarm as Goldfish Swarm (A/B Parallel Subagents)
participant Artifact as Artifact File (goldfish_review_report.md)
Elephant->>Synth: invoke_subagent (TargetFile, Reviewers, Standards)
Note over Synth: Inspect Mode: REVIEW vs BRAINSTORM
Synth->>Swarm: invoke_subagent (Concurrent A/B Subagents)
Note over Swarm: Independent Audits in Zero-Context Windows
Swarm-->>Synth: Return raw findings & critiques
Note over Synth: Deduplicate, Triage (Blocker/Major/Nit), Normalize Links
Synth->>Artifact: write_to_file (goldfish_review_report.md)
Synth-->>Elephant: send_message (Completion summary & artifact link)
Operating Modes
The synthesizer operates in two distinct modes depending on the invocation context:
1. Mode: REVIEW (Document Audit)
- Redundant Subagent Spawning (A/B Sampling): Launches two independent
instances of each requested reviewer (e.g.,
Hostile Design Critic AandHostile Design Critic B) to maximize finding recall and eliminate non-deterministic evaluation gaps. - Role Title Enforcement: Subagent roles are strictly suffixed with
Auditor,Reviewer, orCriticfor clear observability in execution dashboards. - Severity Triage: Categorizes all aggregated findings into three tiers:
- π΄ Blocker: Architectural flaws, unaddressed SPOFs, missing file targets, or unresolvable dependencies.
- π‘ Major: Incomplete error handling, unstated scaling assumptions, or missing verification plans.
- π’ Nit: Minor clarity issues, terminology inconsistencies, or formatting discrepancies.
- Link Normalization: Constructs clean markdown links for all referenced
lines:
[path:Lstart-end](path#Lstart-Lend). - Artifact Emission: Writes the consolidated report to
goldfish_review_report.md(orzoom_out_report.md/comprehension_report.md).
2. Mode: BRAINSTORM (Concept Ideation)
- 6-Lens Swarm: Spawns parallel brainstormers across six perspectives:
Skeptical Architect,Codebase Grounding Auditor,UX & Ergonomics,Naive Comprehension,Implementation Feasibility, andStructural Design. - Concept Synthesis: Aggregates divergent ideas, highlights hidden risks,
identifies existing infrastructure reuse opportunities, and compiles a
unified
concepts_brief.mdartifact.
Inter-Agent Communication Contract
- Input Parameters:
TargetFile: Absolute path to target document.LineRange: Target line bounds (orfull file).Reviewers: Array of reviewer persona shortnames.Standards: Key-value mapping of reviewers to standard markdown files.GoldfishContext: Supplementary reading list for reviewer baseline.
- Output Contract:
- The synthesizer must never output the full report text in chat or via
send_message. - It writes the report to disk using file-writing tools.
- It returns a single message via
send_messagecontaining:- Total count of findings by severity.
- Clean link to the generated artifact.
- The synthesizer must never output the full report text in chat or via
Implementation Files
| File Path | Type | Purpose & Reason for Existence |
|---|---|---|
agents/synthesizer.md |
Persona Prompt | System prompt and operational logic for the synthesizer orchestration persona. |
.claude-plugin/agents/synthesizer.md |
Claude Code Adapter | Registers the synthesizer with Claude Code, loads the persona, and sets its tool permissions. |
References
- Dave Rensin, Elephants, Goldfish, and the New Golden Age of Software Engineering (Medium, 2026).