Claude Code Plugins

Community-maintained marketplace

Feedback

>

Install Skill

1Download skill
2Enable skills in Claude

Open claude.ai/settings/capabilities and find the "Skills" section

3Upload to Claude

Click "Upload skill" and select the downloaded ZIP file

Note: Please verify skill by going through its instructions before using it.

SKILL.md

name result-aggregation
description Aggregates results from multiple sub-agent executions into a unified output.
iface [object Object]
slo [object Object]

Result Aggregation (result-aggregation)

Purpose

Surface the first successful SAG result and provide a deterministic fallback when multiple results are available.

When to Use

  • MAG execution collects outputs from one or more compensation-advisor-sag runs.
  • The orchestration flow needs a stable aggregation step even when sub-agents partially fail.

Procedures

  1. Inspect the results list supplied by the caller.
  2. Return {} when no successful results are present.
  3. When exactly one result exists, return it unchanged.
  4. When multiple results exist, merge dictionaries with later entries taking precedence. This mirrors the current Phase 2 behavior and can be replaced with domain-specific resolution later.

Examples

{"results": [{"offer": {...}}, {"offer": {..., "metadata": {...}}]} → merged dictionary with second result’s overrides.