github

Orchestrate GitHub issues, PRs, and repository metadata via gh CLI, MCP, or REST API.

Updated Jan 24, 2026
One-click install
npx skills add https://github.com/ereferen/zellij-toolbox --skill github-ereferen
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: github
Source: https://github.com/ereferen/zellij-toolbox/tree/main/.claude/skills/github
Command: npx skills add https://github.com/ereferen/zellij-toolbox --skill github-ereferen

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

GitHub operations such as creating issues, listing PRs, and reading repository metadata can be blocked by missing tooling or credentials. This Skill provides a robust, multi-step fallback strategy that automatically uses gh when available, MCP tools when gh is not present, and curl as a last resort to interact with the GitHub REST API.

Core Features & Use Cases

  • Fallback automation for common GitHub tasks (issues, PRs, repo queries) across diverse environments.
  • Authentication handling via GITHUB_TOKEN to access private or restricted resources when available.
  • Flexible platform support, enabling seamless scripting in CI or local development workflows.

Quick Start

List open issues in the current repository.

Frequently Asked Questions about github

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

FAQPage Schema
How do I automate GitHub operations when the gh CLI is missing?

Automate GitHub operations by auto-detecting available tools and falling back to MCP tools or curl REST API calls when gh CLI is missing. This multi-step fallback ensures tasks like reading repository metadata continue executing across diverse environments.

Can I access private repository issues and pull requests with GITHUB_TOKEN?

Yes, you can access private repository issues and pull requests by authenticating with GITHUB_TOKEN. When the token is present, it securely handles authentication to fetch restricted resources; otherwise, it safely performs read-only requests for public data.

What's the best way to interact with the GitHub REST API in CI environments?

The best way to interact with the GitHub REST API in CI environments is using a robust fallback strategy that prioritizes gh CLI, then MCP tools, then curl. This enables seamless scripting and structured outputs suitable for automation workflows.

Does this approach work for both local development and CI automation workflows?

Yes, this approach works for both local development and CI automation workflows by providing flexible platform support. It authenticates with GITHUB_TOKEN when present and switches to read-only requests to guarantee robust command orchestration across environments.

Why does my GitHub API call fail when tooling availability changes?

GitHub API calls fail when tooling availability changes because single-method integrations lack fallback mechanisms. Using a prioritized fallback from gh CLI to MCP tools to curl REST API prevents these failures by auto-detecting available tools and adjusting execution paths.

Do I need credentials to list open issues in a current repository?

No, you do not need credentials to list open issues in a public current repository. The system performs read-only requests automatically when GITHUB_TOKEN is absent, but you must provide the token to access private or restricted repository metadata.