GH-SKILL-SEARCH(1) GitHub CLI manual GH-SKILL-SEARCH(1)

# [NAME](#NAME)

gh-skill-search - Search for skills across GitHub (preview)

# [SYNOPSIS](#SYNOPSIS)

**gh skill search &lt;query&gt; \[flags]**

# [DESCRIPTION](#DESCRIPTION)

Search across all public GitHub repositories for skills matching a keyword.

Uses the GitHub Code Search API to find **SKILL.md** files whose name or description matches the query term.

Results are ranked by relevance: skills whose name contains the query term appear first.

Use **--owner** to scope results to a specific GitHub user or organization.

In interactive mode, you can select skills from the results to install directly.

# [OPTIONS](#OPTIONS)

[**-q**, **--jq** **&lt;expression&gt;**](#q)

Filter JSON output using a jq expression

[**--json** **&lt;fields&gt;**](#json)

Output JSON with the specified fields

[**-L**, **--limit** **&lt;int&gt; (default 15)**](#L)

Maximum number of results per page

[**--owner** **&lt;string&gt;**](#owner)

Filter results to a specific GitHub user or organization

[**--page** **&lt;int&gt; (default 1)**](#page)

Page number of results to fetch

[**-t**, **--template** **&lt;string&gt;**](#t)

Format JSON output using a Go template; see "gh help formatting"

# [JSON FIELDS](#JSON_FIELDS)

**description**, **namespace**, **path**, **repo**, **skillName**, **stars**

# [EXIT CODES](#EXIT_CODES)

0: Successful execution

1: Error

2: Command canceled

4: Authentication required

NOTE: Specific commands may have additional exit codes. Refer to the command's help for more information.

# [EXAMPLE](#EXAMPLE)

```
# 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
```

# [SEE ALSO](#SEE_ALSO)

[**gh-skill(1)**](/man/os/gh/gh-skill.1)

Sep 2026

---

Document: gh-skill-search(1) from gh 2.102.0-r0 (Chainguard OS)
Source: https://github.com/cli/cli
