github-issues

Create, triage, and manage GitHub issues using gh CLI or REST API.

1|Updated Mar 12, 2026
One-click install
npx skills add https://github.com/kaminocorp/hermes-alpha-hunter --skill github-issues-kaminocorp
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: github-issues
Source: https://github.com/kaminocorp/hermes-alpha-hunter/tree/main/skills/github/github-issues
Command: npx skills add https://github.com/kaminocorp/hermes-alpha-hunter --skill github-issues-kaminocorp

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Managing GitHub issues manually through the web UI is slow and hard to automate, especially when triaging backlogs, applying labels in bulk, or working in environments where the gh CLI is unavailable. ## Core Features & Use Cases - Full Issue Lifecycle: Create, view, comment on, label, assign, close, and reopen issues with ready-to-use commands. - Dual Execution Paths: Every operation works with the gh CLI first and falls back to curl against the GitHub REST API when gh is unavailable. - Triage and Bulk Operations: Includes a structured triage workflow, bug report and feature request templates, and shell patterns for batch-closing or batch-labeling issues. - Use Case: Ask the agent to triage all issues labeled "needs-triage", and it will list them, categorize each one, apply priority labels, assign owners, and post triage comments automatically. ## Quick Start Triage all open issues labeled needs-triage in this repository, apply appropriate priority labels, and assign the backend bugs to the right owner.

Frequently Asked Questions about github-issues

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create a GitHub issue from the command line?▼

Use gh issue create with --title, --body, --label, and --assignee flags. If the gh CLI is unavailable, send a POST request with curl to /repos/{owner}/{repo}/issues using a GITHUB_TOKEN for authentication.

How do I close GitHub issues in bulk with a script?▼

List issue numbers with gh issue list --label and --json number, then pipe them to xargs gh issue close. With curl, fetch issue numbers from the API and loop PATCH requests setting state to closed.

Can I manage GitHub issues without the gh CLI installed?▼

Yes, every operation has a curl fallback that calls the GitHub REST API directly. The skill extracts a token from git credentials or the GITHUB_TOKEN environment variable and derives owner and repo from the git remote URL.

How do I link a GitHub issue to a pull request?▼

Include keywords like Closes #42, Fixes #42, or Resolves #42 in the PR body, and GitHub closes the issue automatically on merge. You can also run gh issue develop 42 --checkout to create a linked branch.

Why does the GitHub issues API also return pull requests?▼

The GitHub REST API treats pull requests as issues, so the /issues endpoint includes both. Filter them out by checking for the pull_request key in each returned item, as shown in the curl examples.