gh-issues
Use this skill to fetch GitHub issues, decide which ones to act on, and spawn background agents to implement fixes or address review comments.
Workflow
- Parse flags and resolve
SOURCE_REPO. If it is omitted, infer it fromgit remote get-url origin. - Resolve
GH_TOKENfrom env first, then from CrawClaw config. - Fetch issues with curl and GitHub REST API.
- Filter out pull requests.
- Show a compact issue table.
- Stop on
--dry-run; otherwise confirm selection unless--yesor--cron. - Run pre-flight checks:
git status --porcelaingit rev-parse --abbrev-ref HEADgit ls-remote --exit-code ...
- Spawn the worker agents or review handlers.
- If
--watchis set, poll again and process only new work.
Flags
--label--limit--milestone--assignee--state--fork--watch--interval--dry-run--yes--reviews-only--cron--model--notify-channel
Rules
- Use curl plus GitHub REST API for reads.
- In fork mode, push branches to the fork and target the source repo with PRs.
- In cron mode, skip interactive confirmation and exit after dispatching work.
- If auth fails, stop with a clear config hint instead of guessing.