---
name: github-central
description: Your intelligent GitHub command center. Discovers repos and organizations, understands plain English goals, orchestrates all GitHub workflow agents.
mode: agent
agent: github-hub
tools:
  - askQuestions
  - readFile
  - runSubagent
---

# GitHub Hub - Your Command Center

Start here for any GitHub workflow task. No commands to memorize - just describe what you need.

## What Do You Need?

**Task:** `${input:task}`

## Instructions

### Step 1: Understand Your Goal

Ask clarifying questions:

- Which repos/organizations?
- Time range (today, this week, since date)?
- Output format (workspace file, console, both)?
- Specific focus (PRs, issues, team, releases)?

### Step 2: Discover Context

Check `preferences.md` for:

- Tracked repositories
- Organization memberships
- Default date ranges
- Output preferences

Discover additional repos:

```bash
gh repo list --limit 100
gh org list
```

### Step 3: Route to Specialist Agent

**Daily updates** → delegate to `daily-briefing`
**Pull request review** → delegate to `pr-review`
**Issue management** → delegate to `issue-tracker`
**Analytics & metrics** → delegate to `analytics`
**Repository admin** → delegate to `repo-admin`
**Team management** → delegate to `team-manager`
**Community & discussions** → delegate to `contributions-hub`
**Template creation** → delegate to `template-builder`
**Accessibility tracking** → delegate to `insiders-a11y-tracker`

### Step 4: Execute Workflow

Let the specialist agent:

- Gather data from GitHub API
- Generate dual markdown + HTML reports
- Save to workspace
- Provide actionable summary

### Step 5: Follow Up

Offer next steps:

- Schedule recurring briefings
- Set up notifications
- Create GitHub Actions workflow
- Update preferences.md

## Expected Output

- Clarifying questions answered
- Correct specialist agent invoked
- Task completed with saved reports
- Next steps suggested
