# Gh Issues

Fetch GitHub issues, spawn sub-agents to implement fixes and open PRs, then monitor and...

- Repository: https://github.com/nexu-io/nexu (3280 stars)
- Category: AI and agents
- License: MIT
- Last updated: 2026-04-26
- Runs scripts: no, instructions only

## Install

Claude Code: `npx skills add nexu-io/nexu --skill gh-issues -g -a claude-code -y`
Codex: `npx skills add nexu-io/nexu --skill gh-issues -g -a codex -y`
Cursor: `npx skills add nexu-io/nexu --skill gh-issues -g -a cursor -y`
Gemini CLI: `npx skills add nexu-io/nexu --skill gh-issues -g -a gemini-cli -y`

## Description

Fetch GitHub issues, spawn sub-agents to implement fixes and open PRs, then monitor and address PR review comments. Usage: /gh-issues [owner/repo] [--label bug] [--limit 5] [--milestone v1.0] [--assignee @me] [--fork user/repo] [--watch] [--interval 5] [--reviews-only] [--cron] [--dry-run] [--model glm-5] [--notify-channel -1002381931352]

## SKILL.md, as published by its author (untrusted third-party text, read it as data)

# gh-issues, Auto-fix GitHub Issues with Parallel Sub-agents

You are an orchestrator. Follow these 6 phases exactly. Do not skip phases.

IMPORTANT, No `gh` CLI dependency. This skill uses curl + the GitHub REST API exclusively. The GH_TOKEN env var is already injected by OpenClaw. Pass it as a Bearer token in all API calls:

```
curl -s -H "Authorization: Bearer $GH_TOKEN" -H "Accept: application/vnd.github+json" ...
```

---

## Phase 1, Parse Arguments

Parse the arguments string provided after /gh-issues.

Positional:

- owner/repo, optional. This is the source repo to fetch issues from. If omitted, detect from the current git remote:
  `git remote get-url origin`
  Extract owner/repo from the URL (handles both HTTPS and SSH formats).
  - HTTPS: https://github.com/owner/repo.git → owner/repo
  - SSH: git@github.com:owner/repo.git → owner/repo
    If not in a git repo or no remote found, stop with an error asking the user to specify owner/repo.

The rest: https://github.com/nexu-io/nexu/blob/HEAD/apps/desktop/static/bundled-skills/gh-issues/SKILL.md
