Skip to content

ddnetters/homelab-agent-skills / codex-issue-waves

codex-issue-waves

Verified

Run a batch of GitHub issues through codex exec in isolated git worktrees as parallel autonomous PRs, then manage the review and correction waves until merge. Use when the user gives a list of issue numbers (≥ 2) and asks to "spawn codex" / "dispatch codex" / "have codex work on" / "manage the PRs" / "process feedback" / "get them merged" for those issues, or when the user asks for multi-issue parallel delegation to codex. Not for single-issue wave-driven delegation (use codex-task-waves), single-issue one-shot dispatch (use invoking-codex-exec), or implementation without delegation (use /pr or direct implementation).

FileKindSize
SKILL.mdskill md15.9 KB
references/common-commands.mdmarkdown5.8 KB
references/pitfalls.mdmarkdown4.6 KB
references/prompt-template.mdmarkdown14.1 KB
scripts/merge_and_cleanup.shexecutablescript2.5 KB
scripts/wait_for_ci.shexecutablescript1.4 KB

scripts/wait_for_ci.sh

View on GitHub
#!/usr/bin/env bash
# Block until a PR's `test` check (or a named check) reports a final conclusion.
# Exits 0 on SUCCESS, 1 on failure/cancelled/timed_out, 2 on bad input.
#
# Usage:
#   wait_for_ci.sh <PR_NUMBER> [CHECK_NAME]
#
# CHECK_NAME defaults to "test". Poll interval is 20s; override via WAIT_FOR_CI_INTERVAL.
#
# Run this in the harness's background-command mechanism, not inline — the harness
# will notify when it exits so the agent isn't blocked.

set -euo pipefail

if [[ $# -lt 1 ]]; then
  echo "Usage: $0 <PR_NUMBER> [CHECK_NAME]" >&2
  exit 2
fi

pr="$1"
check_name="${2:-test}"
interval="${WAIT_FOR_CI_INTERVAL:-20}"

if ! [[ "$pr" =~ ^[0-9]+$ ]]; then
  echo "PR_NUMBER must be an integer, got: $pr" >&2
  exit 2
fi

while true; do
  raw="$(gh pr view "$pr" --json statusCheckRollup \
    --jq ".statusCheckRollup[] | select(.name==\"$check_name\") | \"\(.status)|\(.conclusion)\"")" || {
    echo "gh pr view failed for PR #$pr" >&2
    exit 1
  }

  if [[ -z "$raw" ]]; then
    echo "No check named '$check_name' found on PR #$pr (yet). Waiting ${interval}s..." >&2
    sleep "$interval"
    continue
  fi

  status="${raw%%|*}"
  conclusion="${raw##*|}"

  if [[ "$status" == "COMPLETED" ]]; then
    echo "PR #$pr check '$check_name': $conclusion"
    case "$conclusion" in
      SUCCESS|NEUTRAL|SKIPPED) exit 0 ;;
      *) exit 1 ;;
    esac
  fi

  sleep "$interval"
done
reverse-engineer-anythingmorluto/reaReverse engineer native, managed, Electron/JavaScript, packaged, firmware, and browser targets with REA, and build agent environments (AgentEnv bundles) of web applications from a live instance or a capture, and of Linux desktop apps with a task from a request. Use shipped-artifact or requested runtime evidence to explain features, compare versions, decompile code, or guide a reconstruction. Skip REA for ordinary source-repository architecture analysis.Stars: 471kUpdated Claude CodeCodexVerifiedInstall
diagnosing-superpowersobra/superpowersUse when a superpowers session went wrong and your human partner wants to know why — repeated work, ignored plans, stumbles, poor results, a skill that didn't fire, "it took too long", "why is it so expensive", "what is it doing" — or wants to build a bug report for the superpowers maintainers, for the current session or a past one identified by id or path, on any harness.Stars: 322kUpdated Claude CodeCodexVerifiedInstall
dispatching-parallel-agentsobra/superpowersUse when facing 2+ independent tasks that can be worked on without shared state or sequential dependenciesStars: 322kUpdated Claude CodeCodexVerifiedInstall
executing-plansobra/superpowersUse when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is availableStars: 322kUpdated Claude CodeCodexVerifiedInstall