Use when multiple agents have completed a round and the user asks to reconcile outputs, compare Codex and Gemini, synthesize run results, identify conflicts, or decide what should be retried.
Installs just this skill. Get the whole plugin for auto-invocation.
โก How it fires
How this skill gets triggered: by you, by Claude, or both.
Fires itselfClaude auto-loads it when your prompt matches the work.
You can call itInvoke it directly when you want it.
Slash command/agent-output-reconciler
๐๏ธ Context preview
The summary Claude sees to decide when to auto-load this skill.
Use when multiple agents have completed a round and the user asks to reconcile outputs, compare Codex and Gemini, synthesize run results, identify conflicts, or decide what should be retried.
๐ Stats
Stars16
Forks4
LanguagePython
LicenseMIT
๐ฆ Ships with agent-collab-workspace
</> SKILL.md
agent-output-reconciler.SKILL.md
---name: agent-output-reconciler
description: Use when multiple agents have completed a round and the user asks to reconcile outputs, compare Codex and Gemini, synthesize run results, identify conflicts, or decide what should be retried.
---# agent-output-reconciler
Cross-agent diff + synthesizer. After `agent-task-splitter` plans a
round and the delegate skills have run their tasks, this skill reads
everything they produced and reports:
- Did each task succeed?
- Where do agents agree (same files changed similarly, same
conclusions)?
- Where do they conflict (same files changed differently, contradictory
recommendations)?
- What's the recommended next move (merge / retry / escalate)?
## When to use
Trigger phrases:
- "Reconcile these N agent outputs."
- "Did Codex and Gemini agree on this round?"
- "Synthesize the multi-agent run results."
- "What did the agents do this round? Any conflicts?"
- "Round N is done โ give me the reconciliation report."
Not for:
- Running the agents โ that's `codex-delegate` (Claude lanes run via the Agent tool; `gemini-delegate` is deprecated, fails closed).
- Final accept-or-reject gate before merging โ that's
Two tasks "overlap" if their `files_changed` lists share any path.
Two tasks "agree" if they overlap AND their changes don't
contradict (heuristic: same file changed by two agents โ flag for
manual review unless one is `git mv`-style and the other is content
edit).
**(b) Conflict heatmap** โ which files were touched by multiple
tasks?
```
src/auth/providers.py [T1, T2] โ conflict โ both edit same file
src/auth/interfaces.py [T1] ok
docs/auth.md [T3] ok
tests/test_auth.py [T2] ok
```
For conflicts, read the actual diffs and either:
- Confirm changes are independent (T1 added imports, T2 added a
function โ likely mergeable).
- Flag genuine collision (both rewrote the same function differently
โ needs human merge).
**(c) Aggregated risks** โ concat all `risks` arrays from
result.json + risks mentioned in the .md summaries.
### 4. Suggest a recommended action
Based on the analysis:
| Situation | Recommendation |
|---|---|
| All tasks `status: success`, no conflicts, no risks | "Merge all in dependency order (T1 โ T2 โ T3 โ T4)." |
| All success but one conflict on file X | "Merge T1, T3, T4. Manually merge T2's edits to X with T1's." |
| One task `status: error` | "Retry T2 (failure reason: <log tail summary>). Don't merge other tasks until T2 succeeds, since T4 depends on T2." |
| One task `status: fallback` | "Review T3's degraded output before merging. Acceptance criteria may not have been met." |
| Risks flagged | "Address risks before merging: ..." |
| Cross-agent contradiction (e.g., Codex says X, Gemini's review says X is wrong) | "Escalate: invoke `agent-debate` on the contested point before deciding." |
### 5. Write `.coord/reconciliation_<NNN>.md`
Format (full template: `references/reconciliation_template.md`):
```markdown
# Multi-agent reconciliation โ round 1
**Goal:** Refactor the auth module into plugin-based architecture
slug consistency vs plan.yml, missing-output flags }
Main session reads only the digests and writes reconciliation_<NNN>.md
from them. Never inlines the original result.md / result.json content.
```
This is the canonical pattern for "fan-out / fan-in" multi-agent
reconciliation. It keeps the main session linear in N (number of
agents) instead of quadratic in (N ร avg result size).
## Commit Boundary
Every agent boundary is a commit boundary (see global rule:
~/.claude/CLAUDE.md โ "Commit Discipline for Multi-Agent Work"). This
makes multi-agent work auditable (commit log = agent log) and enables
surgical rollback via `git revert <hash>` of just one agent's commit.
**Specific to this skill**: the reconciler reads each agent's output as a separate commit. If agents share an uncommitted working tree, the reconciler cannot disentangle which change came from which agent. Always commit each agent's output before invoking the reconciler.