🏷️
AutomationGo

Labels Query

by github

Labels Query is an Automation skill for Claude Code, published by github in gh-aw.

4.9K stars495 forkson github/gh-awAdded 2026/08/16Repository updated 2026/08/16
actionscaiciclaude-codecodexcopilotgh-extensiongithub-actions
Install in seconds
Install Labels Query
Copy Labels Query into your Claude Code skills folder. Run the command in your terminal, or review the source on GitHub before installing.
terminal
npx degit https://github.com/github/gh-aw/tree/main/.github/skills/github-labels-query ~/.claude/skills/github-labels-query

Requires Node.js. Downloads this skill only — not the rest of the repository — into your Claude Code skills folder.

Without Node.js

git clone https://github.com/github/gh-aw.git

Clones the whole repository, then copy the skill’s own directory into your skills folder yourself.

In this catalog

Source file
.github/skills/github-labels-query/SKILL.md in github/gh-aw
Installs to
~/.claude/skills/github-labels-query
Collection
One of 25 skills cataloged from this repository
Category
Automation1523 skills

What Labels Query does

Labels Query lists GitHub repository labels with per_page pagination and name filtering support. Use it to query labels from any GitHub repository with controlled page sizes and case-insensitive name filtering.

Labels Query is cataloged under Automation on DirSkills. Labels Query comes from a repository tagged actions, cai, ci, claude-code and codex.

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.

Frequently asked about Labels Query

  • What else does github publish alongside Labels Query?

    Labels Query is one of 25 skills that DirSkills catalogs from github/gh-aw, the repository it ships in. Its siblings there include AWF Release Integrator, Agent Session CLI and Agent Task CLI. Each one is a separate skill with its own page in this directory, installs the same way Labels Query does, and is maintained by github in that same repository. The rest of the collection is listed on the github/gh-aw page.

  • How does Labels Query compare to other Automation skills?

    Labels Query ranks #296 by stars among the 1523 Automation skills in this catalog. The most-starred ones next to it are Autonomous Loops, Autonomous Agent Harness and Automation Audit Ops. DirSkills ranks by the star count of the repository each skill ships in, so that order reflects how popular those repositories are rather than any review of Labels Query against them. Open each page to compare what they document and how they install.

More from github/gh-aw

Labels Query is one of 25 skills cataloged on DirSkills from github/gh-aw.

See all 25 skills
🔄
2w ago

AWF Release Integrator

AWF Release Integrator upgrades gh-aw to the latest gh-aw-firewall release, bumps version constants, rebuilds generated artifacts, and reviews upstream spec changes to identify follow-up tasks.
DevOps
4.9K495
🤖
2w ago

Agent Session CLI

Agent Session CLI uses the gh agent-session command to inspect and manage GitHub Copilot coding agent sessions, including creating tasks from natural language instructions, listing, viewing, and updating them.
AI Engineering
4.9K495
🤖
2w ago

Agent Task CLI

Agent Task CLI creates GitHub Copilot coding agent tasks from the command line, using natural language instructions that trigger automated code changes and pull requests. Use it to delegate coding work, list and view tasks, and integrate with GitHub Agentic Workflows.
AI Engineering
4.9K495
🤖
2w ago

Agentic Workflows

Agentic Workflows compiles Markdown-defined AI agent jobs into GitHub Actions, so developers can define AI-powered repository automation and run AI agents securely through GitHub Actions for reasoning tasks.
DevOps
4.9K495
🔀
2w ago

Agentic Workflows Router

Agentic Workflows Router dispatches user requests to design, create, update, debug, or upgrade GitHub Agentic Workflows to the correct internal prompt or skill file. Use it when working on agentic workflows in a repository, and follow the matched instructions directly.
AI Engineering
4.9K495
🔍
2w ago

Checkout Credential Review

Checkout Credential Review helps review code that performs git or gh operations against repository checkouts, ensuring the right credentials are available at the right time and that sparseness, shallowness, and credential-free factors are considered.
Quality
4.9K495