github

Automate GitHub issues, PRs, and workflow data with the gh CLI.

2|Updated Feb 3, 2026
One-click install
npx skills add https://github.com/cameronmaske/agent-stuff --skill github-cameronmaske
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: github
Source: https://github.com/cameronmaske/agent-stuff/tree/main/skills/github
Command: npx skills add https://github.com/cameronmaske/agent-stuff --skill github-cameronmaske

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill enables you to automate common GitHub operations from the command line using the gh CLI, reducing manual navigation between UI and terminal and speeding up development workflows.

Core Features & Use Cases

  • Issue and PR management: create, list, assign, and review issues and pull requests from scripts or prompts.
  • CI/worflows and API access: check action runs, fetch status, inspect logs, and retrieve data not exposed by other subcommands.
  • Automation & scripting: compose multi-step actions by chaining gh commands and integrating with custom scripts.

Quick Start

Start by listing open PRs for a repo: gh pr list --repo owner/repo --state open Create an issue in a project not in a git directory: gh issue create --title "Sample issue" --body "Describe the issue" --repo owner/repo Check the status of the latest workflow run: gh run list --repo owner/repo --limit 5

Frequently Asked Questions about github

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

FAQPage Schema
How do I automate GitHub issue and pull request management from the command line?

Automate GitHub issue and PR management by executing gh CLI commands to create, list, assign, and review items directly from scripts. You can scope operations to specific projects using the --repo flag to manage multiple repositories.

How do I check CI workflow status and retrieve logs for a GitHub repository?

Check CI workflow status by running gh CLI commands like gh run list to fetch action runs and inspect logs. This retrieves the latest workflow data and execution status for a specified repository without navigating the web UI.

Can I use the GitHub API to retrieve repository data not exposed by standard subcommands?

Access GitHub API endpoints directly using the gh api command to retrieve repository data not exposed by standard subcommands. This allows for advanced data retrieval and custom automation workflows across multiple repositories.

What is the best way to create an issue in a GitHub repository outside my current git directory?

Create an issue outside a git directory by using the gh issue create command with the --repo owner/repo flag. Provide the --title and --body parameters to define the issue content for the targeted repository.

Does this approach to GitHub automation work for managing multiple software projects at scale?

Yes, this approach works for multiple software projects by applying the --repo flag to scope gh CLI commands across different repositories. It enables rapid issue tracking, PR review, and CI workflow checks for various teams.