From github-agent-runner
Installs four-role agent-team workflows (spec → plan → impl → review) into repo as unified setup, triggered by 'agent-team' issue label or /install-agent-team.
How this skill is triggered — by the user, by Claude, or both
Slash command
/github-agent-runner:install-agent-teamThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Install all four agent-team workflows into the current repo in one pass: fetch, wire auth once, apply the OAuth tweak to every lockfile, create the labels, validate, commit.
Install all four agent-team workflows into the current repo in one pass: fetch, wire auth once, apply the OAuth tweak to every lockfile, create the labels, validate, commit.
The result: the user dispatches a task by adding a single agent-team label to any issue. The four agents coordinate across the thread via structured comments and a small internal state machine.
/install-agent-team./discover-workflows and asked to install it as a unit.daily-repo-status, repo-assist) — hand off to /install-workflow instead.One paragraph: four workflows will be added, one auth secret will be set, seven labels will be created, nothing runs until the user opens an issue and adds agent-team. Ask for explicit confirmation to proceed. The user must opt in — workflows run on push.
Check in parallel:
gh CLI authenticated (gh auth status)workflow scope present on the gh token (gh auth status -t 2>&1 | grep -i 'token scopes'). Without it, the user's first git push of .github/workflows/*.lock.yml will fail with "refusing to allow an OAuth App to create or update workflow ... without workflow scope". If missing, have the user run gh auth refresh -s workflow -h github.com (browser flow, ~30 sec) before continuing.gh aw extension installed (gh extension list | grep gh-aw)git status --porcelain)origin (gh repo view --json viewerPermission)If any check fails, surface it plainly. Don't install tools on the user's behalf.
Pick the path per skills/install-workflow/auth.md:
gh secret list first — if CLAUDE_CODE_OAUTH_TOKEN (OAuth) or ANTHROPIC_API_KEY (API) already exists, reuse it. Do not re-prompt.claude setup-token + gh secret set CLAUDE_CODE_OAUTH_TOKEN, or gh secret set ANTHROPIC_API_KEY directly.Never echo or store the token. One secret covers all four workflows.
Run, in sequence (each gh aw add auto-compiles):
gh aw add verkyyi/github-agent-runner/catalog/agent-team/spec-agent.md@main
gh aw add verkyyi/github-agent-runner/catalog/agent-team/planner-agent.md@main
gh aw add verkyyi/github-agent-runner/catalog/agent-team/implementer-agent.md@main
gh aw add verkyyi/github-agent-runner/catalog/agent-team/reviewer-agent.md@main
If any fails, stop and surface the exact error — do not proceed with a partial install. The four are a unit; a half-installed pipeline dead-ends on the first handoff.
For each of the four .lock.yml files just generated, apply the two-pass sed from skills/install-workflow/auth.md Step 3. Then verify grep counts on each file per auth.md Step 4. API-key path skips this step entirely.
Create these labels (idempotent — ignore "already exists" errors):
gh label create agent-team --color 7C3AED --description "Opt-in marker for the agent-team pipeline" --force
gh label create state:plan-needed --color FEF08A --description "agent-team: ready for the planner" --force
gh label create state:impl-needed --color FCD34D --description "agent-team: ready for the implementer" --force
gh label create state:review-needed --color FDBA74 --description "agent-team: ready for the reviewer" --force
gh label create state:done --color 86EFAC --description "agent-team: task approved by reviewer" --force
gh label create state:blocked --color F87171 --description "agent-team: paused, human intervention required" --force
gh label create agent-team:reviewed --color A7F3D0 --description "agent-team: PR has been reviewed" --force
(The implementer also adds an agent-team label to the PR it opens. Same label as the issue entry — one label, two roles: opt-in on issues, reviewer trigger on PRs.)
gh aw validate
Runs against all lock files. Safe (no recompile).
Show the user, in this order:
.github/workflows/ (name each .md + .lock.yml pair)agent-team label. Done."gh aw compile reverts the OAuth tweak. Re-apply on every recompile. gh aw validate is safe.Then ask whether to commit and push. Do not commit without explicit confirmation.
gh aw add calls fails, stop and back out. A half-installed pipeline is worse than none — users will dispatch tasks that stall silently.gh aw add. The .md sources live in this plugin's catalog/agent-team/.gh secret set stdin.--exclude-env ANTHROPIC_API_KEY carve-out when applying the OAuth tweak. See skills/install-workflow/auth.md for why..github/workflows/spec-agent.lock.yml already exists, ask before overwriting — the user may have customized it.After install, the entire per-task journey is:
agent-team.state:plan-needed.state:impl-needed.Closes #N) → state:review-needed on the issue.state:done (approve) or back to state:impl-needed (kickback, max 3 rounds).Escape hatches at any time: remove a state label to pause, edit a comment to steer the next agent, add state:blocked to halt.
.md/.lock.yml files + labels manually)npx claudepluginhub verkyyi/github-agent-runner --plugin github-agent-runnerGuides creation, editing, and verification of skills for AI coding agents using test-driven development with subagent scenarios. Use when authoring or debugging skills.