GitHub CLI (gh) Overview Expert guidance for GitHub CLI (gh) operations and workflows. Use this skill for command-line GitHub operations including pull request management, issue tracking, repository operations, workflow automation, and codespace management. Key capabilities: - Create and manage pull requests from the terminal - Track and organize issues efficiently - Search across all of GitHub (repos, issues, PRs) - Manage labels and project organization - Trigger and monitor GitHub Actions workflows - Work with codespaces - Automate repository operations and releases - Browse repositories,…

)\ngh run watch \"$RUN_ID\"\n```\n\n### Check CI Status Before Merge\n\n```bash\n# Check all checks pass before merging\ngh pr checks 123 && gh pr merge 123 --squash\n\n# Wait for checks to complete\ngh pr checks 123 --watch && gh pr merge 123 --squash\n\n# Check specific required checks\ngh pr view 123 --json statusCheckRollup --jq '.statusCheckRollup[] | select(.conclusion != \"SUCCESS\")'\n```\n\n### Auto-merge on Success\n\n```bash\n# Enable auto-merge when checks pass\ngh pr merge 123 --auto --squash\n\n# Enable auto-merge with specific merge method\ngh pr merge 123 --auto --merge\ngh pr merge 123 --auto --rebase\n\n# Disable auto-merge\ngh pr merge 123 --disable-auto\n```\n\n### Monitor Multiple Workflows\n\n```bash\n# Watch all active workflow runs\ngh run list --status=in_progress --json databaseId,name,headBranch | \\\n jq -r '.[] | \"\\(.databaseId) - \\(.name) on \\(.headBranch)\"'\n\n# Check status of all workflows for current commit\nCOMMIT=$(git rev-parse HEAD)\ngh run list --commit=$COMMIT --json status,conclusion,name\n```\n\n### Workflow Run Analytics\n\n```bash\n# Get average duration for workflow\ngh run list --workflow=ci.yml --limit=50 --json createdAt,updatedAt,conclusion | \\\n jq '[.[] | select(.conclusion == \"success\") |\n ((.updatedAt | fromdateiso8601) - (.createdAt | fromdateiso8601))] |\n add / length / 60'\n\n# Count failed runs in last 30 days\ngh run list --created=\">=$(date -v-30d +%Y-%m-%d)\" --status=failure --json id | jq '. | length'\n\n# List slowest workflow runs\ngh run list --workflow=ci.yml --limit=20 --json databaseId,createdAt,updatedAt,conclusion | \\\n jq 'sort_by((.updatedAt | fromdateiso8601) - (.createdAt | fromdateiso8601)) | reverse | .[:5]'\n```\n\n### Conditional Workflow Execution\n\n```bash\n# Trigger workflow only if tests pass locally\nnpm test && gh workflow run deploy.yml -f environment=staging\n\n# Chain workflows\ngh workflow run build.yml && \\\n sleep 10 && \\\n gh run watch $(gh run list --workflow=build.yml --limit 1 -q '.[0].databaseId') && \\\n gh workflow run deploy.yml\n```\n\n### Retrieve Workflow Job Logs\n\n```bash\n# Download logs for a specific run\ngh run view 123456 --log > workflow-logs.txt\n\n# Download logs for failed jobs only\ngh run view 123456 --log-failed > failed-jobs.txt\n\n# View logs for specific job\ngh api repos/:owner/:repo/actions/jobs/JOB_ID/logs > job.log\n```\n\n## Advanced Workflow Management\n\n### Using JSON Output for Scripting\n\n```bash\n# Get workflow run details as JSON\ngh run view 123456 --json status,conclusion,startedAt,url\n\n# Parse specific fields\ngh run view 123456 --json conclusion -q '.conclusion'\n\n# List all failed runs with details\ngh run list --status=failure --json databaseId,name,headBranch,conclusion,createdAt\n\n# Get workflow run URL programmatically\ngh run view 123456 --json url -q '.url'\n```\n\n### Workflow Environment Secrets\n\n```bash\n# List repository secrets (requires admin access)\ngh secret list\n\n# Set a secret\ngh secret set SECRET_NAME \u003c secret.txt\ngh secret set SECRET_NAME --body \"secret-value\"\n\n# List organization secrets\ngh secret list --org organization-name\n```\n\n### Workflow Variables\n\n```bash\n# List repository variables\ngh variable list\n\n# Set a variable\ngh variable set VAR_NAME --body \"value\"\n```\n\n## Troubleshooting\n\n### Debug Failed Runs\n\n```bash\n# View failed run with logs\ngh run view 123456 --log-failed\n\n# List failed jobs in a run\ngh run view 123456 --json jobs --jq '.jobs[] | select(.conclusion == \"failure\") | {name, conclusion}'\n\n# Rerun failed jobs with debug logging\ngh run rerun 123456 --failed --debug\n```\n\n### Check Workflow File Syntax\n\n```bash\n# View workflow file\ngh workflow view ci.yml\n\n# Download workflow file\ngh api repos/:owner/:repo/contents/.github/workflows/ci.yml --jq '.content' | base64 -d\n\n# List all workflow files\ngh api repos/:owner/:repo/contents/.github/workflows --jq '.[] | .name'\n```\n\n## Best Practices\n\n01. **Use specific workflow names** when triggering or listing runs to avoid ambiguity\n02. **Enable auto-merge** for PRs to merge automatically when CI passes\n03. **Monitor workflow cache** regularly to prevent cache bloat\n04. **Use JSON output** for scripting and automation\n05. **Watch runs interactively** during development to catch failures quickly\n06. **Clean up old workflow runs** to keep repository tidy\n07. **Use workflow dispatch inputs** for flexible, reusable workflows\n08. **Set appropriate timeouts** to prevent workflows from running indefinitely\n09. **Use artifacts judiciously** - they count against storage limits\n10. **Leverage caching** to speed up workflows and reduce costs\n","content_type":"text/markdown; charset=utf-8","language":"markdown","size":7784,"content_sha256":"022b41718a8c8eba3cd934d56f953ce34ffabd890e3fc774ff50728530e410aa"}],"content_json":{"type":"doc","content":[{"type":"heading","attrs":{"level":1},"content":[{"text":"GitHub CLI (gh)","type":"text"}]},{"type":"heading","attrs":{"level":2},"content":[{"text":"Overview","type":"text"}]},{"type":"paragraph","content":[{"text":"Expert guidance for GitHub CLI (gh) operations and workflows. Use this skill for command-line GitHub operations including pull request management, issue tracking, repository operations, workflow automation, and codespace management.","type":"text"}]},{"type":"paragraph","content":[{"text":"Key capabilities:","type":"text","marks":[{"type":"strong"}]}]},{"type":"bullet_list","content":[{"type":"list_item","content":[{"type":"paragraph","content":[{"text":"Create and manage pull requests from the terminal","type":"text"}]}]},{"type":"list_item","content":[{"type":"paragraph","content":[{"text":"Track and organize issues efficiently","type":"text"}]}]},{"type":"list_item","content":[{"type":"paragraph","content":[{"text":"Search across all of GitHub (repos, issues, PRs)","type":"text"}]}]},{"type":"list_item","content":[{"type":"paragraph","content":[{"text":"Manage labels and project organization","type":"text"}]}]},{"type":"list_item","content":[{"type":"paragraph","content":[{"text":"Trigger and monitor GitHub Actions workflows","type":"text"}]}]},{"type":"list_item","content":[{"type":"paragraph","content":[{"text":"Work with codespaces","type":"text"}]}]},{"type":"list_item","content":[{"type":"paragraph","content":[{"text":"Automate repository operations and releases","type":"text"}]}]},{"type":"list_item","content":[{"type":"paragraph","content":[{"text":"Browse repositories, PRs, and files in the browser","type":"text"}]}]}]},{"type":"heading","attrs":{"level":2},"content":[{"text":"Safety Rules","type":"text"}]},{"type":"paragraph","content":[{"text":"CRITICAL: This skill NEVER uses destructive gh CLI operations.","type":"text","marks":[{"type":"strong"}]}]},{"type":"paragraph","content":[{"text":"This skill focuses exclusively on safe, read-only, or reversible GitHub operations. The following commands are ","type":"text"},{"text":"PROHIBITED","type":"text","marks":[{"type":"strong"}]},{"text":" and must ","type":"text"},{"text":"NEVER","type":"text","marks":[{"type":"strong"}]},{"text":" be used:","type":"text"}]},{"type":"paragraph","content":[{"text":"Permanently destructive commands:","type":"text","marks":[{"type":"strong"}]}]},{"type":"bullet_list","content":[{"type":"list_item","content":[{"type":"paragraph","content":[{"text":"gh repo delete","type":"text","marks":[{"type":"code_inline"}]},{"text":" - Repository deletion","type":"text"}]}]},{"type":"list_item","content":[{"type":"paragraph","content":[{"text":"gh repo archive","type":"text","marks":[{"type":"code_inline"}]},{"text":" - Repository archival","type":"text"}]}]},{"type":"list_item","content":[{"type":"paragraph","content":[{"text":"gh release delete","type":"text","marks":[{"type":"code_inline"}]},{"text":" - Release deletion","type":"text"}]}]},{"type":"list_item","content":[{"type":"paragraph","content":[{"text":"gh release delete-asset","type":"text","marks":[{"type":"code_inline"}]},{"text":" - Asset deletion","type":"text"}]}]},{"type":"list_item","content":[{"type":"paragraph","content":[{"text":"gh run delete","type":"text","marks":[{"type":"code_inline"}]},{"text":" - Workflow run deletion","type":"text"}]}]},{"type":"list_item","content":[{"type":"paragraph","content":[{"text":"gh cache delete","type":"text","marks":[{"type":"code_inline"}]},{"text":" - Cache deletion","type":"text"}]}]},{"type":"list_item","content":[{"type":"paragraph","content":[{"text":"gh secret delete","type":"text","marks":[{"type":"code_inline"}]},{"text":" - Secret deletion","type":"text"}]}]},{"type":"list_item","content":[{"type":"paragraph","content":[{"text":"gh variable delete","type":"text","marks":[{"type":"code_inline"}]},{"text":" - Variable deletion","type":"text"}]}]},{"type":"list_item","content":[{"type":"paragraph","content":[{"text":"gh label delete","type":"text","marks":[{"type":"code_inline"}]},{"text":" - Label deletion","type":"text"}]}]},{"type":"list_item","content":[{"type":"paragraph","content":[{"text":"gh ssh-key delete","type":"text","marks":[{"type":"code_inline"}]},{"text":" - SSH key deletion (can lock out users)","type":"text"}]}]},{"type":"list_item","content":[{"type":"paragraph","content":[{"text":"gh gpg-key delete","type":"text","marks":[{"type":"code_inline"}]},{"text":" - GPG key deletion","type":"text"}]}]},{"type":"list_item","content":[{"type":"paragraph","content":[{"text":"gh codespace delete","type":"text","marks":[{"type":"code_inline"}]},{"text":" - Codespace deletion","type":"text"}]}]},{"type":"list_item","content":[{"type":"paragraph","content":[{"text":"gh extension remove","type":"text","marks":[{"type":"code_inline"}]},{"text":" - Extension removal","type":"text"}]}]},{"type":"list_item","content":[{"type":"paragraph","content":[{"text":"gh gist delete","type":"text","marks":[{"type":"code_inline"}]},{"text":" - Gist deletion","type":"text"}]}]},{"type":"list_item","content":[{"type":"paragraph","content":[{"text":"Bulk deletion operations using ","type":"text"},{"text":"xargs","type":"text","marks":[{"type":"code_inline"}]},{"text":" with any destructive commands","type":"text"}]}]},{"type":"list_item","content":[{"type":"paragraph","content":[{"text":"Shell commands: ","type":"text"},{"text":"rm -rf","type":"text","marks":[{"type":"code_inline"}]},{"text":" (except for temporary file cleanup)","type":"text"}]}]}]},{"type":"paragraph","content":[{"text":"Allowed operations:","type":"text","marks":[{"type":"strong"}]}]},{"type":"bullet_list","content":[{"type":"list_item","content":[{"type":"paragraph","content":[{"text":"Creating resources (PRs, issues, releases, labels, repos)","type":"text"}]}]},{"type":"list_item","content":[{"type":"paragraph","content":[{"text":"Viewing and listing (status, logs, information, searches)","type":"text"}]}]},{"type":"list_item","content":[{"type":"paragraph","content":[{"text":"Updating and editing existing resources","type":"text"}]}]},{"type":"list_item","content":[{"type":"paragraph","content":[{"text":"Closing PRs/issues (reversible - can be reopened)","type":"text"}]}]},{"type":"list_item","content":[{"type":"paragraph","content":[{"text":"Reverting pull requests (creates a new revert PR)","type":"text"}]}]},{"type":"list_item","content":[{"type":"paragraph","content":[{"text":"Canceling workflow runs (stops execution without deleting data)","type":"text"}]}]},{"type":"list_item","content":[{"type":"paragraph","content":[{"text":"Merging pull requests (after proper review)","type":"text"}]}]},{"type":"list_item","content":[{"type":"paragraph","content":[{"text":"Read-only git operations (","type":"text"},{"text":"git status","type":"text","marks":[{"type":"code_inline"}]},{"text":", ","type":"text"},{"text":"git log","type":"text","marks":[{"type":"code_inline"}]},{"text":", ","type":"text"},{"text":"git diff","type":"text","marks":[{"type":"code_inline"}]},{"text":")","type":"text"}]}]}]},{"type":"heading","attrs":{"level":2},"content":[{"text":"Installation & Setup","type":"text"}]},{"type":"code_block","attrs":{"wrap":false,"language":"bash"},"content":[{"text":"# Login to GitHub\ngh auth login\n\n# Login and copy OAuth code to clipboard automatically\ngh auth login --clipboard\n\n# Check authentication status\ngh auth status\n\n# Check auth status with JSON output\ngh auth status --json\n\n# Configure git to use gh as credential helper\ngh auth setup-git","type":"text"}]},{"type":"heading","attrs":{"level":2},"content":[{"text":"Pull Requests","type":"text"}]},{"type":"heading","attrs":{"level":3},"content":[{"text":"Creating PRs","type":"text"}]},{"type":"code_block","attrs":{"wrap":false,"language":"bash"},"content":[{"text":"# Create PR interactively\ngh pr create\n\n# Create PR with title and body\ngh pr create --title \"Add feature\" --body \"Description\"\n\n# Create PR to specific branch\ngh pr create --base main --head feature-branch\n\n# Create draft PR\ngh pr create --draft\n\n# Create PR from current branch\ngh pr create --fill # Uses commit messages\n\n# Create PR with Copilot Code Review\ngh pr create --reviewer @copilot","type":"text"}]},{"type":"heading","attrs":{"level":3},"content":[{"text":"Viewing PRs","type":"text"}]},{"type":"code_block","attrs":{"wrap":false,"language":"bash"},"content":[{"text":"# List PRs\ngh pr list\n\n# List my PRs\ngh pr list --author @me\n\n# View PR details\ngh pr view 123\n\n# View PR in browser\ngh pr view 123 --web\n\n# View PR diff\ngh pr diff 123\n\n# View PR diff excluding specific files\ngh pr diff 123 --exclude \"*.lock\"\n\n# Check PR status\ngh pr status","type":"text"}]},{"type":"heading","attrs":{"level":3},"content":[{"text":"Managing PRs","type":"text"}]},{"type":"code_block","attrs":{"wrap":false,"language":"bash"},"content":[{"text":"# Checkout PR locally\ngh pr checkout 123\n\n# Review PR\ngh pr review 123 --approve\ngh pr review 123 --comment --body \"Looks good!\"\ngh pr review 123 --request-changes --body \"Please fix X\"\n\n# Request Copilot Code Review\ngh pr edit 123 --add-reviewer @copilot\n\n# Merge PR\ngh pr merge 123\ngh pr merge 123 --squash\ngh pr merge 123 --rebase\ngh pr merge 123 --merge\n\n# Close PR\ngh pr close 123\n\n# Reopen PR\ngh pr reopen 123\n\n# Ready draft PR\ngh pr ready 123\n\n# Update PR branch with base branch\ngh pr update-branch 123\n\n# Revert a merged PR (creates a new revert PR)\ngh pr revert 123","type":"text"}]},{"type":"heading","attrs":{"level":3},"content":[{"text":"PR Checks","type":"text"}]},{"type":"code_block","attrs":{"wrap":false,"language":"bash"},"content":[{"text":"# View PR checks\ngh pr checks 123\n\n# Watch PR checks\ngh pr checks 123 --watch","type":"text"}]},{"type":"heading","attrs":{"level":2},"content":[{"text":"Issues","type":"text"}]},{"type":"heading","attrs":{"level":3},"content":[{"text":"Creating Issues","type":"text"}]},{"type":"code_block","attrs":{"wrap":false,"language":"bash"},"content":[{"text":"# Create issue interactively\ngh issue create\n\n# Create issue with title and body\ngh issue create --title \"Bug report\" --body \"Description\"\n\n# Create issue with labels\ngh issue create --title \"Bug\" --label bug,critical\n\n# Assign issue\ngh issue create --title \"Task\" --assignee @me","type":"text"}]},{"type":"heading","attrs":{"level":3},"content":[{"text":"Viewing Issues","type":"text"}]},{"type":"code_block","attrs":{"wrap":false,"language":"bash"},"content":[{"text":"# List issues\ngh issue list\n\n# List my issues\ngh issue list --assignee @me\n\n# List by label\ngh issue list --label bug\n\n# Advanced issue search\ngh issue list --search \"is:open label:bug sort:created-desc\"\n\n# View issue details\ngh issue view 456\n\n# View in browser\ngh issue view 456 --web","type":"text"}]},{"type":"heading","attrs":{"level":3},"content":[{"text":"Managing Issues","type":"text"}]},{"type":"code_block","attrs":{"wrap":false,"language":"bash"},"content":[{"text":"# Close issue\ngh issue close 456\n\n# Close as duplicate, linking to the original issue\ngh issue close 123 --duplicate-of 456\n\n# Reopen issue\ngh issue reopen 456\n\n# Edit issue\ngh issue edit 456 --title \"New title\"\ngh issue edit 456 --add-label bug\ngh issue edit 456 --add-assignee @user\n\n# Comment on issue\ngh issue comment 456 --body \"Update\"\n\n# Create branch to work on issue\ngh issue develop 456 --checkout","type":"text"}]},{"type":"heading","attrs":{"level":2},"content":[{"text":"Repository Operations","type":"text"}]},{"type":"heading","attrs":{"level":3},"content":[{"text":"Repository Info","type":"text"}]},{"type":"code_block","attrs":{"wrap":false,"language":"bash"},"content":[{"text":"# View repository\ngh repo view\n\n# View in browser\ngh repo view --web\n\n# Clone repository\ngh repo clone owner/repo\n\n# Clone without adding upstream remote\ngh repo clone owner/repo --no-upstream\n\n# Fork repository\ngh repo fork owner/repo\n\n# List repositories\ngh repo list owner","type":"text"}]},{"type":"heading","attrs":{"level":3},"content":[{"text":"Repository Management","type":"text"}]},{"type":"code_block","attrs":{"wrap":false,"language":"bash"},"content":[{"text":"# Create repository\ngh repo create my-repo --public\ngh repo create my-repo --private\n\n# Sync fork\ngh repo sync owner/repo\n\n# Set default repository\ngh repo set-default","type":"text"}]},{"type":"heading","attrs":{"level":2},"content":[{"text":"Search","type":"text"}]},{"type":"paragraph","content":[{"text":"When the user asks to search GitHub repositories, issues, or pull requests, see ","type":"text"},{"text":"references/search.md","type":"text","marks":[{"type":"link","attrs":{"href":"references/search.md","title":null}}]},{"text":".","type":"text"}]},{"type":"heading","attrs":{"level":2},"content":[{"text":"Labels","type":"text"}]},{"type":"paragraph","content":[{"text":"When the user asks to list, create, edit, or clone repository labels, see ","type":"text"},{"text":"references/labels.md","type":"text","marks":[{"type":"link","attrs":{"href":"references/labels.md","title":null}}]},{"text":".","type":"text"}]},{"type":"heading","attrs":{"level":2},"content":[{"text":"Codespaces","type":"text"}]},{"type":"paragraph","content":[{"text":"When the user asks to list, create, connect to, or manage files within GitHub Codespaces, see ","type":"text"},{"text":"references/codespaces.md","type":"text","marks":[{"type":"link","attrs":{"href":"references/codespaces.md","title":null}}]},{"text":".","type":"text"}]},{"type":"heading","attrs":{"level":2},"content":[{"text":"Browse","type":"text"}]},{"type":"paragraph","content":[{"text":"Open repositories, files, and resources in the browser.","type":"text"}]},{"type":"code_block","attrs":{"wrap":false,"language":"bash"},"content":[{"text":"# Open current repo in browser\ngh browse\n\n# Open specific file\ngh browse src/main.go\n\n# Open file at specific line\ngh browse src/main.go:42\n\n# Open blame view for a file\ngh browse --blame src/main.go\n\n# Open Actions tab\ngh browse --actions\n\n# Open specific branch\ngh browse --branch feature","type":"text"}]},{"type":"heading","attrs":{"level":2},"content":[{"text":"Releases","type":"text"}]},{"type":"paragraph","content":[{"text":"When the user asks to create, list, view, or download GitHub releases, see ","type":"text"},{"text":"references/releases.md","type":"text","marks":[{"type":"link","attrs":{"href":"references/releases.md","title":null}}]},{"text":".","type":"text"}]},{"type":"heading","attrs":{"level":2},"content":[{"text":"Gists","type":"text"}]},{"type":"paragraph","content":[{"text":"When the user asks to create, list, view, or edit GitHub gists, see ","type":"text"},{"text":"references/gists.md","type":"text","marks":[{"type":"link","attrs":{"href":"references/gists.md","title":null}}]},{"text":".","type":"text"}]},{"type":"heading","attrs":{"level":2},"content":[{"text":"Configuration","type":"text"}]},{"type":"code_block","attrs":{"wrap":false,"language":"bash"},"content":[{"text":"# Set default editor\ngh config set editor vim\n\n# Set default git protocol\ngh config set git_protocol ssh\n\n# View configuration\ngh config list\n\n# Set browser\ngh config set browser firefox","type":"text"}]},{"type":"heading","attrs":{"level":2},"content":[{"text":"Quick Reference","type":"text"}]},{"type":"paragraph","content":[{"text":"Common gh operations at a glance:","type":"text"}]},{"type":"table","attrs":{"layout":null},"content":[{"type":"tr","content":[{"type":"th","attrs":{"colspan":1,"rowspan":1,"colwidth":null,"alignment":""},"content":[{"type":"paragraph","content":[{"text":"Operation","type":"text"}]}]},{"type":"th","attrs":{"colspan":1,"rowspan":1,"colwidth":null,"alignment":""},"content":[{"type":"paragraph","content":[{"text":"Command","type":"text"}]}]},{"type":"th","attrs":{"colspan":1,"rowspan":1,"colwidth":null,"alignment":""},"content":[{"type":"paragraph","content":[{"text":"Common Flags","type":"text"}]}]}]},{"type":"tr","content":[{"type":"td","attrs":{"colspan":1,"rowspan":1,"colwidth":null,"alignment":""},"content":[{"type":"paragraph","content":[{"text":"Create PR","type":"text"}]}]},{"type":"td","attrs":{"colspan":1,"rowspan":1,"colwidth":null,"alignment":""},"content":[{"type":"paragraph","content":[{"text":"gh pr create","type":"text","marks":[{"type":"code_inline"}]}]}]},{"type":"td","attrs":{"colspan":1,"rowspan":1,"colwidth":null,"alignment":""},"content":[{"type":"paragraph","content":[{"text":"--draft","type":"text","marks":[{"type":"code_inline"}]},{"text":", ","type":"text"},{"text":"--fill","type":"text","marks":[{"type":"code_inline"}]},{"text":", ","type":"text"},{"text":"--reviewer @copilot","type":"text","marks":[{"type":"code_inline"}]}]}]}]},{"type":"tr","content":[{"type":"td","attrs":{"colspan":1,"rowspan":1,"colwidth":null,"alignment":""},"content":[{"type":"paragraph","content":[{"text":"List PRs","type":"text"}]}]},{"type":"td","attrs":{"colspan":1,"rowspan":1,"colwidth":null,"alignment":""},"content":[{"type":"paragraph","content":[{"text":"gh pr list","type":"text","marks":[{"type":"code_inline"}]}]}]},{"type":"td","attrs":{"colspan":1,"rowspan":1,"colwidth":null,"alignment":""},"content":[{"type":"paragraph","content":[{"text":"--author @me","type":"text","marks":[{"type":"code_inline"}]},{"text":", ","type":"text"},{"text":"--label","type":"text","marks":[{"type":"code_inline"}]},{"text":", ","type":"text"},{"text":"--search","type":"text","marks":[{"type":"code_inline"}]}]}]}]},{"type":"tr","content":[{"type":"td","attrs":{"colspan":1,"rowspan":1,"colwidth":null,"alignment":""},"content":[{"type":"paragraph","content":[{"text":"View PR","type":"text"}]}]},{"type":"td","attrs":{"colspan":1,"rowspan":1,"colwidth":null,"alignment":""},"content":[{"type":"paragraph","content":[{"text":"gh pr view \u003cnumber>","type":"text","marks":[{"type":"code_inline"}]}]}]},{"type":"td","attrs":{"colspan":1,"rowspan":1,"colwidth":null,"alignment":""},"content":[{"type":"paragraph","content":[{"text":"--web","type":"text","marks":[{"type":"code_inline"}]},{"text":", ","type":"text"},{"text":"--comments","type":"text","marks":[{"type":"code_inline"}]}]}]}]},{"type":"tr","content":[{"type":"td","attrs":{"colspan":1,"rowspan":1,"colwidth":null,"alignment":""},"content":[{"type":"paragraph","content":[{"text":"Merge PR","type":"text"}]}]},{"type":"td","attrs":{"colspan":1,"rowspan":1,"colwidth":null,"alignment":""},"content":[{"type":"paragraph","content":[{"text":"gh pr merge \u003cnumber>","type":"text","marks":[{"type":"code_inline"}]}]}]},{"type":"td","attrs":{"colspan":1,"rowspan":1,"colwidth":null,"alignment":""},"content":[{"type":"paragraph","content":[{"text":"--squash","type":"text","marks":[{"type":"code_inline"}]},{"text":", ","type":"text"},{"text":"--rebase","type":"text","marks":[{"type":"code_inline"}]},{"text":", ","type":"text"},{"text":"--delete-branch","type":"text","marks":[{"type":"code_inline"}]}]}]}]},{"type":"tr","content":[{"type":"td","attrs":{"colspan":1,"rowspan":1,"colwidth":null,"alignment":""},"content":[{"type":"paragraph","content":[{"text":"Revert PR","type":"text"}]}]},{"type":"td","attrs":{"colspan":1,"rowspan":1,"colwidth":null,"alignment":""},"content":[{"type":"paragraph","content":[{"text":"gh pr revert \u003cnumber>","type":"text","marks":[{"type":"code_inline"}]}]}]},{"type":"td","attrs":{"colspan":1,"rowspan":1,"colwidth":null,"alignment":""},"content":[{"type":"paragraph","content":[{"text":"--body","type":"text","marks":[{"type":"code_inline"}]}]}]}]},{"type":"tr","content":[{"type":"td","attrs":{"colspan":1,"rowspan":1,"colwidth":null,"alignment":""},"content":[{"type":"paragraph","content":[{"text":"Create issue","type":"text"}]}]},{"type":"td","attrs":{"colspan":1,"rowspan":1,"colwidth":null,"alignment":""},"content":[{"type":"paragraph","content":[{"text":"gh issue create","type":"text","marks":[{"type":"code_inline"}]}]}]},{"type":"td","attrs":{"colspan":1,"rowspan":1,"colwidth":null,"alignment":""},"content":[{"type":"paragraph","content":[{"text":"--title","type":"text","marks":[{"type":"code_inline"}]},{"text":", ","type":"text"},{"text":"--body","type":"text","marks":[{"type":"code_inline"}]},{"text":", ","type":"text"},{"text":"--label","type":"text","marks":[{"type":"code_inline"}]}]}]}]},{"type":"tr","content":[{"type":"td","attrs":{"colspan":1,"rowspan":1,"colwidth":null,"alignment":""},"content":[{"type":"paragraph","content":[{"text":"List issues","type":"text"}]}]},{"type":"td","attrs":{"colspan":1,"rowspan":1,"colwidth":null,"alignment":""},"content":[{"type":"paragraph","content":[{"text":"gh issue list","type":"text","marks":[{"type":"code_inline"}]}]}]},{"type":"td","attrs":{"colspan":1,"rowspan":1,"colwidth":null,"alignment":""},"content":[{"type":"paragraph","content":[{"text":"--assignee @me","type":"text","marks":[{"type":"code_inline"}]},{"text":", ","type":"text"},{"text":"--label","type":"text","marks":[{"type":"code_inline"}]},{"text":", ","type":"text"},{"text":"--search","type":"text","marks":[{"type":"code_inline"}]}]}]}]},{"type":"tr","content":[{"type":"td","attrs":{"colspan":1,"rowspan":1,"colwidth":null,"alignment":""},"content":[{"type":"paragraph","content":[{"text":"Close issue","type":"text"}]}]},{"type":"td","attrs":{"colspan":1,"rowspan":1,"colwidth":null,"alignment":""},"content":[{"type":"paragraph","content":[{"text":"gh issue close \u003cnumber>","type":"text","marks":[{"type":"code_inline"}]}]}]},{"type":"td","attrs":{"colspan":1,"rowspan":1,"colwidth":null,"alignment":""},"content":[{"type":"paragraph","content":[{"text":"--duplicate-of","type":"text","marks":[{"type":"code_inline"}]},{"text":", ","type":"text"},{"text":"--reason","type":"text","marks":[{"type":"code_inline"}]}]}]}]},{"type":"tr","content":[{"type":"td","attrs":{"colspan":1,"rowspan":1,"colwidth":null,"alignment":""},"content":[{"type":"paragraph","content":[{"text":"View issue","type":"text"}]}]},{"type":"td","attrs":{"colspan":1,"rowspan":1,"colwidth":null,"alignment":""},"content":[{"type":"paragraph","content":[{"text":"gh issue view \u003cnumber>","type":"text","marks":[{"type":"code_inline"}]}]}]},{"type":"td","attrs":{"colspan":1,"rowspan":1,"colwidth":null,"alignment":""},"content":[{"type":"paragraph","content":[{"text":"--web","type":"text","marks":[{"type":"code_inline"}]},{"text":", ","type":"text"},{"text":"--comments","type":"text","marks":[{"type":"code_inline"}]}]}]}]},{"type":"tr","content":[{"type":"td","attrs":{"colspan":1,"rowspan":1,"colwidth":null,"alignment":""},"content":[{"type":"paragraph","content":[{"text":"Browse repo","type":"text"}]}]},{"type":"td","attrs":{"colspan":1,"rowspan":1,"colwidth":null,"alignment":""},"content":[{"type":"paragraph","content":[{"text":"gh browse","type":"text","marks":[{"type":"code_inline"}]}]}]},{"type":"td","attrs":{"colspan":1,"rowspan":1,"colwidth":null,"alignment":""},"content":[{"type":"paragraph","content":[{"text":"--blame","type":"text","marks":[{"type":"code_inline"}]},{"text":", ","type":"text"},{"text":"--actions","type":"text","marks":[{"type":"code_inline"}]},{"text":", ","type":"text"},{"text":"--branch","type":"text","marks":[{"type":"code_inline"}]}]}]}]},{"type":"tr","content":[{"type":"td","attrs":{"colspan":1,"rowspan":1,"colwidth":null,"alignment":""},"content":[{"type":"paragraph","content":[{"text":"Clone repo","type":"text"}]}]},{"type":"td","attrs":{"colspan":1,"rowspan":1,"colwidth":null,"alignment":""},"content":[{"type":"paragraph","content":[{"text":"gh repo clone \u003crepo>","type":"text","marks":[{"type":"code_inline"}]}]}]},{"type":"td","attrs":{"colspan":1,"rowspan":1,"colwidth":null,"alignment":""},"content":[{"type":"paragraph","content":[{"text":"--no-upstream","type":"text","marks":[{"type":"code_inline"}]}]}]}]},{"type":"tr","content":[{"type":"td","attrs":{"colspan":1,"rowspan":1,"colwidth":null,"alignment":""},"content":[{"type":"paragraph","content":[{"text":"Fork repo","type":"text"}]}]},{"type":"td","attrs":{"colspan":1,"rowspan":1,"colwidth":null,"alignment":""},"content":[{"type":"paragraph","content":[{"text":"gh repo fork","type":"text","marks":[{"type":"code_inline"}]}]}]},{"type":"td","attrs":{"colspan":1,"rowspan":1,"colwidth":null,"alignment":""},"content":[{"type":"paragraph","content":[{"text":"--clone","type":"text","marks":[{"type":"code_inline"}]},{"text":", ","type":"text"},{"text":"--remote","type":"text","marks":[{"type":"code_inline"}]}]}]}]},{"type":"tr","content":[{"type":"td","attrs":{"colspan":1,"rowspan":1,"colwidth":null,"alignment":""},"content":[{"type":"paragraph","content":[{"text":"View repo","type":"text"}]}]},{"type":"td","attrs":{"colspan":1,"rowspan":1,"colwidth":null,"alignment":""},"content":[{"type":"paragraph","content":[{"text":"gh repo view","type":"text","marks":[{"type":"code_inline"}]}]}]},{"type":"td","attrs":{"colspan":1,"rowspan":1,"colwidth":null,"alignment":""},"content":[{"type":"paragraph","content":[{"text":"--web","type":"text","marks":[{"type":"code_inline"}]}]}]}]},{"type":"tr","content":[{"type":"td","attrs":{"colspan":1,"rowspan":1,"colwidth":null,"alignment":""},"content":[{"type":"paragraph","content":[{"text":"Create release","type":"text"}]}]},{"type":"td","attrs":{"colspan":1,"rowspan":1,"colwidth":null,"alignment":""},"content":[{"type":"paragraph","content":[{"text":"gh release create \u003ctag>","type":"text","marks":[{"type":"code_inline"}]}]}]},{"type":"td","attrs":{"colspan":1,"rowspan":1,"colwidth":null,"alignment":""},"content":[{"type":"paragraph","content":[{"text":"--title","type":"text","marks":[{"type":"code_inline"}]},{"text":", ","type":"text"},{"text":"--notes","type":"text","marks":[{"type":"code_inline"}]},{"text":", ","type":"text"},{"text":"--draft","type":"text","marks":[{"type":"code_inline"}]}]}]}]},{"type":"tr","content":[{"type":"td","attrs":{"colspan":1,"rowspan":1,"colwidth":null,"alignment":""},"content":[{"type":"paragraph","content":[{"text":"Verify release","type":"text"}]}]},{"type":"td","attrs":{"colspan":1,"rowspan":1,"colwidth":null,"alignment":""},"content":[{"type":"paragraph","content":[{"text":"gh release verify \u003ctag>","type":"text","marks":[{"type":"code_inline"}]}]}]},{"type":"td","attrs":{"colspan":1,"rowspan":1,"colwidth":null,"alignment":""},"content":[{"type":"paragraph","content":[{"text":"--repo","type":"text","marks":[{"type":"code_inline"}]}]}]}]},{"type":"tr","content":[{"type":"td","attrs":{"colspan":1,"rowspan":1,"colwidth":null,"alignment":""},"content":[{"type":"paragraph","content":[{"text":"Run workflow","type":"text"}]}]},{"type":"td","attrs":{"colspan":1,"rowspan":1,"colwidth":null,"alignment":""},"content":[{"type":"paragraph","content":[{"text":"gh workflow run \u003cname>","type":"text","marks":[{"type":"code_inline"}]}]}]},{"type":"td","attrs":{"colspan":1,"rowspan":1,"colwidth":null,"alignment":""},"content":[{"type":"paragraph","content":[{"text":"--ref","type":"text","marks":[{"type":"code_inline"}]},{"text":", ","type":"text"},{"text":"--field","type":"text","marks":[{"type":"code_inline"}]}]}]}]},{"type":"tr","content":[{"type":"td","attrs":{"colspan":1,"rowspan":1,"colwidth":null,"alignment":""},"content":[{"type":"paragraph","content":[{"text":"Watch run","type":"text"}]}]},{"type":"td","attrs":{"colspan":1,"rowspan":1,"colwidth":null,"alignment":""},"content":[{"type":"paragraph","content":[{"text":"gh run watch \u003cid>","type":"text","marks":[{"type":"code_inline"}]}]}]},{"type":"td","attrs":{"colspan":1,"rowspan":1,"colwidth":null,"alignment":""},"content":[{"type":"paragraph","content":[{"text":"--exit-status","type":"text","marks":[{"type":"code_inline"}]}]}]}]},{"type":"tr","content":[{"type":"td","attrs":{"colspan":1,"rowspan":1,"colwidth":null,"alignment":""},"content":[{"type":"paragraph","content":[{"text":"Search repos","type":"text"}]}]},{"type":"td","attrs":{"colspan":1,"rowspan":1,"colwidth":null,"alignment":""},"content":[{"type":"paragraph","content":[{"text":"gh search repos \u003cquery>","type":"text","marks":[{"type":"code_inline"}]}]}]},{"type":"td","attrs":{"colspan":1,"rowspan":1,"colwidth":null,"alignment":""},"content":[{"type":"paragraph","content":[{"text":"--language","type":"text","marks":[{"type":"code_inline"}]},{"text":", ","type":"text"},{"text":"--stars","type":"text","marks":[{"type":"code_inline"}]}]}]}]},{"type":"tr","content":[{"type":"td","attrs":{"colspan":1,"rowspan":1,"colwidth":null,"alignment":""},"content":[{"type":"paragraph","content":[{"text":"Create label","type":"text"}]}]},{"type":"td","attrs":{"colspan":1,"rowspan":1,"colwidth":null,"alignment":""},"content":[{"type":"paragraph","content":[{"text":"gh label create \u003cname>","type":"text","marks":[{"type":"code_inline"}]}]}]},{"type":"td","attrs":{"colspan":1,"rowspan":1,"colwidth":null,"alignment":""},"content":[{"type":"paragraph","content":[{"text":"--color","type":"text","marks":[{"type":"code_inline"}]},{"text":", ","type":"text"},{"text":"--description","type":"text","marks":[{"type":"code_inline"}]}]}]}]},{"type":"tr","content":[{"type":"td","attrs":{"colspan":1,"rowspan":1,"colwidth":null,"alignment":""},"content":[{"type":"paragraph","content":[{"text":"Create codespace","type":"text"}]}]},{"type":"td","attrs":{"colspan":1,"rowspan":1,"colwidth":null,"alignment":""},"content":[{"type":"paragraph","content":[{"text":"gh codespace create","type":"text","marks":[{"type":"code_inline"}]}]}]},{"type":"td","attrs":{"colspan":1,"rowspan":1,"colwidth":null,"alignment":""},"content":[{"type":"paragraph","content":[{"text":"--repo","type":"text","marks":[{"type":"code_inline"}]},{"text":", ","type":"text"},{"text":"--branch","type":"text","marks":[{"type":"code_inline"}]}]}]}]}]},{"type":"heading","attrs":{"level":2},"content":[{"text":"Additional Resources","type":"text"}]},{"type":"heading","attrs":{"level":3},"content":[{"text":"Reference Guides","type":"text"}]},{"type":"paragraph","content":[{"text":"For detailed patterns and advanced usage, see:","type":"text"}]},{"type":"bullet_list","content":[{"type":"list_item","content":[{"type":"paragraph","content":[{"text":"Workflows & Actions","type":"text","marks":[{"type":"link","attrs":{"href":"references/workflows-actions.md","title":null}},{"type":"strong"}]},{"text":" - GitHub Actions workflows, runs, cache management, and CI/CD integration patterns","type":"text"}]}]},{"type":"list_item","content":[{"type":"paragraph","content":[{"text":"Advanced Features","type":"text","marks":[{"type":"link","attrs":{"href":"references/advanced-features.md","title":null}},{"type":"strong"}]},{"text":" - Aliases, API access, extensions, secrets, SSH/GPG keys, organizations, projects, and advanced scripting","type":"text"}]}]},{"type":"list_item","content":[{"type":"paragraph","content":[{"text":"Automation Workflows","type":"text","marks":[{"type":"link","attrs":{"href":"references/automation-workflows.md","title":null}},{"type":"strong"}]},{"text":" - Common automation patterns, daily reports, release automation, and team collaboration workflows","type":"text"}]}]},{"type":"list_item","content":[{"type":"paragraph","content":[{"text":"Troubleshooting","type":"text","marks":[{"type":"link","attrs":{"href":"references/troubleshooting.md","title":null}},{"type":"strong"}]},{"text":" - Solutions for authentication, permissions, rate limiting, and common errors","type":"text"}]}]}]},{"type":"heading","attrs":{"level":3},"content":[{"text":"Example Scripts","type":"text"}]},{"type":"paragraph","content":[{"text":"Practical automation scripts (see ","type":"text"},{"text":"examples/","type":"text","marks":[{"type":"code_inline"}]},{"text":" directory):","type":"text"}]},{"type":"bullet_list","content":[{"type":"list_item","content":[{"type":"paragraph","content":[{"text":"auto-pr-create.sh","type":"text","marks":[{"type":"code_inline"}]},{"text":" - Automated PR creation workflow","type":"text"}]}]},{"type":"list_item","content":[{"type":"paragraph","content":[{"text":"issue-triage.sh","type":"text","marks":[{"type":"code_inline"}]},{"text":" - Bulk issue labeling and assignment","type":"text"}]}]},{"type":"list_item","content":[{"type":"paragraph","content":[{"text":"workflow-monitor.sh","type":"text","marks":[{"type":"code_inline"}]},{"text":" - Watch and notify on workflow completion","type":"text"}]}]},{"type":"list_item","content":[{"type":"paragraph","content":[{"text":"release-automation.sh","type":"text","marks":[{"type":"code_inline"}]},{"text":" - Complete release workflow automation","type":"text"}]}]}]},{"type":"heading","attrs":{"level":3},"content":[{"text":"External Documentation","type":"text"}]},{"type":"bullet_list","content":[{"type":"list_item","content":[{"type":"paragraph","content":[{"text":"Official Manual","type":"text","marks":[{"type":"strong"}]},{"text":": https://cli.github.com/manual","type":"text"}]}]},{"type":"list_item","content":[{"type":"paragraph","content":[{"text":"GitHub Community","type":"text","marks":[{"type":"strong"}]},{"text":": https://github.com/cli/cli/discussions","type":"text"}]}]},{"type":"list_item","content":[{"type":"paragraph","content":[{"text":"API Documentation","type":"text","marks":[{"type":"strong"}]},{"text":": https://docs.github.com/en/rest","type":"text"}]}]},{"type":"list_item","content":[{"type":"paragraph","content":[{"text":"Extension Marketplace","type":"text","marks":[{"type":"strong"}]},{"text":": https://github.com/topics/gh-extension","type":"text"}]}]}]},{"type":"heading","attrs":{"level":2},"content":[{"text":"JSON Output","type":"text"}]},{"type":"paragraph","content":[{"text":"When the user wants to use ","type":"text"},{"text":"--json","type":"text","marks":[{"type":"code_inline"}]},{"text":" flags or needs the correct gh CLI JSON field names, see ","type":"text"},{"text":"references/json-output.md","type":"text","marks":[{"type":"link","attrs":{"href":"references/json-output.md","title":null}}]},{"text":".","type":"text"}]},{"type":"heading","attrs":{"level":2},"content":[{"text":"Tips","type":"text"}]},{"type":"ordered_list","attrs":{"order":1,"listStyle":"number"},"content":[{"type":"list_item","content":[{"type":"paragraph","content":[{"text":"Use ","type":"text"},{"text":"--web","type":"text","marks":[{"type":"code_inline"}]},{"text":" flag to open items in browser for detailed view","type":"text"}]}]},{"type":"list_item","content":[{"type":"paragraph","content":[{"text":"Leverage interactive prompts by omitting parameters - most commands support interactive mode","type":"text"}]}]},{"type":"list_item","content":[{"type":"paragraph","content":[{"text":"Apply filters with ","type":"text"},{"text":"--author","type":"text","marks":[{"type":"code_inline"}]},{"text":", ","type":"text"},{"text":"--label","type":"text","marks":[{"type":"code_inline"}]},{"text":", ","type":"text"},{"text":"--state","type":"text","marks":[{"type":"code_inline"}]},{"text":" to narrow down lists efficiently","type":"text"}]}]},{"type":"list_item","content":[{"type":"paragraph","content":[{"text":"Add ","type":"text"},{"text":"--json","type":"text","marks":[{"type":"code_inline"}]},{"text":" flag to enable scriptable output for automation","type":"text"}]}]},{"type":"list_item","content":[{"type":"paragraph","content":[{"text":"Always check ","type":"text","marks":[{"type":"strong"}]},{"text":"--help","type":"text","marks":[{"type":"code_inline"},{"type":"strong"}]},{"text":" for valid JSON field names","type":"text","marks":[{"type":"strong"}]},{"text":" - they differ from GitHub API","type":"text"}]}]},{"type":"list_item","content":[{"type":"paragraph","content":[{"text":"Use ","type":"text"},{"text":"gh repo create --template","type":"text","marks":[{"type":"code_inline"}]},{"text":" to scaffold from template repositories","type":"text"}]}]},{"type":"list_item","content":[{"type":"paragraph","content":[{"text":"Enable auto-merge with ","type":"text"},{"text":"gh pr merge --auto","type":"text","marks":[{"type":"code_inline"}]},{"text":" for PRs that pass checks","type":"text"}]}]}]},{"type":"hr","attrs":{"markup":"---"}}]},"metadata":{"date":"2026-06-05","name":"cli-gh","author":"@skillopedia","source":{"stars":62,"repo_name":"agent-skills","origin_url":"https://github.com/paulrberg/agent-skills/blob/HEAD/skills/cli-gh/SKILL.md","repo_owner":"paulrberg","body_sha256":"febb8cadd1bf3c178ef68a8e150b03075eb416b80a94fe22c0822a1be50c059b","cluster_key":"9b81963f860bf52ec062ebb423a9455f5e2b6b2caf50b1a6cbacaa1bf539a152","clean_bundle":{"format":"clean-skill-bundle-v1","source":"paulrberg/agent-skills/skills/cli-gh/SKILL.md","attachments":[{"id":"e4d19e96-c708-598b-8967-5d7d366986c7","key":"uploads/10433ee7-ad12-4ae0-b34e-97553e46c6c8/e4d19e96-c708-598b-8967-5d7d366986c7/attachment.sh","path":"examples/auto-pr-create.sh","size":2406,"sha256":"c069f94d45165d5068811783ee1cdc0e4c217523dec067f0f9616236961ebd43","contentType":"application/x-sh; charset=utf-8"},{"id":"daf9dde9-6518-54f3-9f81-3f3fb8c18a52","key":"uploads/10433ee7-ad12-4ae0-b34e-97553e46c6c8/daf9dde9-6518-54f3-9f81-3f3fb8c18a52/attachment.sh","path":"examples/issue-triage.sh","size":5380,"sha256":"33f2d5c9ddc6f239481569d4145919c78176b1c1b6702c34458aa9c02b0cbfeb","contentType":"application/x-sh; charset=utf-8"},{"id":"3a08d021-e4c4-53a4-900c-807c30ce351f","key":"uploads/10433ee7-ad12-4ae0-b34e-97553e46c6c8/3a08d021-e4c4-53a4-900c-807c30ce351f/attachment.sh","path":"examples/release-automation.sh","size":5937,"sha256":"87eeeb13ea911fc365b3721918fa90ec1303f0d399e987c2492dba86d216bc31","contentType":"application/x-sh; charset=utf-8"},{"id":"00304432-969a-56bb-aeb2-ba464d7e2cf0","key":"uploads/10433ee7-ad12-4ae0-b34e-97553e46c6c8/00304432-969a-56bb-aeb2-ba464d7e2cf0/attachment.sh","path":"examples/workflow-monitor.sh","size":5513,"sha256":"a7c84e28e7e5a385c8818c451685dbac76fbebff8a32a14142795aa132160e04","contentType":"application/x-sh; charset=utf-8"},{"id":"640b5d25-ba47-5417-92a5-d30b95d456c6","key":"uploads/10433ee7-ad12-4ae0-b34e-97553e46c6c8/640b5d25-ba47-5417-92a5-d30b95d456c6/attachment.md","path":"references/advanced-features.md","size":2947,"sha256":"2e62de5807909fc71f824f8585e68b7d88c08e799a9f2cccd7ea63245d69b1a3","contentType":"text/markdown; charset=utf-8"},{"id":"191ecc58-e211-5505-9016-a2b2253b6696","key":"uploads/10433ee7-ad12-4ae0-b34e-97553e46c6c8/191ecc58-e211-5505-9016-a2b2253b6696/attachment.md","path":"references/automation-workflows.md","size":5327,"sha256":"4b4062250bf3992f0c7c8eae0626fc2f35b30af1fafd8a2974d06c4333e26eab","contentType":"text/markdown; charset=utf-8"},{"id":"8f73b125-4f3a-5724-8ac3-20862ca3cb22","key":"uploads/10433ee7-ad12-4ae0-b34e-97553e46c6c8/8f73b125-4f3a-5724-8ac3-20862ca3cb22/attachment.md","path":"references/codespaces.md","size":696,"sha256":"6ff1c4cb088d09e78d73075e749f387ef1fb00e74759fc56b55fa18c84ebe1ed","contentType":"text/markdown; charset=utf-8"},{"id":"d5300734-9ad8-52ca-b4ec-bf39da30f4e2","key":"uploads/10433ee7-ad12-4ae0-b34e-97553e46c6c8/d5300734-9ad8-52ca-b4ec-bf39da30f4e2/attachment.md","path":"references/gists.md","size":304,"sha256":"e4110b7ee3481dd35fd60af1e74e3f4e02c4af67c11bcf125a779a5061887428","contentType":"text/markdown; charset=utf-8"},{"id":"650679a0-9ba6-5e27-ab41-51d7368322ee","key":"uploads/10433ee7-ad12-4ae0-b34e-97553e46c6c8/650679a0-9ba6-5e27-ab41-51d7368322ee/attachment.md","path":"references/json-output.md","size":925,"sha256":"5568fcd3745af2fbd6fd58a387bd00a7790d9db78fa810ad380af1b12349754a","contentType":"text/markdown; charset=utf-8"},{"id":"416c3c51-c98f-5e7a-a415-5aadce60342a","key":"uploads/10433ee7-ad12-4ae0-b34e-97553e46c6c8/416c3c51-c98f-5e7a-a415-5aadce60342a/attachment.md","path":"references/labels.md","size":629,"sha256":"719addc835706a46831e7f9f12a208f098a57e152aab6511c5782065186ba736","contentType":"text/markdown; charset=utf-8"},{"id":"ca7c06fd-db94-5710-a3d0-4fcc3be0d292","key":"uploads/10433ee7-ad12-4ae0-b34e-97553e46c6c8/ca7c06fd-db94-5710-a3d0-4fcc3be0d292/attachment.md","path":"references/releases.md","size":643,"sha256":"af550f6ed184e4913959c57d0043c7a73f2ed2958476fe3021073023175b4991","contentType":"text/markdown; charset=utf-8"},{"id":"7a17619c-741d-5af6-8a4f-a0c450e97e02","key":"uploads/10433ee7-ad12-4ae0-b34e-97553e46c6c8/7a17619c-741d-5af6-8a4f-a0c450e97e02/attachment.md","path":"references/search.md","size":807,"sha256":"453d2be8b7149f8520c18d13f73e2b333874bd8394b4aeba16db037d0375a886","contentType":"text/markdown; charset=utf-8"},{"id":"63a30bf3-f862-5021-b481-43716b342991","key":"uploads/10433ee7-ad12-4ae0-b34e-97553e46c6c8/63a30bf3-f862-5021-b481-43716b342991/attachment.md","path":"references/troubleshooting.md","size":8889,"sha256":"075b17eb72a2c74a282a9d6e7aff339648b68c3a9ed95dcbe17a334681be878c","contentType":"text/markdown; charset=utf-8"},{"id":"09fd01df-41da-5191-adf3-42116ce604ef","key":"uploads/10433ee7-ad12-4ae0-b34e-97553e46c6c8/09fd01df-41da-5191-adf3-42116ce604ef/attachment.md","path":"references/workflows-actions.md","size":7784,"sha256":"022b41718a8c8eba3cd934d56f953ce34ffabd890e3fc774ff50728530e410aa","contentType":"text/markdown; charset=utf-8"}],"bundle_sha256":"54076b8899951648cce64931c47131d85390f58bfbab92f25cc30afa19648424","attachment_count":14,"text_attachments":14,"attachment_storage":"skillopedia-attachments-v1","binary_attachments":0,"excluded_attachments":[]},"cluster_size":1,"skill_md_path":"skills/cli-gh/SKILL.md","import_metadata":{"date":"2026-06-05","author":"@skillopedia","version":"v1","category":"browser-automation-scraping","category_label":"Browser"},"exact_dupes_collapsed_into_this":0},"version":"v1","category":"browser-automation-scraping","import_tag":"clean-skills-v1","description":"This skill should be used when the user mentions \"gh CLI\", \"gh command\", asks to \"view repository info\", \"trigger workflows\", \"search GitHub\", \"manage codespaces\", \"check PR status\", \"list issues\", \"browse repo\", or asks about GitHub CLI usage and automation from the command line.","user-invocable":false,"disable-model-invocation":false}},"renderedAt":1782979478664}

GitHub CLI (gh) Overview Expert guidance for GitHub CLI (gh) operations and workflows. Use this skill for command-line GitHub operations including pull request management, issue tracking, repository operations, workflow automation, and codespace management. Key capabilities: - Create and manage pull requests from the terminal - Track and organize issues efficiently - Search across all of GitHub (repos, issues, PRs) - Manage labels and project organization - Trigger and monitor GitHub Actions workflows - Work with codespaces - Automate repository operations and releases - Browse repositories,…