Github cli

From composio-community/awesome-agent-clis · View interactive version

Github cli is an AI agent skill from the GitHub repository composio-community/awesome-agent-clis. Manage GitHub issues, PRs, repos, actions, and code search from the terminal. Use when an agent needs to create issues, open pull requests, manage releases, or search code on GitHub.

How to use this skill

Skill file

GitHub CLI (gh)

Issues, PRs, repos, actions, and code search from the terminal.

Installation

brew install gh
gh auth login

Key Commands

gh issue list --json number,title,state
gh issue create --title "Bug" --body "Description"
gh pr list --json number,title,headRefName
gh pr create --title "Feature" --body "Description"
gh pr merge <number> --squash
gh repo clone owner/repo
gh repo create my-repo --public
gh run list --json status,name,conclusion
gh api repos/owner/repo/releases --jq '.[0].tag_name'
gh search code "function_name" --json path,repository

Agent-Friendly Features

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.