← ClaudeAtlas

gh-issueslisted

Walk over all open GitHub issues that are unassigned or assigned to the current user, and process each one via the gh-issue skill, sequentially.
Chemaclass/agnostic-ai · ★ 12 · AI & Automation · score 72
Install: claude install-skill Chemaclass/agnostic-ai
<!-- Generated by agnostic-ai. Do not edit this file directly; edit specs under .agnostic-ai/ and run `agnostic-ai sync`. --> # GitHub Issues Watcher ## Purpose Process every open GitHub issue that is **unassigned** or **assigned to the current user (`@me`)**, one after another, by delegating each to the `gh-issue` skill. Stop on first hard failure so it can be inspected. ## Args - `--limit N` — process at most N issues this run (default: all). - `--label foo` — only issues carrying label `foo`. - `--dry-run` — list issues that would be processed; do not invoke `gh-issue`. Strip leading `#` if user passes `#123` style. ## Phase 1: Discover Fetch open issues that are unassigned **or** assigned to `@me`, oldest first. GitHub search does not OR these cleanly, so run two queries and merge: ```bash # Unassigned gh issue list \ --state open \ --search "no:assignee" \ --json number,title,labels,assignees,createdAt \ --limit 200 # Assigned to me gh issue list \ --state open \ --assignee "@me" \ --json number,title,labels,assignees,createdAt \ --limit 200 ``` Merge: - Deduplicate by `number`. - Keep only issues whose `assignees` array is empty **or** contains the current user (`gh api user -q .login`). - Drop issues assigned to anyone else (defensive). - Apply `--label` filter if given. - Apply `--limit` if given. - Sort ascending by `createdAt` (FIFO). Print the queue: `#<num> <title> [assignee]` per line, where `[assignee]` is `unassigned` or `@me`. If em