GitHub CLI

GitHub's official command-line tool for issues, pull requests, repositories, workflows, releases, and API calls. Prefer it before GitHub MCP for routine scoped GitHub tasks.

Authorgithub
Updated
githubcliautomation

Overview

GitHub CLI (gh) is the preferred first tool for routine GitHub tasks because it is local, scriptable, easy to inspect with gh help, and returns focused command output.

Common Commands

gh issue list --repo NeexoCore/awesome-neexo
gh pr list --repo NeexoCore/awesome-neexo
gh workflow list --repo NeexoCore/awesome-neexo
gh api repos/NeexoCore/awesome-neexo

CLI vs MCP

Prefer gh when the task is narrow: list issues, inspect a PR, view workflow runs, create an issue, or call one API endpoint.

Use GitHub MCP when the agent needs richer structured GitHub access across multiple operations or when the workflow benefits from MCP tool integration.

Raw content

Copy this into your project — e.g. .instructions.md, .agent.md, or SKILL.md

## Overview

GitHub CLI (`gh`) is the preferred first tool for routine GitHub tasks because it is local, scriptable, easy to inspect with `gh help`, and returns focused command output.

## Common Commands

```bash
gh issue list --repo NeexoCore/awesome-neexo
gh pr list --repo NeexoCore/awesome-neexo
gh workflow list --repo NeexoCore/awesome-neexo
gh api repos/NeexoCore/awesome-neexo
```

## CLI vs MCP

Prefer `gh` when the task is narrow: list issues, inspect a PR, view workflow runs, create an issue, or call one API endpoint.

Use GitHub MCP when the agent needs richer structured GitHub access across multiple operations or when the workflow benefits from MCP tool integration.