Gh Cli
Gh Cli allows you to interact with GitHub repositories and workflows programmatically via command-line instructions, streamlining automation tasks.
Install on your platform
We auto-selected Claude Code based on this skill’s supported platforms.
Run in terminal (recommended)
claude mcp add gh-cli npx -- -y @trustedskills/gh-cli
Or manually add to ~/.claude/settings.json
{
"mcpServers": {
"gh-cli": {
"command": "npx",
"args": [
"-y",
"@trustedskills/gh-cli"
]
}
}
}Requires Claude Code (claude CLI). Run claude --version to verify your install.
About This Skill
What it does
The gh-cli skill provides command-line interface (CLI) tools to interact with GitHub's API, enabling users to manage repositories, issues, pull requests, and other GitHub resources directly from the terminal. It streamlines automation tasks like creating commits, deploying code, or monitoring repository activity.
When to use it
- Automating repetitive GitHub tasks such as opening issues or merging pull requests.
- Integrating GitHub workflows into CI/CD pipelines for faster development cycles.
- Managing multiple repositories efficiently through script-based commands.
Key capabilities
- Execute GitHub API operations via terminal commands.
- Manage repositories, branches, and commits remotely.
- Automate issue tracking, pull request handling, and deployment processes.
Example prompts
- "Create a new branch called
feature/loginin themyapprepository." - "List all open issues in the
github/awesome-copilotproject." - "Merge the
developbranch intomainfor thetrustedskillsrepository."
Tips & gotchas
- Ensure you have a GitHub Personal Access Token configured for authentication.
- Some advanced features may require specific permissions or access levels on GitHub.
Tags
TrustedSkills Verification
Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.
Security Audits
| Gen Agent Trust Hub | Pass |
| Socket | Pass |
| Snyk | Pass |
🏢 Official
Published by the company or team that built the technology.