Auto-fix GitHub issues using parallel AI sub-agents that implement changes, open PRs, and respond to code review feedback.
npx clawhub@latest install gh-issuesRequirements
gh-issues is an AI orchestration skill that turns your GitHub issue backlog into merged pull requests with minimal human intervention. Given a repository, it fetches open issues, spawns parallel sub-agents to analyze and implement fixes, pushes branches, opens PRs, and then monitors those PRs for review comments — spawning additional agents to address feedback. It supports fork workflows, watch/polling mode, cron scheduling, Telegram notifications, and configurable model selection.
npx clawhub@latest install gh-issuesClick the Install button at the top of this page for one-click setup
--cron mode).--fork).--reviews-only to have the skill scan open fix/issue-* PRs and push fixes for requested changes.GH_TOKEN) — the skill cannot authenticate to any GitHub API without it.Up to 8 sub-agents run concurrently, each tackling a single issue end-to-end: branch creation, code analysis, fix implementation, test execution, commit, push, and PR opening. Each agent has a 60-minute budget and a built-in confidence check — it skips issues it cannot address with ≥7/10 confidence.
After PRs are opened, Phase 6 fetches reviews, inline comments, general PR comments, and even embedded bot reviews (e.g., Greptile). Actionable comments trigger additional sub-agents that check out the branch, apply the requested changes, push an update, and reply to each comment with the commit SHA.
Pass --fork user/repo to push all branches to your fork and open PRs from the fork targeting the upstream source repository — matching the standard open-source contribution workflow without requiring write access to the upstream.
--cron enables fire-and-forget scheduling: the orchestrator picks one eligible issue, spawns a sub-agent, and exits immediately — safe to call from a cron job every few minutes. --watch keeps the orchestrator alive, polling for new issues and review comments on a configurable interval.
Before spawning, the skill checks for existing open PRs, in-progress branches on the push repo, and a local claims file with 2-hour expiry. This prevents duplicate sub-agents from racing on the same issue across overlapping cron runs or watch cycles.
Pass --notify-channel with a Telegram channel ID to receive a final summary message containing PR links and per-issue results. Only the final outcome is sent — not intermediate status updates.
Run /gh-issues owner/repo --label bug --limit 10 --cron from a scheduled job. Each invocation picks the next unclaimed bug issue, spawns a sub-agent to implement a fix, and exits. Over time, the backlog is worked through incrementally without human involvement between runs.
Use /gh-issues upstream/project --fork myfork/project --label good-first-issue to have the skill fetch issues from the upstream repo, push fix branches to your fork, and open PRs targeting upstream — respecting the standard contributor workflow.
Schedule /gh-issues owner/repo --reviews-only --cron alongside your existing PR pipeline. Each run scans open fix/issue-* PRs for unaddressed CHANGES_REQUESTED reviews or inline comments, picks the first unhandled PR, and spawns an agent to apply the requested changes and reply.
Run /gh-issues owner/repo --label enhancement --watch --interval 10 during a sprint planning session. The skill fetches issues, asks you to confirm which to process, spawns agents, and polls every 10 minutes for new issues and review feedback — presenting cumulative results until you say 'stop'.
GH_TOKEN in your environment or configure under skills.entries["gh-issues"].apiKey in the OpenClaw dashboard / ~/.openclaw/openclaw.json.--notify-channel. The OpenClaw agent must have access to a configured Telegram bot capable of sending messages to the target channel.npx clawhub@latest install gh-issuesRequirements
Log in to write a review
No reviews yet. Be the first to share your experience!