gh-skill
A skill in the GitHub CLI repository that teaches an agent to manage its own Agent Skills with the gh skill command.
What the skill teaches
A skill in the GitHub CLI repository that teaches an agent to manage its own Agent Skills with the gh skill command. The agent can search for skills by text or owner with JSON output, preview a skill's SKILL.md before installing, and install it for its own host, such as GitHub Copilot, Claude Code, Cursor, Codex or Gemini CLI, at project or user scope and pinned to a tag, branch or commit. It can update one or all installed skills and publish a repository as a skill source, validating with a dry run, removing install-added metadata and creating a tagged GitHub release. It lists the folder layouts and frontmatter that publishing expects.
Capabilities
- Search GitHub for agent skills
- Preview a skill before installing
- Install and pin a skill for a given agent
- Publish a repository as a skill source
About
- Publisher
- GitHub CLI
- Tool
- GitHub
Works with
Install
- Run this to add it to Any client:
gh skill install <owner>/<repo> <skill-name> --agent <host> --pin <ref>
MCP servers and skills can run code on your computer and act on your data. Review the source before installing.
Details
| Fact | Value | Source |
|---|---|---|
| Type | Skill | |
| Tool | GitHub | |
| Publisher | GitHub CLI | source |
| Official status | Not stated in its documentation | |
| Needs an API key or sign-in | Not stated in its documentation | |
| Includes scripts | No | source |
| Platforms | Not stated in its documentation | |
| AI clients | Claude Code, Cursor, Codex, Gemini CLI | source |
| Licence | MIT | source |
| Pricing | Not stated in its documentation | |
| Activity | Last commit Nov 10, 202646,962 GitHub starsDownload data not available (not on npm or PyPI) | source |
| Links | Repository Website |
Sources
- Skill file (SKILL.md)github.com/cli/cli · Backs: AI clientsNov 10, 2026
- GitHub repositorygithub.com/cli/cli · Backs: Publisher, Activity, LicenceNov 11, 2026
- GitHub API recordgithub.com/cli/cli · Backs: Includes scriptsNov 17, 2026
- Folder in the repository (gh-skill)github.com/cli/cli · Backs: Includes scriptsNov 10, 2026