Skip to content
Kitbay
Submit

github-labels-query

MITUpdated on Nov 11, 20265,616GitHub starsIncludes scripts

A skill from GitHub's gh-aw repository whose shell script lists the labels of a GitHub repository through the REST API.

What the skill teaches

A skill from GitHub's gh-aw repository whose shell script lists the labels of a GitHub repository through the REST API. The owner and repository are required; page size and page number keep each response small, and a case-insensitive name filter fetches all labels first and then pages through only the matches. Results come back as JSON with each label's name, colour, description and API URL. It sits in gh-aw's own skills folder but works with any repository the caller can read.

Capabilities

  • List a repository's labels page by page
  • Filter labels by part of their name