github

Automates GitHub repository, pull request, issue, and workflow management via API and CLI.

134|67|Updated Nov 24, 2025
One-click install
npx skills add https://github.com/OpenHands/skills --skill github-openhands
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: github
Source: https://github.com/OpenHands/skills/tree/main/skills/github
Command: npx skills add https://github.com/OpenHands/skills --skill github-openhands

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill enables teams to manage GitHub repositories, pull requests, issues, and workflows by leveraging the GITHUB_TOKEN and GitHub CLI to streamline collaboration, automation, and governance across codebases.

Core Features & Use Cases

  • API-driven management: perform repository, PR, issue, and workflow operations via the GitHub API.
  • CLI-powered actions: create PRs, monitor workflow runs, check status, and manage issues using gh.
  • Use Case: automatically create a PR from a feature branch, assign reviewers, and label the PR as part of a release workflow.

Quick Start

Use the github skill to create a PR or manage issues by invoking gh commands with the GITHUB_TOKEN.

Frequently Asked Questions about github

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

FAQPage Schema
How do I automate GitHub pull request creation from a feature branch?

You can automate GitHub pull request creation by using the GitHub CLI and API calls to open PRs from a feature branch. This requires a GITHUB_TOKEN to authenticate and streamline the release workflow.

Can I manage GitHub issues and assign reviewers using the CLI?

Yes, you can manage GitHub issues and assign reviewers using the GitHub CLI. The skill leverages API calls to perform issue triage, assign reviewers, and apply labels directly from your terminal.

How do I monitor GitHub workflow runs and check status via API?

Monitor GitHub workflow runs and check status by executing GitHub CLI commands with a valid GITHUB_TOKEN. This enables you to track CI checks and workflow states directly through API-driven queries.

Do I need a GITHUB_TOKEN to perform repository management tasks?

Yes, a GITHUB_TOKEN is required to authenticate API calls and GitHub CLI actions for repository management. You also need the GitHub CLI installed to execute commands for PRs and issues.

What is the best way to streamline GitHub codebase governance and collaboration?

Streamline GitHub codebase governance and collaboration by leveraging the GitHub CLI and API to automate repository operations. This enables faster PR reviews, issue triage, and workflow management across codebases.

Why does my GitHub CLI command fail when creating a PR?

GitHub CLI commands fail when creating a PR if the GITHUB_TOKEN is missing or lacks permissions. Ensure the token is configured correctly and the GitHub CLI is installed to authorize repository access.