Documentation
README
GitHub Labels Query Skill
List GitHub repository labels with efficient pagination using the --per-page flag.
Usage
Use this script to list labels from any repository with controlled page sizes.
Basic Usage
./query-labels.sh --owner github --repo gh-aw
# Returns 10 labels (default per_page=10)
Pagination
# Get the first label only
./query-labels.sh --owner github --repo gh-aw --per-page 1
# Get 25 labels starting from page 2
./query-labels.sh --owner github --repo gh-aw --per-page 25 --page 2
Filtering by name
# Only labels whose name contains "bug" (case-insensitive)
./query-labels.sh --owner github --repo gh-aw --name-filter bug
This is the opening of the README. Read the full README on GitHub.