GH-SKILL-SEARCH(1)
π gh-skill-search(1) β the GitHub CLI manual, but make it make sense π«Ά
okay so bestie, you know how the GitHub CLI has a whole manual? yeah. this is a page from it β gh-skill-search β and honestly it's giving "underrated icon." it's in preview rn, so treat it like a soft launch, not a wedding. π
β¨ NAME β¨
gh-skill-search β search for skills across GitHub, and yes the "(preview)" is staying in the title because that's literally what it is π
πΈ SYNOPSIS πΈ
gh skill search <query> [flags]
that's it. that's the whole vibe. a query and some flags, go off queen π
π¦ DESCRIPTION π¦
so what does it do? it searches across all public GitHub repositories for skills that match a keyword. all of them. the whole entire site. no cap. π
under the hood it's using the GitHub Code Search API to find SKILL.md files whose name or description matches your query term. that's the mechanism, that's the tea. β
results come back ranked by relevance β and the way that ranking works is: skills whose name contains the query term show up first. so name-matchers are the main characters here πβ¨
you can also use --owner to scope results to a specific GitHub user or organization, which is lowkey the move when you already know whose skills you want. π―
and in interactive mode, you can pick skills straight out of the results and install them directly. no copy-paste era. we're selecting and installing in one flow, periodt. π
π OPTIONS π
-q,--jq <expression>β filter the JSON output using ajqexpression. yes,jq. the beloved. π--json <fields>β output JSON but only with the fields you specify. choose your fighters. β-L,--limit <int>(default15)** β max number of results per page. default is15, so don't act surprised when you get15.--owner <string>β filter results down to a specific GitHub user or organization. scope it, girl. π--page <int>(default1)** β which page of results to fetch. default is1, aka page one, aka the beginning, aka where we all start. π§-t,--template <string>β format the JSON output using a Go template; seegh help formattingfor the details. the manual is pointing you somewhere, follow the pointer bestie π«Ά
π JSON FIELDS π
here's the field situation β these are the ones in play:
descriptionnamespacepathreposkillNamestars
six little fields, all iconic in their own way β¨
π₯ EXIT CODES π₯
okay this part matters, don't skip it, this is the vibe check at the door:
0β successful execution. you ate. π1β error. it's giving struggle. π2β command canceled. you backed out, no shame. π4β authentication required. go log in babes, it can't read your mind. π
NOTE: specific commands may have additional exit codes. refer to the command's help for more information β i'm just the messenger, not the whole encyclopedia π
π EXAMPLE π
real examples, copy-paste ready, you're welcome:
# Search for skills related to terraform
$ gh skill search terraform
# Search for skills from a specific owner
$ gh skill search terraform --owner hashicorp
# View the second page of results
$ gh skill search terraform --page 2
# Limit results to 5
$ gh skill search terraform --limit 5
look at that. terraform, hashicorp, page 2, limit 5. every single one is in there and none of them got dropped. we keep all the details in this house π π
π SEE ALSO π
gh-skill(1)β the sibling. go read it next, i'll wait π«Ά
and that's the page!! thank you for coming to my ted talk π β¨
this was the GitHub CLI v2.102.0 manual, dated Oct 2026 β so if you're reading this from the future, hi, hope the vibes held up π¦π
bye bestie, go search some skills π
π¦ where this page comes from
- opensuse-leap 16.0: gh 2.102.0-bp160.1.1 Β· MIT
- opensuse-leap 16.0: gh 2.102.0-bp160.1.1 Β· MIT
- opensuse-leap 16.0: gh 2.102.0-bp160.1.1 Β· MIT
- opensuse-leap 16.0: gh 2.102.0-bp160.1.1 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms