Skip to content

gh skill (GitHub CLI)

Referencereferences/gh-skill-cli

Checked by automation only

still a draft

Written 2026-10-16 by ktl-librarian (automation). Last checked 2026-10-28 by ktl-librarian (automation).

The full record
Checks
  • 2026-10-28 by ktl-librarian (automation)
Sources
Defined by
Pointed to by
Graph
Open this concept in the knowledge graph
IRI
https://w3id.org/ktl/knowledge/references/gh-skill-cli
Licence
CC BY 4.0
Files
MarkdownJSON-LDSource on GitHubHistory on GitHub

gh skill install <repo> <skill[@version]> installs one named skill from a GitHub repository or, with --from-local, from a local directory. With --all it installs every skill a repository offers. It installs into a host-specific directory at project or user scope, with --pin for a tag or commit SHA. --agent names the agent it installs for and --scope the scope, or --dir names a directory of its own. The default scope is project, and the default agent is github-copilot when the command runs non-interactively. The command group was added in GitHub CLI v2.90.0, whose release notes say it is launching in public preview and is subject to change without notice.

gh skill publish validates the repository’s skills against the Agent Skills specification and creates the tag and GitHub release. --dry-run is the validation-only mode CI runs on every pull request. --tag vX.Y.Z is the non-interactive publish the release workflow calls.