gh-issues

gh-issues is a skill for Claude Code from spinabot/brigade. It costs 116 tokens per session (8,942 once invoked), scanned A, original, MIT.

A workflow for finding GitHub issues, having agents implement fixes, opening pull requests, and handling review feedback. GitHub is a code-hosting service where issues track bugs and requested changes, while pull requests propose code changes.

In plain words
What is it for?
Use it to fetch filtered issues, assign fixes to sub-agents, create pull requests, watch their progress, and process review comments.
Why use it?
It turns issue fixing into a repeatable process and reduces the manual work of moving from an issue to a reviewed change. It can also monitor pull requests and respond to review comments.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter. Also seen: mentions subagents.

Good fit Use it to fetch filtered issues, assign fixes to sub-agents, create pull requests, watch their progress, and process review comments.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/spinabot/brigade/gh-issues
About the project

Brigade is an ecosystem for running crews of AI agents as a personal intelligence system, with local handling of credentials and support for exposing agent crews to the internet for testing. It is for people who want to organize and operate multiple AI agents using their own API keys or existing Claude, ChatGPT, Copilot, Claude Code, or Codex access. The catalogue skills provide workflows for using Brigade and its agent ecosystem.

spinabot/brigade · 11,342 stars · on GitHub · brigade.spinabot.com

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add spinabot/brigade --skill gh-issues
Clone the repo
git clone --depth 1 https://github.com/spinabot/brigade

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for gh-issues

README.md
[![agentmods](https://agentmods.dev/badge/skills/spinabot/brigade/gh-issues/github.svg)](https://agentmods.dev/skills/spinabot/brigade/gh-issues)
Your own site
<a href="https://agentmods.dev/skills/spinabot/brigade/gh-issues"><img src="https://agentmods.dev/badge/skills/spinabot/brigade/gh-issues/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for gh-issues

Your own site · 80×15
<a href="https://agentmods.dev/skills/spinabot/brigade/gh-issues"><img src="https://agentmods.dev/badge/skills/spinabot/brigade/gh-issues.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 116 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 8,942 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00116 $0.08942
Opus 5.5 $0.00046 $0.03577
Sonnet 5.5 $0.00023 $0.01788
Haiku 4.5 $0.00012 $0.00894

Measured 1mo ago against content hash e623b9dcbd42, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

gh-issues scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

"requires": { "bins": ["curl", "git", "gh"] },
Origin

Copies of this mod

8 near-identical copies found in the catalogue:

skills/gh-issues/SKILL.md · 886 lines

How it starts

The opening of the file, as written. The whole thing — 886 lines — stays where its author put it; the contents beside it link to each section on GitHub.

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 Brigade. 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).

Flags (all optional):

Flag Default Description
--label (none) Filter by label (e.g. bug, enhancement)
--limit 10 Max issues to fetch per poll
--milestone (none) Filter by milestone title
--assignee (none) Filter by assignee (@me for self)
--state open Issue state: open, closed, all
--fork (none) Your fork (user/repo) to push branches and open PRs from. Issues are fetched from the source repo; code is pushed to the fork; PRs are opened from the fork to the source repo.
--watch false Keep polling for new issues and PR reviews after each batch
--interval 5 Minutes between polls (only with --watch)
--dry-run false Fetch and display only — no sub-agents
--yes false Skip confirmation and auto-process all filtered issues
--reviews-only false Skip issue processing (Phases 2-5). Only run Phase 6 — check open PRs for review comments and address them.
--cron false Cron-safe mode: fetch issues and spawn sub-agents, exit without waiting for results.
--model (none) Model to use for sub-agents (e.g. glm-5, zai/glm-5). If not specified, uses the agent's default model.
--notify-channel (none) Telegram channel ID to send final PR summary to (e.g. -1002381931352). Only the final result with PR links is sent, not status updates.

Read the full file on GitHub · 886 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 886 lines · 116 tokens per session scan A e623b9dcbd42

Subscribe to this mod's changes

gh-issues is a skill published in the GitHub repository spinabot/brigade (11,342 stars, last pushed 2d ago), licensed MIT. It adds 116 tokens to every session and 8,942 once invoked, about $0.0005 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.