Access GitHub repositories programmatically using the exe.dev GitHub integration, gh CLI, or REST API. Use when interacting with GitHub repositories, issues, pull requests, workflows, discussions, or actions. On exe.dev VMs, prefer the tokenless GitHub integration before falling back to local gh authentication or GH_TOKEN.
Standardmäßig ist der Prompt ausgewählt, der zuerst die Quelle prüft. Sie können zu einem direkten Befehl wechseln oder eine lokale Kopie herunterladen.
Quelldateien prüfen
Lesen Sie SKILL.md und alle von SkillsMP angezeigten Begleitdateien, bevor Sie sich für eine Installation entscheiden.
Mit Codex oder Claude installieren Kopieren Sie diesen Prompt, fügen Sie ihn in Codex, Claude oder einen anderen Assistant ein und lassen Sie die Skill-Seite prüfen und installieren.
Ein direkter Befehl überspringt den Prüf-Prompt. Prüfen Sie die Quelle, bevor Sie ihn ausführen.
Access GitHub repositories programmatically using the exe.dev GitHub integration, gh CLI, or REST API. Use when interacting with GitHub repositories, issues, pull requests, workflows, discussions, or actions. On exe.dev VMs, prefer the tokenless GitHub integration before falling back to local gh authentication or GH_TOKEN.
GitHub Access
Overview
This skill enables programmatic GitHub access through the exe.dev GitHub integration, the gh CLI, or the REST API with curl. Prefer credentials held outside the VM when exe.dev provides them.
Prerequisites and Tool Selection
Before performing GitHub operations, follow this workflow:
1. Prefer the exe.dev GitHub integration
On an exe.dev VM with gh installed, test the aggregate integration hostname:
GH_HOST=github.int.exe.xyz gh auth status --hostname github.int.exe.xyz
If this succeeds, use the integration for the rest of the task:
No GH_TOKEN is needed. The credential stays outside the VM and is injected at the network edge. Read references/exe-dev-integration.md for setup, repository scope, read-only mode, attribution, cloning, and pushing.
For Git operations, use the integration hostname rather than github.com:
git clone https://github.int.exe.xyz/OWNER/REPO.git
git push https://github.int.exe.xyz/OWNER/REPO.git HEAD
2. Fall back to ordinary GitHub authentication
Only when the exe.dev integration is unavailable:
If gh is installed and succeeds, use with its existing authentication.
gh auth status --hostname github.com
gh
Otherwise, check whether GH_TOKEN is non-empty without printing it:
test -n "${GH_TOKEN:-}"
If no authentication is available, stop and ask the user to configure the exe.dev GitHub integration, run gh auth login, or provide GH_TOKEN. Never print or log token values.
3. Load the appropriate reference
exe.dev integration available: Read references/exe-dev-integration.md, then use references/gh-commands.md.
Use case: Find issues when the user doesn't provide a specific issue number or URL.
When to use: When the user mentions an issue by description, keyword, or topic rather than by number.
With gh:
# Search in specific repository
gh issue list --search "QUERY" --repo OWNER/REPO
# Search with filters
gh issue list --state open --label bug --repo OWNER/REPO
# Search across organization
gh search issues "QUERY" --owner OWNER
Use case: Find pull requests when the user doesn't provide a specific PR number or URL.
When to use: When the user references a PR by description, author, branch name, or topic rather than by number.
With gh:
# Search in specific repository
gh pr list --search "QUERY" --repo OWNER/REPO
# Search with filters
gh pr list --state open --author USERNAME --repo OWNER/REPO
# Search across organization
gh search prs "QUERY" --owner OWNER
Complete list of all available GitHub MCP tools and their parameters. Use this as a reference for understanding available functionality and parameter requirements.
references/exe-dev-integration.md
Use exe.dev's GitHub integration without storing a GitHub token on the VM. Load this first on exe.dev VMs.
references/gh-commands.md
Comprehensive gh CLI commands for all GitHub operations. Load this document when gh is available. Includes: