Install any skill in seconds. Free to start, no credit card required.
Get Started Free →List GitHub repository labels with per_page pagination support.
.claude/skills/github-github-labels-query/SKILL.md| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-07 | ✗→✓ | ▲ Improved | 22% | 0% |
| case-08 | ✗→✓ | ▲ Improved | -49% | 0% |
| case-10 | ✗→✓ | ▲ Improved | -13% | 0% |
| case-13 | ✗→✓ | ▲ Improved | -60% | 0% |
| case-14 | ✗→✓ | ▲ Improved | -32% | 0% |
List GitHub repository labels with efficient pagination using the --per-page flag.
Use this script to list labels from any repository with controlled page sizes.
bash./query-labels.sh --owner github --repo gh-aw # Returns 10 labels (default per_page=10)
bash# 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
bash# Only labels whose name contains "bug" (case-insensitive) ./query-labels.sh --owner github --repo gh-aw --name-filter bug
When --name-filter is set, all labels are fetched and filtered, then --per-page/--page are applied to the filtered results.
| Parameter | Required | Default | Description | |-----------|----------|---------|-------------| | --owner | Yes | - | Repository owner (username or organization) | | --repo | Yes | - | Repository name | | --per-page | No | 10 | Results per page (1–100) | | --page | No | 1 | Page number | | --name-filter | No | - | Case-insensitive substring filter on the label name |
Returns JSON with the following fields:
json{ "labels": [ { "id": 12345, "node_id": "LA_...", "url": "https://api.github.com/repos/owner/repo/labels/bug", "name": "bug", "color": "d73a4a", "default": true, "description": "Something isn't working" } ], "item_count": 10, "per_page": 10, "page": 1 }
Calls the GitHub REST API: GET /repos/{owner}/{repo}/labels?per_page={n}&page={n}
When --name-filter is used, the script pages through all labels (--paginate) before filtering and slicing locally.
| Case | Status | Duration (ms) | Turns | Tokens | Tool calls | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Without | With | Δ | Without | With | Δ | Without | With | Δ | Without | With | Δ | ||
case-01 | fail→fail | 21,900 | 5,202 | -76% | 1 | 1 | 0% | 3,051 | 858 | -72% | 0 | 0 | — |
case-02 | fail→fail | 7,333 | 5,343 | -27% | 1 | 1 | 0% | 1,412 | 849 | -40% | 0 | 0 | — |
case-03 | fail→fail | 21,332 | 4,755 | -78% | 1 | 1 | 0% | 5,443 | 842 | -85% | 0 | 0 | — |
case-04 | pass→pass | 11,047 | 15,923 | +44% | 1 | 1 | 0% | 1,018 | 2,469 | +143% | 0 | 0 | — |
case-05 | pass→fail | 4,884 | 7,838 | +60% | 1 | 1 | 0% | 905 | 1,346 | +49% | 0 | 0 | — |
case-06 | fail→fail | 6,768 | 8,234 | +22% | 1 | 1 | 0% | 1,212 | 1,273 | +5% | 0 | 0 | — |
case-07 | fail→pass | 3,404 | 1,504 | -56% | 1 | 1 | 0% | 686 | 838 | +22% | 0 | 0 | — |
case-12 | pass→pass | 4,167 | 1,570 | -62% | 1 | 1 | 0% | 678 | 773 | +14% | 0 | 0 | — |
case-08 | fail→pass | 10,808 | 1,357 | -87% | 1 | 1 | 0% | 1,448 | 734 | -49% | 0 | 0 | — |
case-09 | fail→fail | 5,546 | 7,859 | +42% | 1 | 1 | 0% | 1,086 | 1,319 | +21% | 0 | 0 | — |
case-10 | fail→pass | 9,540 | 5,183 | -46% | 1 | 1 | 0% | 2,036 | 1,762 | -13% | 0 | 0 | — |
case-11 | pass→pass | 7,552 | 2,655 | -65% | 1 | 1 | 0% | 1,627 | 1,095 | -33% | 0 | 0 | — |
case-13 | fail→pass | 13,615 | 2,944 | -78% | 1 | 1 | 0% | 2,394 | 964 | -60% | 0 | 0 | — |
case-14 | fail→pass | 7,761 | 1,667 | -79% | 1 | 1 | 0% | 1,258 | 860 | -32% | 0 | 0 | — |
case-15 | pass→pass | 7,634 | 1,421 | -81% | 1 | 1 | 0% | 1,321 | 777 | -41% | 0 | 0 | — |
case-16 | fail→pass | 6,957 | 1,584 | -77% | 1 | 1 | 0% | 1,188 | 796 | -33% | 0 | 0 | — |
case-17 | pass→pass | 11,396 | 1,454 | -87% | 1 | 1 | 0% | 1,951 | 746 | -62% | 0 | 0 | — |
case-18 | pass→pass | 3,386 | 1,332 | -61% | 1 | 1 | 0% | 511 | 717 | +40% | 0 | 0 | — |
case-19 | fail→pass | 2,558 | 1,667 | -35% | 1 | 1 | 0% | 428 | 800 | +87% | 0 | 0 | — |
case-20 | fail→pass | 9,704 | 1,613 | -83% | 1 | 1 | 0% | 1,695 | 745 | -56% | 0 | 0 | — |
case-21 | fail→pass | 4,900 | 925 | -81% | 1 | 1 | 0% | 789 | 658 | -17% | 0 | 0 | — |
case-22 | pass→pass | 5,963 | 1,601 | -73% | 1 | 1 | 0% | 1,180 | 783 | -34% | 0 | 0 | — |
DecimalAI ran this skill against gemini-3.6-flash twice over the same eval suite — once with the skill loaded and once without — and compared the two runs case by case. 22 cases were attempted, and 16 counted toward the lift figure. The other 6 produced results that are not comparable between the two arms, so they are excluded from the headline rather than averaged into it. The headline lift of +36 percentage points is the difference between those two pass rates over the 16 comparable cases. 3 cases got worse with the skill loaded, and they are included in that figure.
Without the skill loaded, the model failed this case. With it loaded, the same prompt on the same model passed. This is one improved case from the latest verified run; every case, including any that regressed, is in the table above.
| Model | Method | Date | Lift |
|---|---|---|---|
| gemini-3.6-flash | verified | 8/9/2026 | +57% |
Other measured skills in the registry, with their headline benchmark lift.