github

Automate GitHub API and gh CLI operations for repositories, issues, and PRs.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/sidpalas/background-agent --skill github-sidpalas
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: github
Source: https://github.com/sidpalas/background-agent/tree/main/.opencode/skill/github
Command: npx skills add https://github.com/sidpalas/background-agent --skill github-sidpalas

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill enables automated GitHub API usage and repository operations from the sandbox, removing manual context switching and credential handling.

Core Features & Use Cases

  • PR creation & code pushes: Use gh CLI to create pull requests and push commits using the sandbox's GH_TOKEN.
  • Repository metadata access: Query user information, repos, issues, and PRs via REST or GraphQL APIs.
  • Use Case: A developer reviews and updates a feature branch by pushing commits and creating a PR without leaving the sandbox.

Quick Start

Use the sandbox to create a pull request in your target repository using the gh CLI with GH_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 sandbox environment?

Automating GitHub pull request creation from a sandbox involves using the gh CLI with the GH_TOKEN to push commits and open PRs directly, removing manual context switching and credential handling.

Can I query GitHub repository metadata using the REST or GraphQL API in a sandbox?

Querying GitHub repository metadata via REST or GraphQL APIs in a sandbox is supported by utilizing the gh CLI and authenticating with the required GH_TOKEN to retrieve user information, repos, and issues.

Do I need a GH_TOKEN to push commits and interact with the GitHub API?

A GH_TOKEN is required for authentication to push commits and interact with the GitHub API, alongside ensuring gh CLI availability and configuring the Git environment for sandbox push operations.

What's the best way to manage GitHub issues and PRs without leaving my development sandbox?

Managing GitHub issues and PRs without leaving a development sandbox is best achieved using the gh CLI, which leverages the GH_TOKEN to automate API interactions, query metadata, and create pull requests.

Does pushing commits from a sandbox require special Git environment setup?

Pushing commits from a sandbox requires specific environment setup to configure Git for pushes, alongside ensuring gh CLI availability and providing a valid GH_TOKEN for authentication.