Skip to content
Automation
Agent

hierarchical-agents-quickstart

This guide explains the new meta-orchestrator agents and their operational usage.

From plugin
gh-aw
4.9k2 skills2 agents
Install
$ npx -y skills add github/gh-aw --agent claude-code

How it fires

How this agent gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.

Context preview

The summary Claude sees to decide when to auto-load this agent.

This guide explains the new meta-orchestrator agents and their operational usage.

Agent definition

hierarchical-agents-quickstart.md

Quick Start: Hierarchical Agents

This guide explains the new meta-orchestrator agents and their operational usage.

What Are Meta-Orchestrators?

Meta-orchestrators are specialized workflows that oversee and coordinate other agents in the repository. They provide status tracking and coordination across multiple workflows.

The Three Meta-Orchestrators

1. Campaign Manager

**What it does:** Manages campaign portfolio status and coordination

**When it runs:** Daily

**What you'll see:**

  • Strategic discussion reports with campaign health dashboard
  • Issues flagged for campaigns needing attention
  • Priority adjustments on campaign project boards
  • Coordination notes between related campaigns

**Example outputs:**

# Campaign Portfolio Report - 2025-12-20

## Executive Summary
- 2 active campaigns (1 high-priority, 1 medium-priority)
- Overall completion: 45%
- Campaigns on track: 1 | Behind schedule: 1

## Campaigns Needing Attention
- Security Q1 (55/100) - Stalled, no progress in 7 days
  Issue #123 created with recommendations

**When to check it:**

  • Weekly during planning meetings
  • When starting new campaigns
  • When campaigns seem to conflict

2. Workflow Health Manager

**What it does:** Monitors workflow health and execution status for failures and performance issues

**When it runs:** Daily

**What you'll see:**

  • Health dashboard issue (pinned) showing workflow status
  • Issues created for failing workflows
  • Comments on existing workflow issues with updates
  • Systemic issue reports affecting multiple workflows

**Example outputs:**

# Workflow Health Dashboard - 2025-12-20

## Critical Issues
- daily-file-diet: Failing (8/10 runs failed)
  Error: Permission denied accessing GitHub API
  Issue #456 created

## Warnings
- ci-coach: Compilation warnings
  Issue #457 created with migration guide

**When to check it:**

  • Daily for critical issues (P0/P1)
  • Before making workflow changes
  • When investigating workflow failures

3. Agent Performance Analyzer

**What it does:** Evaluates agent output quality and effectiveness

**When it runs:** Daily

**What you'll see:**

  • Performance report discussion with agent rankings
  • Improvement issues for underperforming agents
  • Quality trend reports
  • Behavioral pattern analysis

**Example outputs:**

# Agent Performance Report - Week of 2025-12-20

## Top Performers
1. Campaign Manager (95/100) - High quality, good effectiveness
2. CI Coach (90/100) - Clear outputs, high merge rate

## Needs Improvement
1. Workflow X (45/100)
   Issues: Incomplete outputs, high PR rejection rate
   Recommendations: Refine prompt, add quality checks
   Issue #789 created

**When to check it:**

  • Daily during agent reviews
  • When evaluating agent effectiveness
  • Before creating new agents (learn from patterns)

How They Coordinate

Shared Memory System

All three meta-orchestrators share a common repository memory at `memory/meta-orchestrators/` where they exchange insights and coordinate actions.

graph TD
    A[Meta-Orchestrators] --> B[Campaign Manager]
    A --> C[Workflow Health Manager]
    A --> D[Agent Performance Analyzer]

    B --> E[Shared Memory]
    C --> E
    D --> E

    E --> F[memory/meta-orchestrators/]

    F --> G[Run Summaries]
    F --> H[Cross-cutting Alerts]
    F --> I[Historical Trends]
    F --> J[Action Items]

    G --> K[Coordinated Actions]
    H --> K
    I --> K
    J --> K

**What's shared:**

  • Latest run summaries from each orchestrator
  • Cross-cutting alerts and coordination notes
  • Historical trends and patterns
  • Action items requiring multi-orchestrator attention

**How it helps:**

  • **Avoid duplicates:** Campaign Manager won't create an issue if Workflow Health Manager already did
  • **Better context:** Agent Performance Analyzer can see if a low-quality agent is in a failing workflow
  • **Coordinated fixes:** All three can work together on systemic issues
  • **Trend tracking:** Historical data enables pattern recognition across runs

**Example coordination:** 1. Workflow Health Manager detects that `daily-metrics` workflow is failing (80% failure rate) 2. Campaign Manager sees this and notes that "Metrics Campaign" relies on this workflow 3. Agent Performance Analyzer identifies the agent has quality issues in this workflow 4. Result: Single coordinated issue created referencing all three perspectives

**You don't need to do anything** - the coordination happens automatically through shared memory.

Quick Actions

As a Repository Maintainer

**Daily:** 1. Check Workflow Health Dashboard pinned issue for critical issues 2. Address P0/P1 issues immediately 3. Review Campaign Manager report if campaigns are active 4. Review Agent Performance Report discussion

**Weekly:** 1. Review and prioritize improvement issues 2. Update agent prompts based on recommendations

**Monthly:** 1. Review trends across all three reports 2. Adjust meta-orchestrator schedules if needed 3. Refine meta-orchestrator prompts based on learnings

As a Workflow Author

**When creating a workflow:** 1. Check Agent Performance report for best practices 2. Review similar high-performing workflows 3. Avoid patterns flagged in health reports

**When your workflow has issues:** 1. Check if Workflow Health Manager created an issue 2. Follow recommendations in the issue 3. Comment on the issue when fixed so it gets closed

As a Campaign Owner

**When starting a campaign:** 1. Check Campaign Manager for potential conflicts 2. Review coordination notes with related campaigns 3. Set up project board properly

**During campaign:** 1. Monitor your campaign's health score 2. Address flagged issues promptly 3. Coordinate with other campaigns as suggested

Understanding Reports

Health Scores

Scores are 0-100, calculated as:

  • **80-100:** Healthy - No action needed
  • **60-79:** Warning - Monitor closely
  • **40-59:** Needs Attention - Address soon
  • **0-39:** Cr
Read more
Ships withgh-aw

GitHub Agentic Workflows (gh-aw) lets you write repository automation in plain Markdown and run AI coding agents — GitHub Copilot, Claude Code, OpenAI Codex, or Google Gemini — inside GitHub Actions, with sandboxed execution, read-only defaults, and safe

Get the whole plugin
Stats
4,896
Stars
489
Forks
Active
Maintenance
Go
Language
MIT
License
1m ago
Last commit
0y ago
Created

Repo: github/gh-aw